The only way i can see this happening is if you have a truly uninitialized variable, or there is something we have missed.
Does this function have cfun->static_chain_decl being used, and we have a copy of that here? It is theoretically safe to call set_ssa_to_val with to == vn_top, but it's probably a bug somewhere, and i'd rather eliminate the bug cases before turning it off. On 11 Jul 2007 20:10:10 -0000, ebotcazou at gcc dot gnu dot org <[EMAIL PROTECTED]> wrote:
------- Comment #5 from ebotcazou at gcc dot gnu dot org 2007-07-11 20:10 ------- > Can someone paste the output of debug_generic_stmt (to) and > debug_tree(to) at the point of failure? (gdb) p debug_tree(to) <var_decl 0x557f7114 vn_top.181 type <void_type 0x55716804 void sizes-gimplified visited VOID align 8 symtab 0 alias set 36 canonical type 0x55716804 pointer_to_this <pointer_type 0x55716870>> used ignored VOID file ../c87b26b.adb line 4 align 8> $4 = void (gdb) p debug_generic_stmt(to) vn_top.181 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32705