OSDN Git Service

(expand_expr, case COND_EXPR): Fix typo; const1_rtx should
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 13 Jun 1993 18:15:58 +0000 (18:15 +0000)
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 13 Jun 1993 18:15:58 +0000 (18:15 +0000)
be const0_rtx when ignoring expression.

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

gcc/expr.c

index 08b2078..d866d3c 100644 (file)
@@ -4903,7 +4903,7 @@ expand_expr (exp, target, tmode, modifier)
              }
            else
              expand_expr (singleton,
-                          ignore ? const1_rtx : NULL_RTX, VOIDmode, 0);
+                          ignore ? const0_rtx : NULL_RTX, VOIDmode, 0);
            if (cleanups_this_call)
              {
                sorry ("aggregate value in COND_EXPR");