diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-23 23:10:18 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-23 23:10:18 +0000 |
commit | e9de4a6bf905a0723259af3e5463e3555349bf7d (patch) | |
tree | 0eb629e5dc927e8a4d0db60b6b3e5ed4d5772763 /gcc/final.c | |
parent | df9a397c08d6a08316bc1dd815291f4159edc87a (diff) | |
download | gcc-e9de4a6bf905a0723259af3e5463e3555349bf7d.tar.gz |
* emit-rtl.c, rtl.h (subreg_hard_regno): Remove.
* caller-save.c (mark_set_regs): Use subreg_regno instead.
* final.c (alter_subreg): Likewise.
* local-alloc.c (reg_is_born): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91115 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/final.c')
-rw-r--r-- | gcc/final.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/final.c b/gcc/final.c index a45119a647e..03806be2fa8 100644 --- a/gcc/final.c +++ b/gcc/final.c @@ -2636,8 +2636,7 @@ alter_subreg (rtx *xp) else { /* Simplify_subreg can't handle some REG cases, but we have to. */ - unsigned int regno = subreg_hard_regno (x, 1); - + unsigned int regno = subreg_regno (x); gcc_assert (REG_P (y)); *xp = gen_rtx_REG_offset (y, GET_MODE (x), regno, SUBREG_BYTE (x)); } |