http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42240

--- Comment #17 from Georg Lay <avr at gjlay dot de> 2010-11-09 17:20:59 UTC ---
(In reply to comment #14)
> Created attachment 22339 [details]
> Initial patch to fix the bug
> 
> BB reordering pass is suppressed for naked functions. Also suppressed when the
> end of epilogue is reached.

BBreordering (or other passes doing similar things) need not to be disabled.
What do you think? Moreover, there is a gap between reload_completed and
epilogue_completed because the naked return insn is allowed since after reload.

Georg

Reply via email to