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]

Re: Respin: C/C++/ObjC numeric constant parsing overhaul


On Sat, Oct 13, 2001 at 01:56:49AM +0100, Joseph S. Myers wrote:
> On Thu, 11 Oct 2001, Zack Weinberg wrote:
> 
> > A quick summary: this unifies the numeric-constant parsing code
> > between the C-family front ends and cpplib, and implements the C99
> > type selection rules.
> 
> The part of gcc.texi reading
> 
> 	@item
> 	@code{-2147483648} is positive.
> 
> 	This is because 2147483648 cannot fit in the type @code{int}, so
> 	(following the ISO C rules) its data type is @code{unsigned long int}.
> 	Negating this value yields 2147483648 again.
> 
> needs updating to discuss the differences between the C89 and C99 rules.

This chunk of the documentation is very old and I'm not sure it is
that useful anymore.  I agree we need a general "differences between
C89 and C99" section of the manual, also possibly "differences between
C99 and very similar but not identical GNU extensions", but I don't
think it comes out of this section.

zw


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