]> gcc.gnu.org Git - gcc.git/commitdiff
i860.c (single_insn_src_p): Add missing parens.
authorJeffrey A Law <law@cygnus.com>
Thu, 19 Nov 1998 21:23:27 +0000 (21:23 +0000)
committerJeff Law <law@gcc.gnu.org>
Thu, 19 Nov 1998 21:23:27 +0000 (14:23 -0700)
        * i860.c (single_insn_src_p): Add missing parens.
        * ginclude/math-3300.h: Likewise.

From-SVN: r23727

gcc/ChangeLog
gcc/config/i860/i860.c
gcc/ginclude/math-3300.h

index b5cc0639b30fa4dff728d3ad89d7c5744201929c..7898192811b643f9a18356df86b3a174860fae04 100644 (file)
@@ -1,3 +1,8 @@
+Thu Nov 19 22:20:51 1998  Jeffrey A Law  (law@cygnus.com)
+
+       * i860.c (single_insn_src_p): Add missing parens.
+       * ginclude/math-3300.h: Likewise.
+
 Thu Nov 19 20:55:59 1998  H.J. Lu  (hjl@gnu.org)
 
        * regclass.c (init_reg_sets_1): Add prototype.
index 31dd07e07a4574a334588c2cbc6edc3622b0b86e..7eed36182c3453674f27645a72dd0eda8bd542ac 100644 (file)
@@ -312,7 +312,7 @@ single_insn_src_p (op, mode)
          if (CONSTANT_P (arg)
              && !(GET_CODE (arg) == CONST_INT
                   && (SMALL_INT (arg)
-                      || INTVAL (arg) & 0xffff == 0)))
+                      || (INTVAL (arg) & 0xffff) == 0)))
            return 0;
        }
     case IOR:
@@ -322,7 +322,7 @@ single_insn_src_p (op, mode)
       if (CONSTANT_P (XEXP (op, 1))
          && !(GET_CODE (XEXP (op, 1)) == CONST_INT
               && (SMALL_INT (XEXP (op, 1))
-                  || INTVAL (XEXP (op, 1)) & 0xffff == 0)))
+                  || (INTVAL (XEXP (op, 1)) & 0xffff) == 0)))
        return 0;
 
     case ASHIFT:
index 4e7012579952e8301cf8a915b2bf351efadca696..5d7ba28f67f6ecc4a376699c7bbb5089babf4325 100644 (file)
@@ -278,7 +278,7 @@ __inline static const double pow (const double x, const double y)
         {
          int i = (int) y;
          
-         if (i & 1 == 0)                       /* even */
+         if ((i & 1) == 0)                     /* even */
            return exp (y * log (x));
          else
            return - exp (y * log (x));
This page took 0.073043 seconds and 5 git commands to generate.