aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>1998-11-19 21:23:27 +0000
committerJeff Law <law@gcc.gnu.org>1998-11-19 14:23:27 -0700
commit9bce98db1204495d235605b30e280706ab72665f (patch)
tree1c8cff9ef05cae1c18a1a67dc76d5c06fbeedd6e /gcc
parent59b67c1143df3c43f246db96c041911d38b88899 (diff)
downloadgcc-9bce98db1204495d235605b30e280706ab72665f.zip
gcc-9bce98db1204495d235605b30e280706ab72665f.tar.gz
gcc-9bce98db1204495d235605b30e280706ab72665f.tar.bz2
i860.c (single_insn_src_p): Add missing parens.
* i860.c (single_insn_src_p): Add missing parens. * ginclude/math-3300.h: Likewise. From-SVN: r23727
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/i860/i860.c4
-rw-r--r--gcc/ginclude/math-3300.h2
3 files changed, 8 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b5cc063..78981928 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/i860/i860.c b/gcc/config/i860/i860.c
index 31dd07e..7eed361 100644
--- a/gcc/config/i860/i860.c
+++ b/gcc/config/i860/i860.c
@@ -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:
diff --git a/gcc/ginclude/math-3300.h b/gcc/ginclude/math-3300.h
index 4e70125..5d7ba28 100644
--- a/gcc/ginclude/math-3300.h
+++ b/gcc/ginclude/math-3300.h
@@ -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));