> > > Hi, > > thanks for testing. I've bootstrapped/regtested this variant of patch > > and comitted it as obvious. > > Since this is an insn, we should not be copying it as it is just a link to > that > insn. > > Attached is a patch which fixes the ICE though I have not bootstrapped and > tested > it yet.
Lets try to attach the patch this time. Thanks, Andrew Pinski
Index: emit-rtl.c =================================================================== --- emit-rtl.c (revision 120287) +++ emit-rtl.c (working copy) @@ -5302,7 +5302,7 @@ else REG_NOTES (new) = gen_rtx_INSN_LIST (REG_NOTE_KIND (link), - copy_insn_1 (XEXP (link, 0)), REG_NOTES (new)); + XEXP (link, 0), REG_NOTES (new)); } /* Fix the libcall sequences. */