This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Exception causing insns in delay slots
From: Jason Merrill <jason@redhat.com>
Date: Fri, 26 Apr 2002 12:59:08 +0100
>>>>> "David" == David S Miller <davem@redhat.com> writes:
> Are you suggesting I just ignore NPC and set PC to "PC + 4" instead?
Yes, exactly.
> Hmmm... ok, but does PC need to be accurate for other purposes?
The uses of PC in the EH mechanism are only interested in the location of
the throw. The return address is just a way of getting at it.
Just to close this out, I followed Jason's advice and the
current libjava/include/dwarf2-signal.h code does exactly
as he describes on Sparc.