From: Richard Sandiford Date: Tue, 23 Sep 2008 18:27:44 +0000 (+0000) Subject: i386.c (ix86_delegitimize_address): Wrap the constant PLUS in a CONST. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5213f1a64307b89e5c921505bfd858721479da5f;p=platform%2Fupstream%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1d13deb..ce00f84 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2008-09-23 Richard Sandiford + + * config/i386/i386.c (ix86_delegitimize_address): Wrap the + constant PLUS in a CONST. + 2008-09-23 Kai Tietz *config/i386/i386.c (ix86_function_ok_for_sibcall): Correct diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index bfc610c..5872124 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -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;