mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-10 21:50:09 +08:00
rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p for the parts of an UNSPEC / UNSPEC_VOLATILE.
* rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p for the parts of an UNSPEC / UNSPEC_VOLATILE. From-SVN: r27720
This commit is contained in:
parent
34043bd2e9
commit
2f9fb4c226
@ -1,3 +1,8 @@
|
||||
Wed Jun 23 21:26:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
|
||||
|
||||
* rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
|
||||
for the parts of an UNSPEC / UNSPEC_VOLATILE.
|
||||
|
||||
1999-06-23 Bruce Korb <ddsinc09@ix.netcom.com>
|
||||
|
||||
*fixinc/inclhack.def: Add fix development commentary
|
||||
|
@ -410,6 +410,11 @@ reg_referenced_p (x, body)
|
||||
|
||||
case UNSPEC:
|
||||
case UNSPEC_VOLATILE:
|
||||
for (i = XVECLEN (body, 0) - 1; i >= 0; i--)
|
||||
if (reg_overlap_mentioned_p (x, XVECEXP (body, 0, i)))
|
||||
return 1;
|
||||
return 0;
|
||||
|
||||
case PARALLEL:
|
||||
for (i = XVECLEN (body, 0) - 1; i >= 0; i--)
|
||||
if (reg_referenced_p (x, XVECEXP (body, 0, i)))
|
||||
|
Loading…
Reference in New Issue
Block a user