PATCH (3.3 / libstdc++-v3): Fix libstdc++/7680
Loren James Rittle
rittle@latour.rsch.comm.mot.com
Tue Apr 15 09:35:00 GMT 2003
In article <200304150729.h3F7TKEE083728@latour.rsch.comm.mot.com>,
Loren James Rittle <rittle@latour.rsch.comm.mot.com> writes:
> libstdc++/7680
> * include/c_std/std_cmath.h (__gnu_cx::__c99_binding): New namespace.
> Populate it with multiple legal ways to obtain the C99 float
> transcendentals. Use them instead of direct global reference.
> (C99 FP capture): Guard usage with _GLIBCPP_USE_C99_FP_MACROS_DYNAMIC.
> * docs/html/17_intro/porting.texi
> (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
> (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
> (_GLIBCPP_USE_C99_FP_MACROS_DYNAMIC): New macro.
> * config/os/bsd/freebsd/os_defines.h
> (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_CHECK): New macro.
> (_GLIBCPP_USE_C99_FLOAT_TRANSCENDENTALS_DYNAMIC): New macro.
> * testsuite/26_numerics/c_math_dynamic.cc: New file.
Committed to the 3.3 branch under own approval rights; libstdc++/7680
re-closed. Fully rebuilt libstdc++-v3 tree from scratch in 3.3
bootstrap tree on i386-unknown-freebsd4.8, checked without regression
(of course, fixing new test case).
[Patch identical to that applied to mainline. Available in this thread.
cvs update -j1.6 -j1.7 include/c_std/std_cmath.h
cvs update -j1.9 -j1.10 docs/html/17_intro/porting.texi
cvs update -j1.2 -j1.3 config/os/bsd/freebsd/os_defines.h
cvs update -j1.1 testsuite/26_numerics/c_math_dynamic.cc]
More information about the Gcc-patches
mailing list