This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: PATCH: Use __LONG_LONG_MAX__ if LONG_LONG_MIN etc are not available
Loren James Rittle <rittle@latour.rsch.comm.mot.com> writes:
| This is the path of logic which was known to fix the current bootstrap
| problem on armv4l-*-linux-gnu but I haven't retested it there myself.
Thanks for all, Loren.
The correct behaviour of src/gen-num-limits.cc is so tied to GCC (and
I expect increasing coupling when I'll check in patches to finish
proper numeric_limits<> support) that I don't think it hurts to use
unconditionally __LONG_LONG_MAX__.
-- Gaby
CodeSourcery, LLC http://www.codesourcery.com