From 89a7f7bcc299a9bf74b221a4d058a9ddce788c52 Mon Sep 17 00:00:00 2001
From: law <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Thu, 19 Nov 1998 21:23:27 +0000
Subject: [PATCH]         * i860.c (single_insn_src_p): Add missing parens.    
     * ginclude/math-3300.h: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23727 138bc75d-0d04-0410-961f-82ee72b054a4
---
 gcc/ChangeLog            | 5 +++++
 gcc/config/i860/i860.c   | 4 ++--
 gcc/ginclude/math-3300.h | 2 +-
 3 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b5cc0639b30f..7898192811b6 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 31dd07e07a45..7eed36182c34 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 4e7012579952..5d7ba28f67f6 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));
-- 
GitLab