http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51865

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2012-01-15
            Summary|ICE in insert_vi_for_tree,  |[4.7 Regression] ICE in
                   |at                          |insert_vi_for_tree, at
                   |tree-ssa-structalias.c:2642 |tree-ssa-structalias.c:2642
     Ever Confirmed|0                           |1

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2012-01-15 
14:05:50 UTC ---
Confirmed on powerpc-apple-darwin9 and x86_64-apple-darwin10 with revision
183181. Revision 183001 is OK. The ICE is also triggered with '-O1
-finline-small-functions -finline-functions -fipa-pta -fpartial-inlining' up to
 '-O3 -fipa-pta'. If I set a break point for insert_vi_for_tree, I see it
called several time before reaching:


Breakpoint 1, insert_vi_for_tree (t=<value optimized out>, vi=<value optimized
out>) at ../../work/gcc/tree-ssa-structalias.c:2639
2639    {
(gdb) bt
#0  insert_vi_for_tree (t=<value optimized out>, vi=<value optimized out>) at
../../work/gcc/tree-ssa-structalias.c:2639
#1  0x00000001008deb61 in ipa_pta_execute () at
../../work/gcc/tree-ssa-structalias.c:5343
#2  0x000000010068d299 in execute_one_pass (pass=0x100da2120) at
../../work/gcc/passes.c:2081
#3  0x000000010068db32 in execute_ipa_pass_list (pass=0x100da2120) at
../../work/gcc/passes.c:2448
#4  0x0000000100399c06 in cgraph_optimize () at
../../work/gcc/cgraphunit.c:2183
#5  0x000000010039a90a in cgraph_finalize_compilation_unit () at
../../work/gcc/cgraphunit.c:1327
#6  0x0000000100020613 in c_write_global_declarations () at
../../work/gcc/c-decl.c:10030
#7  0x0000000100750640 in toplev_main (argc=4, argv=0x7fff5fbfd808) at
../../work/gcc/toplev.c:573
#8  0x00000001000014d4 in start ()
(gdb) c
Continuing.

pr51865.c:6:1: internal compiler error: in insert_vi_for_tree, at
tree-ssa-structalias.c:2642
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Program exited with code 04.

Reply via email to