From 94aec8dd49f8c0f4e0ba031535eac771b3f86dc9 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Tue, 12 Nov 2002 18:53:39 +0000 Subject: [PATCH] h8300.c (tiny_constant_address_p): Parenthesize expressions appropriately. * config/h8300/h8300.c (tiny_constant_address_p): Parenthesize expressions appropriately. From-SVN: r59057 --- gcc/ChangeLog | 5 +++++ gcc/config/h8300/h8300.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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)))); }