aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2023-02-04 00:04:55 +0000
committerJonathan Wakely <jwakely@redhat.com>2023-02-06 14:23:47 +0000
commitc76f55bf330e7cb823cb850aa2694b355038625f (patch)
treefaad2e0bd4ca104bd6bda5f2a6f54bbd34389dc0 /gcc
parentaa02a69e15dfc4b276457b65fae283f1a06fb2a0 (diff)
downloadgcc-c76f55bf330e7cb823cb850aa2694b355038625f.zip
gcc-c76f55bf330e7cb823cb850aa2694b355038625f.tar.gz
gcc-c76f55bf330e7cb823cb850aa2694b355038625f.tar.bz2
libstdc++: Fix testsuite warnings about new C++23 deprecations
With the recent change to deprecate std::aligned_storage and std::aligned_union we need to adjust some tests that now fail with -std=c++23. libstdc++-v3/ChangeLog: * include/std/type_traits: Add diagnostic pragmas around references to deprecated std::aligned_storage and std::aligned_union traits. * testsuite/20_util/aligned_storage/requirements/alias_decl.cc: Add dg-warning for et c++23. * testsuite/20_util/aligned_storage/requirements/explicit_instantiation.cc: Likewise. * testsuite/20_util/aligned_storage/value.cc: Likewise. * testsuite/20_util/aligned_union/1.cc: Likewise. * testsuite/20_util/aligned_union/requirements/alias_decl.cc: Likewise.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions