]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
tree-ssa-forwprop.c (forward_propagate_addr_expr): Fix thinko in last patch.
authorRichard Guenther <rguenther@suse.de>
Thu, 1 Dec 2005 09:44:26 +0000 (09:44 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 1 Dec 2005 09:44:26 +0000 (09:44 +0000)
2005-12-01  Richard Guenther  <rguenther@suse.de>

        * tree-ssa-forwprop.c (forward_propagate_addr_expr): Fix
        thinko in last patch.

From-SVN: r107814

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

index 82504241ad089000de67d31d69fd32326ced522b..1cc0251585942210def904c07ccc500fc678377d 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 ccd78465af5e630528e396af9e609b0d2caf008e..8618ce745e33ab3516c9835d9fcc987854db022e 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;