[v3] Fix / clean-up config vs crosses (5/n): remove [GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT]

Paolo Carlini paolo.carlini@oracle.com
Sun Aug 24 16:05:00 GMT 2008


Hi,

in this case, I'm trying to remove something that seems very badly 
obsolete to me. First, of the various builtins checked only 4 results 
are actually used, in libmath/mathconf.h. In turn, the latter uses (in 
order to possibly replace normal library functions in math.h?!?) would 
be certainly unsafe these days, because 
[GLIBCXX_CHECK_BUILTIN_MATH_DECL_AND_LINKAGE_1] tries to compile and 
link calls with a compile-time constant argument, which are completely 
optimized out.

Thus, I'm going to wait until tomorrow in case I'm missing something, 
then will apply.

Paolo.

/////////////////////
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CL_config_5.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080824/68d04443/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_config_5.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080824/68d04443/attachment-0001.txt>


More information about the Gcc-patches mailing list