Commit 226c62c7 by Richard Henderson Committed by Aldy Hernandez

regrename.c (note_sets): Handle subregs.

        * regrename.c (note_sets): Handle subregs.

Co-Authored-By: Aldy Hernandez <aldyh@redhat.com>

From-SVN: r94157
parent 2429f3d4
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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment