Call simplify_gen_subreg for PIC with mode of x.
authorH.J. Lu <hongjiu.lu@intel.com>
Tue, 26 Jul 2011 21:43:57 +0000 (21:43 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Tue, 26 Jul 2011 21:43:57 +0000 (14:43 -0700)
commit65ceed36018fcc227a90fee38ee07cd935c53b64
treed22fb0f25df573288028ba1bdb10e98cf25069d8
parentb56bc05b9f9a69ab8136243616a31f9b3f2708fc
Call simplify_gen_subreg for PIC with mode of x.

2011-07-26  H.J. Lu  <hongjiu.lu@intel.com>

PR target/47372
* config/i386/i386.c (ix86_delegitimize_address): Call
simplify_gen_subreg for PIC with mode of x only if modes of
x and orig_x are different.

From-SVN: r176812
gcc/ChangeLog
gcc/config/i386/i386.c