This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC][4.4] PR rtl-optimization/3507 appalling optimization with sub/cmp


On Wed, Nov 28, 2007 at 11:15:25PM +0000, Joseph S. Myers wrote:
> On Wed, 28 Nov 2007, Joseph S. Myers wrote:
> 
> > I'm not clear what you want said about floating-point issues (something 
> > for a comment in the code about why it must be integer-only?), but for 
> > example inf == inf but inf - inf == NaN.
> 
> Correction: inf == inf is true, while inf - inf has the value NaN (not 0) 
> but "inf - inf == NaN" is false because NaN != NaN.

   Yes, exactly that sort of problems.

-- 
Rask Ingemann Lambertsen
Danish law requires addresses in e-mail to be logged and stored for a year


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]