]> gcc.gnu.org Git - gcc.git/commitdiff
(fold, case PLUS_EXPR): Add a missing test of flag_fast_math.
authorRichard Kenner <kenner@gcc.gnu.org>
Wed, 29 Dec 1993 23:04:48 +0000 (18:04 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Wed, 29 Dec 1993 23:04:48 +0000 (18:04 -0500)
From-SVN: r6341

gcc/fold-const.c

index 82e63a70f0c37ea84ecff2d6aa1d6e11a8036546..c2fbe87a755f9224b224d8f0f90bd4785c75772a 100644 (file)
@@ -3622,7 +3622,8 @@ fold (expr)
                                TREE_OPERAND (arg0, 1)));
        }
       /* In IEEE floating point, x+0 may not equal x.  */
-      else if (TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT
+      else if ((TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT
+               || flag_fast_math)
               && real_zerop (arg1))
        return non_lvalue (convert (type, arg0));
     associate:
This page took 0.069333 seconds and 5 git commands to generate.