Andrew Pinski writes:
 > 
 > This will always cause a trap on x86, even with -fwrapv so really
 > -fwrapv has a bug on x86.  I will file this bug sometime later
 > tomorrow.  Oh and fixing this bug will actually slow down users
 > of -fwrapv even more than what it is currently does because
 > you can no longer use the div instruction.

Actually, you can still use div, but it's rather tricky.  There's some
code in libgcj to handle this very situation.

Andrew.


Reply via email to