h8300.c (tiny_constant_address_p): Parenthesize expressions appropriately.
authorKazu Hirata <kazu@cs.umass.edu>
Tue, 12 Nov 2002 18:53:39 +0000 (18:53 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Tue, 12 Nov 2002 18:53:39 +0000 (18:53 +0000)
* config/h8300/h8300.c (tiny_constant_address_p): Parenthesize
expressions appropriately.

From-SVN: r59057

gcc/ChangeLog
gcc/config/h8300/h8300.c

index 00fe09ec02d9468d771b3ecf9dd460d682a94a37..ba8a08be8e242ba179e622102d64b81c67c87316 100644 (file)
@@ -1,3 +1,8 @@
+2002-11-12  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * config/h8300/h8300.c (tiny_constant_address_p): Parenthesize
+       expressions appropriately.
+
 2002-11-12  Kazu Hirata  <kazu@cs.umass.edu>
 
        * gthr-win32.h: Fix formatting.
index 56a06a099cbc37ec6fa750c72454428223df5a02..003fafe5b1b2c6a0dae7c9bee0f4f918dfb9cdf0 100644 (file)
@@ -3909,7 +3909,7 @@ h8300_tiny_constant_address_p (x)
 
   return (0
          || (TARGET_H8300H
-             && IN_RANGE (addr, h1, h2) || IN_RANGE (addr, h3, h4))
+             && (IN_RANGE (addr, h1, h2) || IN_RANGE (addr, h3, h4)))
          || (TARGET_H8300S
-             && IN_RANGE (addr, s1, s2) || IN_RANGE (addr, s3, s4)));
+             && (IN_RANGE (addr, s1, s2) || IN_RANGE (addr, s3, s4))));
 }