[Bug java/39940] [4.5 Regression] failure in jc1 on i686-apple-darwin9 host

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat May 2 15:35:00 GMT 2009



------- Comment #25 from rguenth at gcc dot gnu dot org  2009-05-02 15:35 -------
Ha, that helped.  From looking at the dumps, can you check

Index: gcc/tree-ssa-pre.c
===================================================================
--- gcc/tree-ssa-pre.c  (revision 147054)
+++ gcc/tree-ssa-pre.c  (working copy)
@@ -4215,7 +4215,9 @@ eliminate (void)
       /* If there is a single use only, propagate the equivalency
         instead of keeping the copy.  */
       if (TREE_CODE (lhs) == SSA_NAME
-         && single_imm_use (lhs, &use_p, &use_stmt))
+         && single_imm_use (lhs, &use_p, &use_stmt)
+         && may_propagate_copy (USE_FROM_PTR (use_p),
+                                gimple_assign_rhs1 (stmt)))
        {
          SET_USE (use_p, gimple_assign_rhs1 (stmt));
          update_stmt (use_stmt);

?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39940



More information about the Gcc-bugs mailing list