Exception causing insns in delay slots

David S. Miller davem@redhat.com
Tue Apr 30 16:41:00 GMT 2002


   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.



More information about the Gcc-patches mailing list