diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2019-06-17 09:18:17 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2019-06-17 09:18:17 +0100 |
commit | 9a9c7a625d3813d062a6b17d071bd8cc9fe5cb8b (patch) | |
tree | aa317d58a6f20f203c9bfbd20061d1dc039ddd9e /gcc/tree-ssa-alias.c | |
parent | 61efadedfdc723491bc13cc33bf80bd262465cca (diff) | |
download | gcc-9a9c7a625d3813d062a6b17d071bd8cc9fe5cb8b.zip gcc-9a9c7a625d3813d062a6b17d071bd8cc9fe5cb8b.tar.gz gcc-9a9c7a625d3813d062a6b17d071bd8cc9fe5cb8b.tar.bz2 |
Fix tests that fail without PCH
The recent change to stop transitively including <string> broke some
tests, but only when the library is configured without PCH, because
otherwise the <string> header still gets included via the precompiled
<bits/stdc++.h> header.
* testsuite/20_util/bad_function_call/what.cc: Include <string> header
for std::string.
* testsuite/20_util/shared_ptr/cons/weak_ptr_expired.cc: Likewise.
* testsuite/20_util/tuple/cons/allocator_with_any.cc: Include <memory>
header for std::allocator.
* testsuite/23_containers/array/tuple_interface/tuple_element.cc: Add
using-declaration for std::size_t.
* testsuite/23_containers/array/tuple_interface/tuple_size.cc:
Likewise.
* testsuite/23_containers/deque/cons/55977.cc: Include <istream> for
std::istream.
* testsuite/23_containers/vector/cons/55977.cc: Likewise.
* testsuite/experimental/map/erasure.cc: Include <string> for
std::string.
* testsuite/experimental/unordered_map/erasure.cc: Likewise.
From-SVN: r272376
Diffstat (limited to 'gcc/tree-ssa-alias.c')
0 files changed, 0 insertions, 0 deletions