* pa.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing if not optimizing.

From-SVN: r19225
This commit is contained in:
Jeffrey A Law 1998-04-15 11:37:21 +00:00 committed by Jeff Law
parent 3a35dcc477
commit 2872409d73
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
Wed Apr 15 12:37:10 1998 Jeffrey A Law (law@cygnus.com)
* pa.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing if not optimizing.
Wed Apr 15 12:10:18 1998 Michael Meissner <meissner@cygnus.com>
* Makefile.in (gen{config,flags,codes,emit}): Link in host print-rtl.o.

View File

@ -1641,7 +1641,8 @@ do { \
int offset, newoffset, mask; \
mask = GET_MODE_CLASS (MODE) == MODE_FLOAT ? 0x1f : 0x3fff; \
\
if (GET_CODE (AD) == PLUS \
if (optimize \
&& GET_CODE (AD) == PLUS \
&& GET_CODE (XEXP (AD, 0)) == REG \
&& GET_CODE (XEXP (AD, 1)) == CONST_INT) \
{ \