diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2012-10-30 22:56:52 +0000 |
---|---|---|
committer | H.J. Lu <hjl@gcc.gnu.org> | 2012-10-30 15:56:52 -0700 |
commit | 98072ee5bdaa7aaf962b568ec25538b6316b19a8 (patch) | |
tree | 02a776c0ebb77bd34785246a7ae11146bbad8233 /gcc/rtlanal.c | |
parent | df988ea3c17a47f32d5273ba1cfbc693d9502815 (diff) | |
download | gcc-98072ee5bdaa7aaf962b568ec25538b6316b19a8.tar.gz |
Remove lra_in_progress check for ARG_POINTER_REGNUM
gcc/
PR rtl-optimization/55093
* rtlanal.c (simplify_subreg_regno): Remove lra_in_progress
check for ARG_POINTER_REGNUM.
gcc/testsuite/
PR rtl-optimization/55093
* gcc.target/i386/pr55093.c: New file.
From-SVN: r193000
Diffstat (limited to 'gcc/rtlanal.c')
-rw-r--r-- | gcc/rtlanal.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/rtlanal.c b/gcc/rtlanal.c index 43d4cb829bd..33be5487386 100644 --- a/gcc/rtlanal.c +++ b/gcc/rtlanal.c @@ -3494,10 +3494,7 @@ simplify_subreg_regno (unsigned int xregno, enum machine_mode xmode, return -1; if (FRAME_POINTER_REGNUM != ARG_POINTER_REGNUM - /* We should convert arg register in LRA after the elimination - if it is possible. */ - && xregno == ARG_POINTER_REGNUM - && ! lra_in_progress) + && xregno == ARG_POINTER_REGNUM) return -1; if (xregno == STACK_POINTER_REGNUM |