GCC 3.0.3 PRs

Joe Buck jbuck@synopsys.COM
Mon Dec 10 11:28:00 GMT 2001


> > There's already a fix in the trunk, but it appears to be incorrect and slow.
> 
> If it's incorrect, file a bug report in GNATS. 

The audit trail for 3720 already has a claim of a bug report:

 > 3. Trying the code, input of std::numeric_limits<T>::max() in octal or
 > hex doesn't appear to work for integers, e.g. reading 017777777777
 > into a long on x86 doesn't work, it appears to accept one character
 > too few. Decimal works.
 
You wrote:

> Not quite sure what you mean here, can you provide this problem 
> statement in C++ please.
 
He's saying that trying to read 017777777777 into a long does not work.
Seems clear to me ... but someone else (Paolo?) said that he couldn't
duplicate the report.  I will try it myself after lunch today.

Joe



More information about the Gcc mailing list