diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2019-06-06 16:34:56 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2019-06-06 16:34:56 +0100 |
commit | beb0086f592563ddd2b14444d4e2495b17b1d4bf (patch) | |
tree | 52e05cb8ed1b2cfac025a2012728c4fa8b8f6a8c /gcc/tree-sra.c | |
parent | ad60f42883a5641d4d8e7f5e9017b473cec29f93 (diff) | |
download | gcc-beb0086f592563ddd2b14444d4e2495b17b1d4bf.zip gcc-beb0086f592563ddd2b14444d4e2495b17b1d4bf.tar.gz gcc-beb0086f592563ddd2b14444d4e2495b17b1d4bf.tar.bz2 |
Avoid unnecessary inclusion of <stdexcept> header
This can greatly reduce the amount of preprocessed code that is included
by other headers, because <stdexcept> depends on <string> which is huge.
* include/std/array: Do not include <stdexcept>.
* include/std/optional: Include <exception> and
<bits/exception_defines.h> instead of <stdexcept>.
* testsuite/20_util/function_objects/searchers.cc: Include <cctype>
for std::isalnum.
* testsuite/20_util/tuple/cons/deduction.cc: Include <memory> for
std::allocator.
* testsuite/23_containers/map/erasure.cc: Include <string>.
* testsuite/23_containers/unordered_map/erasure.cc: Likewise.
From-SVN: r272011
Diffstat (limited to 'gcc/tree-sra.c')
0 files changed, 0 insertions, 0 deletions