summaryrefslogtreecommitdiff
path: root/gcc/cse.c
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2008-12-04 17:56:55 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2008-12-04 17:56:55 +0000
commitda9055d29af60e521b94ef9d06e5e99f4e79e6a9 (patch)
tree5f6e71850acc8fc72a303b3e8977d8f2ef788bc4 /gcc/cse.c
parentb4df425bacd370bd1700ca7ba7e6fe4f830b5eb8 (diff)
downloadgcc-da9055d29af60e521b94ef9d06e5e99f4e79e6a9.tar.gz
2008-12-04 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk r142432 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@142441 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cse.c')
-rw-r--r--gcc/cse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cse.c b/gcc/cse.c
index e6ff6308c2a..f52f0a9c93d 100644
--- a/gcc/cse.c
+++ b/gcc/cse.c
@@ -3651,7 +3651,7 @@ equiv_constant (rtx x)
if (REG_P (SUBREG_REG (x))
&& (new_rtx = equiv_constant (SUBREG_REG (x))) != 0)
- return simplify_subreg (GET_MODE (x), SUBREG_REG (x),
+ return simplify_subreg (GET_MODE (x), new_rtx,
GET_MODE (SUBREG_REG (x)), SUBREG_BYTE (x));
return 0;