Commit 5213f1a6 by Richard Sandiford Committed by Richard Sandiford

i386.c (ix86_delegitimize_address): Wrap the constant PLUS in a CONST.

gcc/
	* config/i386/i386.c (ix86_delegitimize_address): Wrap the
	constant PLUS in a CONST.

From-SVN: r140609
parent b6a9bc4d
2008-09-23 Richard Sandiford <rdsandiford@googlemail.com>
* config/i386/i386.c (ix86_delegitimize_address): Wrap the
constant PLUS in a CONST.
2008-09-23 Kai Tietz <kai.tietz@onevision.com>
*config/i386/i386.c (ix86_function_ok_for_sibcall): Correct
......
......@@ -10049,7 +10049,7 @@ ix86_delegitimize_address (rtx orig_x)
return orig_x;
if (const_addend)
result = gen_rtx_PLUS (Pmode, result, const_addend);
result = gen_rtx_CONST (Pmode, gen_rtx_PLUS (Pmode, result, const_addend));
if (reg_addend)
result = gen_rtx_PLUS (Pmode, reg_addend, result);
return result;
......
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