m32r.h (LEGITIMATE_CONSTANT_P): Treat LABEL_REFs in the same way as SYMBOL_REFs.
* config/m32r/m32r.h (LEGITIMATE_CONSTANT_P): Treat LABEL_REFs in the same way as SYMBOL_REFs. From-SVN: r139753
This commit is contained in:
parent
1d29a58dd0
commit
a0491ba7b4
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2008-08-29 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* config/m32r/m32r.h (LEGITIMATE_CONSTANT_P): Treat LABEL_REFs in
|
||||
the same way as SYMBOL_REFs.
|
||||
|
||||
2008-08-28 Bob Wilson <bob.wilson@acm.org>
|
||||
|
||||
* config/xtensa/xtensa.md (<u>mulsidi3): Use a temporary register.
|
||||
|
|
|
@ -1072,7 +1072,7 @@ L2: .word STATIC
|
|||
#define LEGITIMATE_CONSTANT_P(X) \
|
||||
(! (GET_CODE (X) == CONST \
|
||||
&& GET_CODE (XEXP (X, 0)) == PLUS \
|
||||
&& GET_CODE (XEXP (XEXP (X, 0), 0)) == SYMBOL_REF \
|
||||
&& (GET_CODE (XEXP (XEXP (X, 0), 0)) == SYMBOL_REF || GET_CODE (XEXP (XEXP (X, 0), 0)) == LABEL_REF) \
|
||||
&& GET_CODE (XEXP (XEXP (X, 0), 1)) == CONST_INT \
|
||||
&& (unsigned HOST_WIDE_INT) INTVAL (XEXP (XEXP (X, 0), 1)) > 32767))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue