On 12/15/2011 09:32 AM, Jakub Jelinek wrote: > PR debug/51557 > * sel-sched-ir.c (create_copy_of_insn_rtx): Copy REG_ARGS_SIZE > notes. > > * gcc.dg/pr51557.c: New test.
There are plenty of other notes that could as well need duplication. E.g. REG_INC, REG_FRAME_RELATED_EXPR, REG_CFA_*, REG_EH_REGION. And that's assuming that call insns are never duplicated. Why not simply copy all of the notes? r~