df-scan.c (df_get_call_refs): Be prepared for MEMs inside CLOBBERs.
* df-scan.c (df_get_call_refs): Be prepared for MEMs inside CLOBBERs. From-SVN: r125894
This commit is contained in:
parent
7a9dcd47e8
commit
7e657ec235
|
@ -1,3 +1,7 @@
|
|||
2007-06-20 Eric Botcazou <ebotcazou@libertysurf.fr>
|
||||
|
||||
* df-scan.c (df_get_call_refs): Be prepared for MEMs inside CLOBBERs.
|
||||
|
||||
2007-06-20 Rask Ingemann Lambertsen <rask@sygehus.dk>
|
||||
|
||||
PR target/32335
|
||||
|
|
|
@ -3081,9 +3081,16 @@ df_get_call_refs (struct df_collection_rec * collection_rec,
|
|||
DF_REF_REG_USE, bb, insn, flags);
|
||||
else if (GET_CODE (XEXP (note, 0)) == CLOBBER)
|
||||
{
|
||||
unsigned int regno = REGNO (XEXP (XEXP (note, 0), 0));
|
||||
if (!bitmap_bit_p (defs_generated, regno))
|
||||
df_defs_record (collection_rec, XEXP (note, 0), bb, insn, flags);
|
||||
if (REG_P (XEXP (XEXP (note, 0), 0)))
|
||||
{
|
||||
unsigned int regno = REGNO (XEXP (XEXP (note, 0), 0));
|
||||
if (!bitmap_bit_p (defs_generated, regno))
|
||||
df_defs_record (collection_rec, XEXP (note, 0), bb,
|
||||
insn, flags);
|
||||
}
|
||||
else
|
||||
df_uses_record (collection_rec, &XEXP (note, 0),
|
||||
DF_REF_REG_USE, bb, insn, flags);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue