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)))); }