diff options
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/simplify-rtx.c | 6 |
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: |
