mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-24 12:40:06 +08:00
vax.h (INDEX_TERM_P): Define evaluation order of &&'s in || and cast to squelch signed/unsigned warnings.
* vax.h (INDEX_TERM_P): Define evaluation order of &&'s in || and cast to squelch signed/unsigned warnings. From-SVN: r34516
This commit is contained in:
parent
77fd1bfbd7
commit
97ce876c32
@ -1,3 +1,8 @@
|
||||
2000-06-13 J. David Anglin <dave@hiauly1.hia.nrc.ca>
|
||||
|
||||
* vax.h (INDEX_TERM_P): Define evaluation order of &&'s in || and
|
||||
cast to squelch signed/unsigned warnings.
|
||||
|
||||
2000-06-13 Zack Weinberg <zack@wolery.cumb.org>
|
||||
|
||||
* cpplib.c (handle_directive): Print non-NUL-terminated string
|
||||
|
@ -731,15 +731,15 @@ enum reg_class { NO_REGS, ALL_REGS, LIM_REG_CLASSES };
|
||||
: (GET_CODE (PROD) == MULT \
|
||||
&& \
|
||||
(xfoo0 = XEXP (PROD, 0), xfoo1 = XEXP (PROD, 1), \
|
||||
((GET_CODE (xfoo0) == CONST_INT \
|
||||
&& INTVAL (xfoo0) == GET_MODE_SIZE (MODE) \
|
||||
&& GET_CODE (xfoo1) == REG \
|
||||
&& REG_OK_FOR_INDEX_P (xfoo1)) \
|
||||
|| \
|
||||
(GET_CODE (xfoo1) == CONST_INT \
|
||||
&& INTVAL (xfoo1) == GET_MODE_SIZE (MODE) \
|
||||
&& GET_CODE (xfoo0) == REG \
|
||||
&& REG_OK_FOR_INDEX_P (xfoo0))))))
|
||||
((((GET_CODE (xfoo0) == CONST_INT \
|
||||
&& GET_CODE (xfoo1) == REG) \
|
||||
&& INTVAL (xfoo0) == (int)GET_MODE_SIZE (MODE)) \
|
||||
&& REG_OK_FOR_INDEX_P (xfoo1)) \
|
||||
|| \
|
||||
(((GET_CODE (xfoo1) == CONST_INT \
|
||||
&& GET_CODE (xfoo0) == REG) \
|
||||
&& INTVAL (xfoo1) == (int)GET_MODE_SIZE (MODE)) \
|
||||
&& REG_OK_FOR_INDEX_P (xfoo0))))))
|
||||
|
||||
/* Go to ADDR if X is the sum of a register
|
||||
and a valid index term for mode MODE. */
|
||||
|
Loading…
Reference in New Issue
Block a user