http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61010
Bug ID: 61010 Summary: ICE in gcc.c Product: gcc Version: 4.10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: ishiura-compiler at ml dot kwansei.ac.jp GCC 4.8 - 4.10 for i686 and x86_64 ICE the following code. /* $ x86_64-unknown-linux-gnu-gcc-4.10.0 test.c x86_64-unknown-linux-gnu-gcc-4.10.0: internal compiler error: Segmentation fault (program cc1) 0x40ce59 execute /home/hassy/gcc-master/gcc/gcc.c:2848 0x40d0c9 do_spec_1 /home/hassy/gcc-master/gcc/gcc.c:4652 0x40fd76 process_brace_body /home/hassy/gcc-master/gcc/gcc.c:5935 0x40fd76 handle_braces /home/hassy/gcc-master/gcc/gcc.c:5849 0x40deb7 do_spec_1 /home/hassy/gcc-master/gcc/gcc.c:5306 0x40fd76 process_brace_body /home/hassy/gcc-master/gcc/gcc.c:5935 0x40fd76 handle_braces /home/hassy/gcc-master/gcc/gcc.c:5849 0x40deb7 do_spec_1 /home/hassy/gcc-master/gcc/gcc.c:5306 0x40ddbe do_spec_1 /home/hassy/gcc-master/gcc/gcc.c:5421 0x40fd76 process_brace_body /home/hassy/gcc-master/gcc/gcc.c:5935 0x40fd76 handle_braces /home/hassy/gcc-master/gcc/gcc.c:5849 0x40deb7 do_spec_1 /home/hassy/gcc-master/gcc/gcc.c:5306 0x40fd76 process_brace_body /home/hassy/gcc-master/gcc/gcc.c:5935 0x40fd76 handle_braces /home/hassy/gcc-master/gcc/gcc.c:5849 0x40deb7 do_spec_1 /home/hassy/gcc-master/gcc/gcc.c:5306 0x40fd76 process_brace_body /home/hassy/gcc-master/gcc/gcc.c:5935 0x40fd76 handle_braces /home/hassy/gcc-master/gcc/gcc.c:5849 0x40deb7 do_spec_1 /home/hassy/gcc-master/gcc/gcc.c:5306 0x40fd76 process_brace_body /home/hassy/gcc-master/gcc/gcc.c:5935 0x40fd76 handle_braces /home/hassy/gcc-master/gcc/gcc.c:5849 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. $ x86_64-unknown-linux-gnu-gcc-4.10.0 -v Using built-in specs. COLLECT_GCC=x86_64-unknown-linux-gnu-gcc-4.10.0 COLLECT_LTO_WRAPPER=/usr/local/x86_64-tools/gcc-4.10.0/libexec/gcc/x86_64-unknown-linux-gnu/4.10.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: /home/hassy/gcc-master/configure --prefix=/usr/local/x86_64-tools/gcc-4.10.0/ --with-gmp=/usr/local/gmp-5.1.1/ --with-mpfr=/usr/local/mpfr-3.1.2/ --with-mpc=/usr/local/mpc-1.0.2/ --disable-multilib --disable-nls --enable-languages=c Thread model: posix gcc version 4.10.0 20140429 (experimental) (GCC) */ int main (void) { int a = 0; unsigned b = (a * 64 & 192) | 63U; return 0; }