diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2022-03-28 11:39:21 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2022-03-29 10:06:33 +0100 |
commit | 7255d29c577106c14e42a9c3c88fc6fa6b6e4ecf (patch) | |
tree | a3e286b74e5d9998a1b354c6d362cf477e67a065 /libgcc/offloadstuff.c | |
parent | 35464c790382b0ed53c6fd5cc07855b0d3644ab9 (diff) | |
download | gcc-7255d29c577106c14e42a9c3c88fc6fa6b6e4ecf.zip gcc-7255d29c577106c14e42a9c3c88fc6fa6b6e4ecf.tar.gz gcc-7255d29c577106c14e42a9c3c88fc6fa6b6e4ecf.tar.bz2 |
libstdc++: Fix incorrect preprocessor conditions in <version>
The conditions that guard the feature test macros in <version> should
match the main definitions of the macros in other headers.
This doesn't matter for GCC, because it supports all the conditions
being tested here, but it does matter for non-GCC compilers without the
relevant C++20 features.
libstdc++-v3/ChangeLog:
* include/std/version (__cpp_lib_variant): Fix conditions to
match <variant>.
(__cpp_lib_expected): Fix condition to match <expected>.
Diffstat (limited to 'libgcc/offloadstuff.c')
0 files changed, 0 insertions, 0 deletions