aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Sandiford <richard@codesourcery.com>2006-11-30 21:54:20 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2006-11-30 21:54:20 +0000
commite25615581ddc18d33ca84c6c65d44c2e33be8b3a (patch)
tree091f360b0b34245d4fb3c5c25f8350247fe7254c
parentd71176b6ad21d75410f8a4428e5a34164d90118d (diff)
downloadgcc-e25615581ddc18d33ca84c6c65d44c2e33be8b3a.zip
gcc-e25615581ddc18d33ca84c6c65d44c2e33be8b3a.tar.gz
gcc-e25615581ddc18d33ca84c6c65d44c2e33be8b3a.tar.bz2
simplify-rtx.c (simplify_rtx): Use simplify_subreg rather than simplify_gen_subreg.
gcc/ * simplify-rtx.c (simplify_rtx): Use simplify_subreg rather than simplify_gen_subreg. From-SVN: r119380
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/simplify-rtx.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e9d4055..fbde18e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2006-11-30 Richard Sandiford <richard@codesourcery.com>
+
+ * simplify-rtx.c (simplify_rtx): Use simplify_subreg rather than
+ simplify_gen_subreg.
+
2006-11-30 Andrew Macleod <amacleod@redhat.com>
* tree-ssa-live.c (create_coalesce_list): Create a hash table.
diff --git a/gcc/simplify-rtx.c b/gcc/simplify-rtx.c
index 6a9464c..149ee6b 100644
--- a/gcc/simplify-rtx.c
+++ b/gcc/simplify-rtx.c
@@ -4853,9 +4853,9 @@ simplify_rtx (rtx x)
case RTX_EXTRA:
if (code == SUBREG)
- return simplify_gen_subreg (mode, SUBREG_REG (x),
- GET_MODE (SUBREG_REG (x)),
- SUBREG_BYTE (x));
+ return simplify_subreg (mode, SUBREG_REG (x),
+ GET_MODE (SUBREG_REG (x)),
+ SUBREG_BYTE (x));
break;
case RTX_OBJ: