mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-20 04:50:25 +08:00
regrename.c (note_sets): Handle subregs.
* regrename.c (note_sets): Handle subregs. Co-Authored-By: Aldy Hernandez <aldyh@redhat.com> From-SVN: r94157
This commit is contained in:
parent
2429f3d4c0
commit
226c62c799
@ -1,3 +1,8 @@
|
||||
2005-01-24 Richard Henderson <rth@redhat.com>
|
||||
Aldy Hernandez <aldyh@redhat.com>
|
||||
|
||||
* regrename.c (note_sets): Handle subregs.
|
||||
|
||||
2005-01-24 Joseph S. Myers <joseph@codesourcery.com>
|
||||
|
||||
PR bootstrap/18058
|
||||
|
@ -94,6 +94,9 @@ note_sets (rtx x, rtx set ATTRIBUTE_UNUSED, void *data)
|
||||
HARD_REG_SET *pset = (HARD_REG_SET *) data;
|
||||
unsigned int regno;
|
||||
int nregs;
|
||||
|
||||
if (GET_CODE (x) == SUBREG)
|
||||
x = SUBREG_REG (x);
|
||||
if (!REG_P (x))
|
||||
return;
|
||||
regno = REGNO (x);
|
||||
|
Loading…
x
Reference in New Issue
Block a user