http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59822
Bug ID: 59822
Summary: ice in compute_live_loop_exits with -O3
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: dcb314 at hotmail dot com
I just tried to bootstrap trunk revision 206619 on an x86_64 Linux box.
Configure line is
../src/trunk/configure --prefix=/home/dcb/gcc/results
--enable-checking=yes --enable-languages=c,c++,fortran --disable-werror
In the generated Makefile, I changed BOOT_CFLAGS from
-g -O2 to -g -O3.
I got
../../src/trunk/gcc/config/i386/i386.c: In function ‘rtx_def*
ix86_build_const_vector(machine_mode, bool, rtx)’:
../../src/trunk/gcc/config/i386/i386.c:18746:1: internal compiler error: in
compute_live_loop_exits, at tree-ssa-loop-manip.c:237
ix86_build_const_vector (enum machine_mode mode, bool vect, rtx value)
^
0xe978e5 compute_live_loop_exits
../../src/trunk/gcc/tree-ssa-loop-manip.c:237
0xe97cf8 add_exit_phis_var
../../src/trunk/gcc/tree-ssa-loop-manip.c:324
0xe97dfc add_exit_phis
../../src/trunk/gcc/tree-ssa-loop-manip.c:346
0xe9847b rewrite_into_loop_closed_ssa(bitmap_head*, unsigned int)
../../src/trunk/gcc/tree-ssa-loop-manip.c:540
0xf9f9bf vectorize_loops()
../../src/trunk/gcc/tree-vectorizer.c:579
0xeac556 tree_loop_vectorize
../../src/trunk/gcc/tree-ssa-loop.c:154
0xeac5e0 execute
../../src/trunk/gcc/tree-ssa-loop.c:189
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.
Interestingly, when I dropped BOOT_CLAGS back to -g -O2, the bootstrap
worked.