summaryrefslogtreecommitdiff
path: root/gcc/rtlanal.c
diff options
context:
space:
mode:
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2012-10-30 22:56:52 +0000
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2012-10-30 22:56:52 +0000
commitc78ae7d1fbce74a0bebb595d2e6d15e970df2bf5 (patch)
tree02a776c0ebb77bd34785246a7ae11146bbad8233 /gcc/rtlanal.c
parent336fdb5e6c6b5d5e7ba94ef89f1991499f3ca221 (diff)
downloadgcc-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.c5
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