Commit 2f9fb4c2 by J"orn Rennecke Committed by Joern Rennecke

rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p for the parts of an…

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
parent 34043bd2
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)))
......
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