------- Comment #3 from rth at gcc dot gnu dot org  2005-11-30 23:07 -------
Fixing the unwinder to handle epilogues is harder than you think, I think.
My guess is that it'll require completely rewriting the unwind generator.
It'll need to be CFG aware, which means it'll have to happen while the CFG
is still available and do some sort of notes to remember it.  Or perhaps
preserve the CFG until the end of compilation.  Which would require some
handling for the reorg pass -- perhaps simply regenerating the CFG.

Not that I want to discourage anyone from tackling this, but the only short
term fix is some sort of barrier to prevent scheduling the epilogue past 
any potentially trapping insns.


-- 

rth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rth at gcc dot gnu dot org


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

Reply via email to