From: Kazu Hirata Date: Sat, 1 Mar 2003 14:19:22 +0000 (+0000) Subject: h8300.c (bit_operand): Accept MEM only if it satisfies EXTRA_CONSTRAINT 'U'. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6620997bdc9419cd243613ecb7b958788ab082cc;p=gcc.git h8300.c (bit_operand): Accept MEM only if it satisfies EXTRA_CONSTRAINT 'U'. * config/h8300/h8300.c (bit_operand): Accept MEM only if it satisfies EXTRA_CONSTRAINT 'U'. From-SVN: r63611 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7f7f6fd9e3d..90086bdf9ca 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-03-01 Kazu Hirata + + * config/h8300/h8300.c (bit_operand): Accept MEM only if it + satisfies EXTRA_CONSTRAINT 'U'. + 2003-03-01 Kazu Hirata * config/h8300/h8300.md (*tst_extzv_bitqi_1_n): Take a scratch diff --git a/gcc/config/h8300/h8300.c b/gcc/config/h8300/h8300.c index 08a7cc606a6..ef9dbdda13d 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