From: Kazu Hirata Date: Tue, 12 Nov 2002 18:53:39 +0000 (+0000) Subject: h8300.c (tiny_constant_address_p): Parenthesize expressions appropriately. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=94aec8dd49f8c0f4e0ba031535eac771b3f86dc9;p=gcc.git h8300.c (tiny_constant_address_p): Parenthesize expressions appropriately. * config/h8300/h8300.c (tiny_constant_address_p): Parenthesize expressions appropriately. From-SVN: r59057 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 00fe09ec02d..ba8a08be8e2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-11-12 Kazu Hirata + + * config/h8300/h8300.c (tiny_constant_address_p): Parenthesize + expressions appropriately. + 2002-11-12 Kazu Hirata * gthr-win32.h: Fix formatting. diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c index 56a06a099cb..003fafe5b1b 100644 --- a/gcc/config/h8300/h8300.c +++ b/gcc/config/h8300/h8300.c @@ -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)))); }