[PATCH]: Fix target/14542: ICE on simple source
Stephane Carrez
stcarrez@nerim.fr
Sun Jun 6 23:43:00 GMT 2004
Hi!
This patch fixes 14542. The pb was due to a peephole2 replacement that
changes the liveness of register at block entry. It occurred at function start
when a register is pushed to allocate a stack slot. The stack slot is then filled
with another register (arg 0 in most cases). The peephole2 creates the stack slot
with the initial value hence getting rid of the register used for the push.
Fixed by emitting a use of that register.
Committed on 3_4 and mainline.
Stephane
2004-06-06 Stephane Carrez <stcarrez@nerim.fr>
PR target/14542
* config/m68hc11/m68hc11.md (move peephole2): Emit a use note to avoid
a live change of a register after peephole replacement.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: m68hc11.md.diffs
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20040606/bd1bcbaa/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 253 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20040606/bd1bcbaa/attachment.sig>
More information about the Gcc-patches
mailing list