aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2023-11-09 21:50:34 +0000
committerJonathan Wakely <jwakely@redhat.com>2023-11-11 00:41:09 +0000
commit94cc8e9d6f9f186d5fb1ca68fdf55e3c8090f3f6 (patch)
tree47c5d863a4dddff056fc2f79cd27e001508b0364 /gcc
parent090589e84b04753a1bc99cdeeaadaf361555cb83 (diff)
downloadgcc-94cc8e9d6f9f186d5fb1ca68fdf55e3c8090f3f6.zip
gcc-94cc8e9d6f9f186d5fb1ca68fdf55e3c8090f3f6.tar.gz
gcc-94cc8e9d6f9f186d5fb1ca68fdf55e3c8090f3f6.tar.bz2
libstdc++: Fix test that fails with -ffreestanding
The -ffreestanding option disables Debug Mode, forcibly #undef'ing _GLIBCXX_DEBUG. This means that the dangling checks in std::pair are disabled for -ffreestanding in C++17 and earlier, because they depend on _GLIBCXX_DEBUG. Adjust the target specifiers for the errors currently matching c++17_down so they also require the hosted effective target. libstdc++-v3/ChangeLog: * testsuite/20_util/pair/dangling_ref.cc: Add hosted effective target for specifiers using c++17_down.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions