mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-19 12:20:58 +08:00
i386.c (legitimize_pic_address): Fix splitting of PLUS with huge offset.
* i386.c (legitimize_pic_address): Fix splitting of PLUS with huge offset. From-SVN: r87697
This commit is contained in:
parent
f4966f8cab
commit
b8771ace10
@ -1,3 +1,8 @@
|
||||
2004-09-18 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* i386.c (legitimize_pic_address): Fix splitting of PLUS with
|
||||
huge offset.
|
||||
|
||||
2004-09-18 Kaz Kojima <kkojima@gcc.gnu.org>
|
||||
|
||||
* config/sh/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): Remove.
|
||||
|
@ -5405,7 +5405,7 @@ legitimize_pic_address (rtx orig, rtx reg)
|
||||
{
|
||||
if (INTVAL (op1) < -16*1024*1024
|
||||
|| INTVAL (op1) >= 16*1024*1024)
|
||||
new = gen_rtx_PLUS (Pmode, op0, force_reg (Pmode, op1));
|
||||
new = gen_rtx_PLUS (Pmode, force_reg (Pmode, op0), op1);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user