This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Exception handling problem: return address dead
- From: Richard Henderson <rth at redhat dot com>
- To: "Boehm, Hans" <hans_boehm at hp dot com>
- Cc: "'gcc at gcc dot gnu dot org'" <gcc at gcc dot gnu dot org>
- Date: Tue, 20 Nov 2001 14:18:54 -0800
- Subject: Re: Exception handling problem: return address dead
- References: <40700B4C02ABD5119F000090278766443BED74@hplex1.hpl.hp.com>
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~