------- Comment #2 from rguenth at gcc dot gnu dot org 2009-07-15 09:53 ------- Program received signal SIGSEGV, Segmentation fault. 0x086e621a in useless_type_conversion_p (outer_type=0xb7cd43f0, inner_type=0x0) at /home/richard/src/trunk/gcc/tree-ssa.c:1003 1003 if (POINTER_TYPE_P (inner_type) (gdb) up #1 0x085823cc in verify_gimple_phi (stmt=0xb7d7b380) at /home/richard/src/trunk/gcc/tree-cfg.c:4095 4095 if (!useless_type_conversion_p (type, TREE_TYPE (arg))) (gdb) call debug_gimple_stmt (stmt) .MEM_20 = PHI <.MEM_33(2), .MEM_24(3)>
(gdb) call debug_tree (arg) <ssa_name 0xb7d7eac4 nothrow var <var_decl 0xb7d7c5a0 .MEM>def_stmt version 33 in-free-list> somebody released that SSA name. My bet #1 is honzas CD-DCE changes: #7 0x0848bf5c in execute_one_pass (pass=0x8d09a40) at /home/richard/src/trunk/gcc/passes.c:1311 1311 execute_todo (todo_after | pass->todo_flags_finish); (gdb) p *pass $1 = {type = GIMPLE_PASS, name = 0x8bb581c "cddce", gate = 0x8646077 <gate_dce>, execute = 0x8646059 <tree_ssa_cd_dce>, sub = 0x0, next = 0x8d0a5a0, static_pass_number = 39, tv_id = TV_TREE_CD_DCE, properties_required = 40, properties_provided = 0, properties_destroyed = 0, todo_flags_start = 524288, todo_flags_finish = 13} Honza, you likely forget to propagate bare symbols to uses before renaming somewhere? -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hubicka at gcc dot gnu dot | |org Keywords| |ice-on-valid-code http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40759