diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2019-01-15 12:01:12 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2019-01-15 12:01:12 +0000 |
commit | 56a9eaf9abc9a7994c7e5f2ec157abace9b96167 (patch) | |
tree | fe976a899f0c5d90d9756a0fabc4404ca56b2ad2 /gcc/tree-if-conv.c | |
parent | 04fdd1fdec04e23a19450e4cd0e08d88fa0198ac (diff) | |
download | gcc-56a9eaf9abc9a7994c7e5f2ec157abace9b96167.zip gcc-56a9eaf9abc9a7994c7e5f2ec157abace9b96167.tar.gz gcc-56a9eaf9abc9a7994c7e5f2ec157abace9b96167.tar.bz2 |
Fix missing or incorrect feature test macros
* doc/xml/manual/status_cxx2017.xml: Document P0032R3 and P0307R2
status.
* include/bits/stl_uninitialized.h (__cpp_lib_raw_memory_algorithms):
Define.
* include/std/any (__cpp_lib_any): Define as 201606L, because P0032R3
changes are supported.
* include/std/optional (__cpp_lib_optional): Likewise.
* include/std/variant (__cpp_lib_variant): Likewise.
* include/std/version [!__STRICT_ANSI__]
(__cpp_lib_uncaught_exceptions): Define as long integer.
[__cplusplus >= 201703L] (__cpp_lib_any)
(__cpp_lib_raw_memory_algorithms, __cpp_lib_uncaught_exceptions)
(__cpp_lib_variant): Define for C++17.
[__cplusplus >= 201703L] (__cpp_lib_optional): Update value and define
as long integer.
* libsupc++/exception (__cpp_lib_uncaught_exceptions): Define as long
integer.
From-SVN: r267936
Diffstat (limited to 'gcc/tree-if-conv.c')
0 files changed, 0 insertions, 0 deletions