Re: [patch] fix PR52139 correctly

2013-05-13 Thread Jakub Jelinek
On Sat, Apr 13, 2013 at 08:21:46PM +0200, Steven Bosscher wrote: > * cfgrtl.c (cfg_layout_merge_blocks): Revert r184005, implement > correct fix by moving header and footer insn to the footer of > the merged basic block. Clear BB_END of the merged-away block. Unfortunately

[patch] fix PR52139 correctly

2013-04-13 Thread Steven Bosscher
Hello, The fix for PR52139 only papered over another problem: That things from a basic block header were emitted into the insns stream. When going out of cfglayout mode, these header-insn will be lost. It's probably possible to construct a test case where e.g. a NOTE_INSN_DELETED_DEBUG_LABEL is lo