tell expand_expr that we are going to ignore the cleanup.
authorMike Stump <mrs@gcc.gnu.org>
Fri, 6 May 1994 10:13:17 +0000 (10:13 +0000)
committerMike Stump <mrs@gcc.gnu.org>
Fri, 6 May 1994 10:13:17 +0000 (10:13 +0000)
TREE_SIDE_EFFECTS should be set on these things.

From-SVN: r7222

gcc/expr.c

index ed1f1f9f004cc1b0179bea8c281986e294573607..2716b0865fb0b0cd3b16d40c370e3f7765e84d4d 100644 (file)
@@ -8157,7 +8157,7 @@ expand_cleanups_to (old_cleanups)
 {
   while (cleanups_this_call != old_cleanups)
     {
-      expand_expr (TREE_VALUE (cleanups_this_call), NULL_RTX, VOIDmode, 0);
+      expand_expr (TREE_VALUE (cleanups_this_call), const0_rtx, VOIDmode, 0);
       cleanups_this_call = TREE_CHAIN (cleanups_this_call);
     }
 }