Commit 0d3ffb5a by Geoff Keating Committed by Geoffrey Keating

rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs inside the MEM.

* rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
inside the MEM.

From-SVN: r31509
parent 78458962
2000-01-19 Geoff Keating <geoffk@cygnus.com>
* rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
inside the MEM.
2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
* loop.c (loop_optimize): Allocate loop_info structure for each loop
......
......@@ -422,6 +422,12 @@ reg_referenced_p (x, body)
return 1;
return 0;
case CLOBBER:
if (GET_CODE (XEXP (body, 0)) == MEM)
if (reg_overlap_mentioned_p (x, XEXP (XEXP (body, 0), 0)))
return 1;
return 0;
default:
return 0;
}
......
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