------- Additional Comments From rguenth at gcc dot gnu dot org 2005-08-10 16:25 ------- Backtrace of the ICE
#0 internal_error (gmsgid=0x882bbf8 "tree check: %s, have %s in %s, at %s:%d") at diagnostic.c:534 #1 0x085f4b11 in tree_check_failed (node=0x402892c0, file=0x87b4728 "../../../src/gcc-unpatched/gcc/tree-into-ssa.c", line=466, function=0x87b4fcd "is_old_name") at tree.c:5854 #2 0x0825a791 in is_old_name (name=0x402892c0) at tree-into-ssa.c:466 #3 0x0825aba0 in maybe_replace_use (use_p=0x4031c234) at tree-into-ssa.c:1383 #4 0x082560a2 in rewrite_update_stmt (walk_data=0xbfffeb70, bb=0x40285730, si= {tsi = {ptr = 0x4023c6c0, container = 0x4027cf00}, bb = 0x40285730}) at tree-into-ssa.c:1471 #5 0x08288101 in walk_dominator_tree (walk_data=0xbfffeb70, bb=0x40285730) at domwalk.c:196 #6 0x0828817c in walk_dominator_tree (walk_data=0xbfffeb70, bb=0x40285690) at domwalk.c:212 #7 0x0825650c in rewrite_blocks (entry=0x40285690, what=REWRITE_UPDATE, blocks=0x88f4750) at tree-into-ssa.c:1617 #8 0x08258bbd in update_ssa (update_flags=128) at tree-into-ssa.c:2799 #9 0x0861bb82 in execute_todo (pass=0x8851660, flags=151, use_required=0 '\0') at passes.c:701 (gdb) print *pass $1 = {name = 0x87b655c "alias", gate = 0, execute = 0x8270142 <compute_may_aliases>, sub = 0x0, next = 0x8854100, static_pass_number = 22, tv_id = 33, properties_required = 92, properties_provided = 604, properties_destroyed = 0, todo_flags_start = 0, todo_flags_finish = 151, letter = 0 '\0'} the ICE vanishes if -fdump-tree-original, i.e. dumping before the ICE, and even if dumping after the ICE with f.i. -fdump-tree-vars. GCAC checking doesn't complain about anything, so does valgrind. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22444