https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63244
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-valid-code Priority|P3 |P1 Summary|[4.9 regression] internal |[4.9/5 regression] internal |compiler error: |compiler error: |Segmentation fault (program |Segmentation fault (program |cc1plus) |cc1plus) --- Comment #14 from Markus Trippelsdorf <trippels at gcc dot gnu.org> --- This also happens when building the Linux kernel on ppc64 with 5.0: trippels@gcc2-power8 linux-3.17.2 % gcc -c -O2 sock.i gcc: internal compiler error: Segmentation fault (program cc1) 0x1000f7bb execute ../../gcc/gcc/gcc.c:2908 0x1000fd03 do_spec_1 ../../gcc/gcc/gcc.c:4724 0x10012807 process_brace_body ../../gcc/gcc/gcc.c:6007 0x10012807 handle_braces ../../gcc/gcc/gcc.c:5921 0x1001090f do_spec_1 ../../gcc/gcc/gcc.c:5378 0x10012807 process_brace_body ../../gcc/gcc/gcc.c:6007 0x10012807 handle_braces ../../gcc/gcc/gcc.c:5921 0x1001090f do_spec_1 ../../gcc/gcc/gcc.c:5378 0x1000ffb7 do_spec_1 ../../gcc/gcc/gcc.c:5493 0x10012807 process_brace_body ../../gcc/gcc/gcc.c:6007 0x10012807 handle_braces ../../gcc/gcc/gcc.c:5921 0x1001090f do_spec_1 ../../gcc/gcc/gcc.c:5378 0x10012807 process_brace_body ../../gcc/gcc/gcc.c:6007 0x10012807 handle_braces ../../gcc/gcc/gcc.c:5921 0x1001090f do_spec_1 ../../gcc/gcc/gcc.c:5378 0x10012807 process_brace_body ../../gcc/gcc/gcc.c:6007 0x10012807 handle_braces ../../gcc/gcc/gcc.c:5921 0x1001090f do_spec_1 ../../gcc/gcc/gcc.c:5378 0x10012807 process_brace_body ../../gcc/gcc/gcc.c:6007 0x10012807 handle_braces ../../gcc/gcc/gcc.c:5921 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. dmesg shows: [Nov 7 13:23] cc1[65025]: bad frame in setup_rt_frame: 00003fffebfbf770 nip 0000000010461268 lr 0000000010465c80 Looks like a stack overflow. Adjusting importance.