http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47881
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-03-07
11:41:17 UTC ---
--- gcc/ira.c.jj 2011-02-21 15:37:42.000000000 +0100
+++ gcc/ira.c 2011-03-07 12:33:59.000000000 +0100
@@ -3232,7 +3232,8 @@ ira (FILE *f)
check_allocation ();
#endif
- delete_trivially_dead_insns (get_insns (), max_reg_num ());
+ if (delete_trivially_dead_insns (get_insns (), max_reg_num ()))
+ df_analyze ();
init_reg_equiv_memory_loc ();
indeed fixes this testcase, haven't tried to bootstrap/regtest it nor have any
idea whether some IRA bookkeeping will need to be updated in that case.