This is the mail archive of the gcc@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: 3.0.1 Freeze


Mark,

	Is your proposal to define all of the values now extracted from
the system limits.h and float.h, e.g., LONG_MAX?  My patch already
corrected the digits values for normal targets.  You can get the normal
values for INT_MAX and LONG_MAX for 32-bit and 64-bit targets from any
standard system.

	limits_generic.h is a perfectly good starting point.  Your
proposal seems to collect the ifdef's at the top of the file to define all
of the values.

	The real work seems to be not defining __glibcpp_int_bits, etc.,
but determining the appropriate macro(s) to test in the OS configs for
sizes that change in different multilibs.  Many can be found in
gcc/glimits.h or in the definition of the CPP_SPEC macro for each target. 

David


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