[Bug middle-end/63244] [4.9/5 regression] internal compiler error: Segmentation fault (program cc1plus)

trippels at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Nov 7 13:39:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63244

--- Comment #15 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
On x86_64:

markus@x4 /tmp % cat sock.i
struct sock
{
  int sk_userlocks : 4;
} a;
const struct sock b;
void
fn1 ()
{
  a.sk_userlocks = b.sk_userlocks & 1;
}

markus@x4 /tmp % gcc -O2 -c sock.i
gcc: internal compiler error: Segmentation fault (program cc1)
0x40c043 execute
        ../../gcc/gcc/gcc.c:2908
0x40c2f9 do_spec_1
        ../../gcc/gcc/gcc.c:4724
0x40ef96 process_brace_body
        ../../gcc/gcc/gcc.c:6007
0x40ef96 handle_braces
        ../../gcc/gcc/gcc.c:5921
0x40d0e7 do_spec_1
        ../../gcc/gcc/gcc.c:5378
0x40ef96 process_brace_body
        ../../gcc/gcc/gcc.c:6007
0x40ef96 handle_braces
        ../../gcc/gcc/gcc.c:5921
0x40d0e7 do_spec_1
        ../../gcc/gcc/gcc.c:5378
0x40cfee do_spec_1
        ../../gcc/gcc/gcc.c:5493
0x40ef96 process_brace_body
        ../../gcc/gcc/gcc.c:6007
0x40ef96 handle_braces
        ../../gcc/gcc/gcc.c:5921
0x40d0e7 do_spec_1
        ../../gcc/gcc/gcc.c:5378
0x40ef96 process_brace_body
        ../../gcc/gcc/gcc.c:6007
0x40ef96 handle_braces
        ../../gcc/gcc/gcc.c:5921
0x40d0e7 do_spec_1
        ../../gcc/gcc/gcc.c:5378
0x40ef96 process_brace_body
        ../../gcc/gcc/gcc.c:6007
0x40ef96 handle_braces
        ../../gcc/gcc/gcc.c:5921
0x40d0e7 do_spec_1
        ../../gcc/gcc/gcc.c:5378
0x40ef96 process_brace_body
        ../../gcc/gcc/gcc.c:6007
0x40ef96 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.
See <http://gcc.gnu.org/bugs.html> for instructions.



More information about the Gcc-bugs mailing list