This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/49493] New: ICE: in insert_vi_for_tree, at tree-ssa-structalias.c:2637 with -O -fipa-pta
- From: "zsojka at seznam dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 21 Jun 2011 18:53:50 +0000
- Subject: [Bug tree-optimization/49493] New: ICE: in insert_vi_for_tree, at tree-ssa-structalias.c:2637 with -O -fipa-pta
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49493
Summary: ICE: in insert_vi_for_tree, at
tree-ssa-structalias.c:2637 with -O -fipa-pta
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: zsojka@seznam.cz
CC: rguenth@gcc.gnu.org
Host: x86_64-pc-linux-gnu
Target: x86_64-pc-linux-gnu
Created attachment 24574
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24574
reduced testcase
Maybe the same as PR41378
Compiler output:
$ gcc -O -fipa-pta testcase.c
testcase.c:3:1: internal compiler error: in insert_vi_for_tree, at
tree-ssa-structalias.c:2637
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
(gdb) bt
#0 fancy_abort (file=0x11fb598
"/mnt/svn/gcc-trunk/gcc/tree-ssa-structalias.c", line=2637, function=0x11fbe40
"insert_vi_for_tree")
at /mnt/svn/gcc-trunk/gcc/diagnostic.c:892
#1 0x0000000000a6ab1b in insert_vi_for_tree (t=Unhandled dwarf expression
opcode 0xf3
) at /mnt/svn/gcc-trunk/gcc/tree-ssa-structalias.c:2637
#2 0x0000000000a6ab32 in associate_varinfo_to_alias_1 (node=Unhandled dwarf
expression opcode 0xf3
) at /mnt/svn/gcc-trunk/gcc/tree-ssa-structalias.c:6694
#3 0x0000000000b314b0 in varpool_for_node_and_aliases (node=0x7ffff5901138,
callback=0xa6ab20 <associate_varinfo_to_alias_1>, data=0x18bf820,
include_overwritable=1 '\001') at /mnt/svn/gcc-trunk/gcc/varpool.c:757
#4 0x0000000000b3153b in varpool_for_node_and_aliases (node=0x7ffff59010d0,
callback=0xa6ab20 <associate_varinfo_to_alias_1>, data=0x18bf820,
include_overwritable=1 '\001') at /mnt/svn/gcc-trunk/gcc/varpool.c:765
#5 0x0000000000a77f3c in ipa_pta_execute () at
/mnt/svn/gcc-trunk/gcc/tree-ssa-structalias.c:6734
#6 0x000000000086352e in execute_one_pass (pass=0x16c34c0) at
/mnt/svn/gcc-trunk/gcc/passes.c:2023
#7 0x0000000000863c9a in execute_ipa_pass_list (pass=0x16c34c0) at
/mnt/svn/gcc-trunk/gcc/passes.c:2390
#8 0x0000000000616cf9 in ipa_passes () at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:2034
#9 cgraph_optimize () at /mnt/svn/gcc-trunk/gcc/cgraphunit.c:2069
#10 0x0000000000616eea in cgraph_finalize_compilation_unit () at
/mnt/svn/gcc-trunk/gcc/cgraphunit.c:1292
#11 0x00000000004fe6f8 in c_write_global_declarations () at
/mnt/svn/gcc-trunk/gcc/c-decl.c:9844
#12 0x000000000094e3e4 in compile_file (argc=14, argv=0x7fffffffdae8) at
/mnt/svn/gcc-trunk/gcc/toplev.c:587
#13 do_compile (argc=14, argv=0x7fffffffdae8) at
/mnt/svn/gcc-trunk/gcc/toplev.c:1924
#14 toplev_main (argc=14, argv=0x7fffffffdae8) at
/mnt/svn/gcc-trunk/gcc/toplev.c:1996
#15 0x00007ffff6414d2d in __libc_start_main () from /lib64/libc.so.6
#16 0x00000000004e2835 in _start ()
Tested revisions:
r175265 - crash