i386.c (ix86_decompose_address): Verify the base is a REG before trying to examine its register number.
* i386.c (ix86_decompose_address): Verify the base is a REG before trying to examine its register number. From-SVN: r30536
This commit is contained in:
parent
aff555c5de
commit
329e1d019a
|
@ -1,5 +1,8 @@
|
|||
Sun Nov 14 23:11:05 1999 Jeffrey A Law (law@cygnus.com)
|
||||
|
||||
* i386.c (ix86_decompose_address): Verify the base is a REG
|
||||
before trying to examine its register number.
|
||||
|
||||
* basic-block.h: Remove all #defines and prototypes related to
|
||||
integer lists.
|
||||
(free_bb_mem, compute_preds_succs): Remove prototype.
|
||||
|
|
|
@ -1828,6 +1828,7 @@ ix86_decompose_address (addr, out)
|
|||
Avoid this by transforming to [%esi+0]. */
|
||||
if (ix86_cpu == PROCESSOR_K6 && !optimize_size
|
||||
&& base && !index && !disp
|
||||
&& REG_P (base)
|
||||
&& REGNO_REG_CLASS (REGNO (base)) == SIREG)
|
||||
disp = const0_rtx;
|
||||
|
||||
|
|
Loading…
Reference in New Issue