3.0.1 Freeze
David Edelsohn
dje@watson.ibm.com
Mon Aug 6 18:38:00 GMT 2001
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
More information about the Gcc
mailing list