diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2021-11-10 11:43:46 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2021-11-10 12:03:29 +0000 |
commit | 77963796aef8aa07993c0bc757c15848fab7432a (patch) | |
tree | 5f61b6b7ac54cb39422143dc81d22dd364c822cb /gcc/tree-vectorizer.c | |
parent | 80fe172ba9820199c2bbce5d0611ffca27823049 (diff) | |
download | gcc-77963796aef8aa07993c0bc757c15848fab7432a.zip gcc-77963796aef8aa07993c0bc757c15848fab7432a.tar.gz gcc-77963796aef8aa07993c0bc757c15848fab7432a.tar.bz2 |
libstdc++: Fix test for libstdc++ not including <unistd.h> [PR100117]
The <cxxx> headers for the C library are not under our control, so we
can't prevent them from including <unistd.h>. Change the PR 49745 test
to only include the C++ library headers, not the <cxxx> ones.
To ensure <bits/stdc++.h> isn't included automatically we need to use
no_pch to disable PCH.
libstdc++-v3/ChangeLog:
PR libstdc++/100117
* testsuite/17_intro/headers/c++1998/49745.cc: Explicitly list
all C++ headers instead of including <bits/stdc++.h>
Diffstat (limited to 'gcc/tree-vectorizer.c')
0 files changed, 0 insertions, 0 deletions