RFA PATCH: Enable MIPS SIGFPE handling...
David Daney
ddaney@avtrex.com
Sat Sep 4 22:43:00 GMT 2004
When I made my initial series of MIPS patches my misunderstanding of how
GCC generates divide by zero checks led me to omit SIGFPE handling.
Now since I have seen the light, I present this patch to enable use of
SIGFPE for generation of ArithmeticException("/ by zero");
Tested on --host=i686-pc-linux-gnu --target=mipsel-linux with no
regressions in top level make check.
And yes it is correct to #undef HANDLE_DIVIDE_OVERFLOW as MIPS does
division according to the JLS without any of the mickey-mouse stuff that
has to be done with the x86.
O.K to commit?
David Daney.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mipsfpe.patch
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20040904/c39f0ce3/attachment.ksh>
More information about the Java-patches
mailing list