2005-12-01 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 1 Dec 2005 09:44:26 +0000 (09:44 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 1 Dec 2005 09:44:26 +0000 (09:44 +0000)
        * tree-ssa-forwprop.c (forward_propagate_addr_expr): Fix
        thinko in last patch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107814 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/tree-ssa-forwprop.c

index 8250424..1cc0251 100644 (file)
@@ -1,3 +1,8 @@
+2005-12-01  Richard Guenther  <rguenther@suse.de>
+
+       * tree-ssa-forwprop.c (forward_propagate_addr_expr): Fix
+       thinko in last patch.
+
 2005-12-01  Geoffrey Keating  <geoffk@apple.com>
 
        * config/t-slibgcc-darwin (SHLIB_LINK): Use -single_module rather
index ccd7846..8618ce7 100644 (file)
@@ -697,7 +697,7 @@ forward_propagate_addr_expr (tree stmt)
          continue;
        }
 
-      all = all && forward_propagate_addr_expr_1 (stmt, use_stmt);
+      all = forward_propagate_addr_expr_1 (stmt, use_stmt) && all;
     }
 
   return all;