aboutsummaryrefslogtreecommitdiff
path: root/contrib/gcc-changelog/git_commit.py
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2021-04-12 11:12:47 +0100
committerJonathan Wakely <jwakely@redhat.com>2021-04-12 11:34:19 +0100
commit29046e02b84a16b6315d952d7f76c502d0d021c2 (patch)
treec8215edd4ab47f9dff62067ddf96942e93b76db7 /contrib/gcc-changelog/git_commit.py
parentc02c39fad02c386f6e687e28282973f580fc95ac (diff)
downloadgcc-29046e02b84a16b6315d952d7f76c502d0d021c2.zip
gcc-29046e02b84a16b6315d952d7f76c502d0d021c2.tar.gz
gcc-29046e02b84a16b6315d952d7f76c502d0d021c2.tar.bz2
libstdc++: Fix test that fails in C++20 mode [PR 99995]
The 17_intro/headers/c++1998/49745.cc test fails for C++20 mode with PCH enabled, because PCH makes it include <bits/stdc++.h>, which includes <atomic>, and that includes <unistd.h> in C++20 mode. The <unistd.h> dependency should go away when C++20 atomic waiting is stable, but will probably remain while the feature is experimental. Change the test to always include <bits/stdc++.h>, and XFAIL for C++20 and later. libstdc++-v3/ChangeLog: PR libstdc++/99995 * testsuite/17_intro/headers/c++1998/49745.cc: Include all standard headers and XFAIL for effective-target c++20.
Diffstat (limited to 'contrib/gcc-changelog/git_commit.py')
0 files changed, 0 insertions, 0 deletions