]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* stmt.c (any_pending_cleanups): Further simplification.
authorJeff Law <law@redhat.com>
Tue, 1 Jul 2003 19:45:30 +0000 (13:45 -0600)
committerJeff Law <law@gcc.gnu.org>
Tue, 1 Jul 2003 19:45:30 +0000 (13:45 -0600)
From-SVN: r68789

gcc/ChangeLog
gcc/stmt.c

index ecba222dc4c99c8ab1dabfb26e4d10ce6a75a4ff..e43eb3ef3f12f0053fbf4478e8091d5c8c6d8821 100644 (file)
@@ -1,3 +1,7 @@
+2003-07-01  Jeff Law  <law@redhat.com>
+
+       * stmt.c (any_pending_cleanups): Remove another redundant test.
+
 2003-07-01  David Edelsohn  <edelsohn@gnu.org>
            J"orn Rennecke <joern.rennecke@superh.com>
 
index e216642e2a051f89110fca42974b12ca01356060..a3a362d1312169470ca64e5f0b8b4159bcf0a4da 100644 (file)
@@ -4391,8 +4391,8 @@ any_pending_cleanups ()
 
   if (block_stack->data.block.cleanups != NULL)
     return 1;
-  if (block_stack->data.block.cleanups == 0
-      && block_stack->data.block.outer_cleanups == 0)
+
+  if (block_stack->data.block.outer_cleanups == 0)
     return 0;
 
   for (block = block_stack->next; block; block = block->next)