bug-autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Autoconf manual's coverage of signed integer overflow & portability


From: Andrew Haley
Subject: Re: Autoconf manual's coverage of signed integer overflow & portability
Date: Wed, 3 Jan 2007 10:07:00 +0000

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

[Prev in Thread] Current Thread [Next in Thread]