summaryrefslogtreecommitdiff
path: root/gcc/local-alloc.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-23 23:10:18 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-23 23:10:18 +0000
commite9de4a6bf905a0723259af3e5463e3555349bf7d (patch)
tree0eb629e5dc927e8a4d0db60b6b3e5ed4d5772763 /gcc/local-alloc.c
parentdf9a397c08d6a08316bc1dd815291f4159edc87a (diff)
downloadgcc-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/local-alloc.c')
-rw-r--r--gcc/local-alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/local-alloc.c b/gcc/local-alloc.c
index a940ba435bc..5d33f566b4f 100644
--- a/gcc/local-alloc.c
+++ b/gcc/local-alloc.c
@@ -2011,7 +2011,7 @@ reg_is_born (rtx reg, int birth)
{
regno = REGNO (SUBREG_REG (reg));
if (regno < FIRST_PSEUDO_REGISTER)
- regno = subreg_hard_regno (reg, 1);
+ regno = subreg_regno (reg);
}
else
regno = REGNO (reg);