Commit b8771ace by Jan Hubicka Committed by Jan Hubicka

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
parent f4966f8c
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> 2004-09-18 Kaz Kojima <kkojima@gcc.gnu.org>
* config/sh/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): Remove. * config/sh/linux.h (ASM_PREFERRED_EH_DATA_FORMAT): Remove.
......
...@@ -5405,7 +5405,7 @@ legitimize_pic_address (rtx orig, rtx reg) ...@@ -5405,7 +5405,7 @@ legitimize_pic_address (rtx orig, rtx reg)
{ {
if (INTVAL (op1) < -16*1024*1024 if (INTVAL (op1) < -16*1024*1024
|| 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 else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment