PR libstdc++/85672 #undef _GLIBCXX_USE_FLOAT128 when not supported
authorJonathan Wakely <jwakely@redhat.com>
Tue, 8 May 2018 13:05:04 +0000 (14:05 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 8 May 2018 13:05:04 +0000 (14:05 +0100)
commit41c3db9f28afae381b1f4cb18ac370fcd3da8706
tree7b0c280cb05498d6ea41e292526e3a0549cfed2a
parent50e461dfe37e66bff2a2932480fb041743cdd93c
PR libstdc++/85672 #undef _GLIBCXX_USE_FLOAT128 when not supported

Restore the behaviour in GCC 8 and earlier where _GLIBCXX_USE_FLOAT128
is not defined when configure detects support is missing. This avoids
having three states where the macro is either 1, 0, or undefined.

PR libstdc++/85672
* include/Makefile.am [!ENABLE_FLOAT128]: Change c++config.h entry
to #undef _GLIBCXX_USE_FLOAT128 instead of defining it to zero.
* include/Makefile.in: Regenerate.
* include/bits/c++config (_GLIBCXX_USE_FLOAT128): Move definition
within conditional block.

From-SVN: r260043
libstdc++-v3/ChangeLog
libstdc++-v3/include/Makefile.am
libstdc++-v3/include/Makefile.in
libstdc++-v3/include/bits/c++config