system.h (string, algorithm): Include only conditionally.
authorMichael Matz <matz@suse.de>
Fri, 22 Jan 2016 16:44:10 +0000 (16:44 +0000)
committerMichael Matz <matz@gcc.gnu.org>
Fri, 22 Jan 2016 16:44:10 +0000 (16:44 +0000)
commit017360184d9eabff8d1479b3ed09bd1a5b11ff11
tree93cc6b7235cf5430477fce1662a210a0904b17e9
parent6041f70ae3c9822a41046a7826c1d33818d346bd
system.h (string, algorithm): Include only conditionally.

* system.h (string, algorithm): Include only conditionally.
(new): Include always under C++.
* bb-reorder.c (toplevel): Define INCLUDE_ALGORITHM.
* final.c (toplevel): Ditto.
* ipa-chkp.c (toplevel): Define INCLUDE_STRING.
* genconditions.c (write_header): Make gencondmd.c define
INCLUDE_STRING.
* mem-stats.h (mem_usage::print_dash_line): Don't use std::string.

* config/aarch64/aarch64.c (toplevel): Define INCLUDE_STRING.
* common/config/aarch64/aarch64-common.c (toplevel): Ditto.

From-SVN: r232736
gcc/ChangeLog
gcc/bb-reorder.c
gcc/common/config/aarch64/aarch64-common.c
gcc/config/aarch64/aarch64.c
gcc/final.c
gcc/genconditions.c
gcc/ipa-chkp.c
gcc/mem-stats.h
gcc/system.h