Re: [PATCH] Fix PR56131 - Don't reorder DELETED_LABEL and BASIC_BLOCK notes without CFG

2013-02-25 Thread Jakub Jelinek
On Mon, Feb 25, 2013 at 12:31:07PM +0100, Tom de Vries wrote: > OK for trunk? > > Thanks, > - Tom > > 2013-02-25 Tom de Vries > > PR rtl-optimization/56131 > * insn-notes.def (INSN_NOTE_BASIC_BLOCK): Update comment. > * cfgrtl.c (delete_insn): Don't reorder NOTE_INSN_DELETED

[PATCH] Fix PR56131 - Don't reorder DELETED_LABEL and BASIC_BLOCK notes without CFG

2013-02-25 Thread Tom de Vries
Jakub, attached patch fixes (or rather, fixes up the previous fix for) PR56131. The patch makes sure that we don't try to reorder DELETED_LABEL and BASIC_BLOCK NOTE_INSNs when there is no CFG. The patch will prevent PR56242 from triggering on hppa, In addition, the patch adds a comment in insn-