aboutsummaryrefslogtreecommitdiff
path: root/gcc/prefix.h
diff options
context:
space:
mode:
authorThomas Schwinge <thomas@codesourcery.com>2023-11-28 17:30:13 +0100
committerThomas Schwinge <thomas@codesourcery.com>2023-11-29 14:12:56 +0100
commit762b428815d4e762abdff5c1ffc1e9aa60da7870 (patch)
tree24eec5406695ef0afd4601d58bd19362fc15537d /gcc/prefix.h
parent11ee1fb3e30cebc28d8693374b3b512456a77165 (diff)
downloadgcc-762b428815d4e762abdff5c1ffc1e9aa60da7870.zip
gcc-762b428815d4e762abdff5c1ffc1e9aa60da7870.tar.gz
gcc-762b428815d4e762abdff5c1ffc1e9aa60da7870.tar.bz2
Fix '23_containers/span/at.cc' for '-fno-exceptions' configurations
Added in recent commit 1fa85dcf656e2f2c7e483c9ed3c2680bf7db6858 "libstdc++: Add std::span::at for C++26 (P2821R5)", the test case already does use '#if __cpp_exceptions', but failed to correspondingly guard the 'dg-warning' directives, resulting in: FAIL: 23_containers/span/at.cc -std=gnu++26 (test for warnings, line 15) FAIL: 23_containers/span/at.cc -std=gnu++26 (test for warnings, line 26) PASS: 23_containers/span/at.cc -std=gnu++26 (test for excess errors) PASS: 23_containers/span/at.cc -std=gnu++26 execution test libstdc++-v3/ * testsuite/23_containers/span/at.cc: Fix for '-fno-exceptions' configurations.
Diffstat (limited to 'gcc/prefix.h')
0 files changed, 0 insertions, 0 deletions