pa.h (EXTRA_CONSTRAINT, T case): Further refine so that it rejects (mem (lo_sum (reg) (unspec)))...

* pa.h (EXTRA_CONSTRAINT, T case): Further refine so that it
        rejects (mem (lo_sum (reg) (unspec))), but will allow
        (mem (lo_sum (reg) (symbol_ref)) for PA2.0.

From-SVN: r54294
This commit is contained in:
Jeff Law 2002-06-05 14:35:23 -06:00 committed by Jeff Law
parent cbc69f844e
commit 8008102813
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2002-06-05 Jeffrey Law <law@redhat.com>
* pa.h (EXTRA_CONSTRAINT, T case): Further refine so that it
rejects (mem (lo_sum (reg) (unspec))), but will allow
(mem (lo_sum (reg) (symbol_ref)) for PA2.0.
2002-06-05 Neil Booth <neil@daikokuya.demon.co.uk>
* cpphash.h (_cpp_create_definition): Update prototype.

View File

@ -1173,7 +1173,11 @@ extern int may_call_alloca;
? GET_MODE (OP) \
: DFmode), \
XEXP (OP, 0)) \
&& GET_CODE (XEXP (OP, 0)) != LO_SUM \
&& !(GET_CODE (XEXP (OP, 0)) == LO_SUM \
&& GET_CODE (XEXP (XEXP (OP, 0), 0)) == REG \
&& REG_OK_FOR_BASE_P (XEXP (XEXP (OP, 0), 0))\
&& GET_CODE (XEXP (XEXP (OP, 0), 1)) == UNSPEC\
&& GET_MODE (XEXP (OP, 0)) == Pmode) \
&& !(GET_CODE (XEXP (OP, 0)) == PLUS \
&& (GET_CODE (XEXP (XEXP (OP, 0), 0)) == MULT\
|| GET_CODE (XEXP (XEXP (OP, 0), 1)) == MULT)))\