This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Exception handling problem: return address dead


On Tue, Nov 20, 2001 at 11:35:40AM -0800, Boehm, Hans wrote:
> One reason stack unwinding on Itanium still fails occasionally is that the
> gcc back end occasionally decides that the return address is dead at program
> points at which it's guaranteed that an exception will be raised.  This
> subsequently makes it impossible to unwind the stack.

This was supposed to be handled by 

          /* Even if we're not going to generate an epilogue, we still
             need to save the register so that EH works.  */
          if (! epilogue_p)
            emit_insn (gen_rtx_USE (VOIDmode, alt_reg));

What's getting in the way here?  -frename-registers?


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]