diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/h8300/h8300.c | 8 |
2 files changed, 7 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7f7f6fd..90086bd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2003-03-01 Kazu Hirata <kazu@cs.umass.edu> + * config/h8300/h8300.c (bit_operand): Accept MEM only if it + satisfies EXTRA_CONSTRAINT 'U'. + +2003-03-01 Kazu Hirata <kazu@cs.umass.edu> + * config/h8300/h8300.md (*tst_extzv_bitqi_1_n): Take a scratch register. (*tst_extzv_memqi_1_n): Change to a splitter. diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c index 08a7cc6..ef9dbdd 100644 --- a/gcc/config/h8300/h8300.c +++ b/gcc/config/h8300/h8300.c @@ -980,12 +980,8 @@ bit_operand (op, mode) return 1; if (GET_CODE (op) == SUBREG) return 1; - if (!rtx_equal_function_value_matters) - /* We're building rtl. */ - return GET_CODE (op) == MEM; - else - return (GET_CODE (op) == MEM - && EXTRA_CONSTRAINT (op, 'U')); + return (GET_CODE (op) == MEM + && EXTRA_CONSTRAINT (op, 'U')); } int |