(const_binop): Fix typo.
authorRichard Stallman <rms@gnu.org>
Mon, 7 Sep 1992 06:06:12 +0000 (06:06 +0000)
committerRichard Stallman <rms@gnu.org>
Mon, 7 Sep 1992 06:06:12 +0000 (06:06 +0000)
From-SVN: r2069

gcc/fold-const.c

index cd14f75437ae740448aba565b30b548cef0e4d28..6877b2c108be23ead0b0868b282466fb90a08853 100644 (file)
@@ -1049,7 +1049,7 @@ const_binop (code, arg1, arg2)
       int uns = TREE_UNSIGNED (TREE_TYPE (arg1));
       /* Propagate overflow flags from operands; also record new overflow.  */
       int overflow
-       = TREE_CONSTANT_OVERFLOW (arg0) | TREE_CONSTANT_OVERFLOW (arg1);
+       = TREE_CONSTANT_OVERFLOW (arg1) | TREE_CONSTANT_OVERFLOW (arg2);
 
       switch (code)
        {