diff options
author | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-10-30 22:56:52 +0000 |
---|---|---|
committer | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-10-30 22:56:52 +0000 |
commit | c78ae7d1fbce74a0bebb595d2e6d15e970df2bf5 (patch) | |
tree | 02a776c0ebb77bd34785246a7ae11146bbad8233 /gcc/rtlanal.c | |
parent | 336fdb5e6c6b5d5e7ba94ef89f1991499f3ca221 (diff) | |
download | gcc-c78ae7d1fbce74a0bebb595d2e6d15e970df2bf5.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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193000 138bc75d-0d04-0410-961f-82ee72b054a4
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 |