aboutsummaryrefslogtreecommitdiff
path: root/gcc/genconditions.c
diff options
context:
space:
mode:
authorMichael Matz <matz@suse.de>2016-01-22 16:44:10 +0000
committerMichael Matz <matz@gcc.gnu.org>2016-01-22 16:44:10 +0000
commit017360184d9eabff8d1479b3ed09bd1a5b11ff11 (patch)
tree93cc6b7235cf5430477fce1662a210a0904b17e9 /gcc/genconditions.c
parent6041f70ae3c9822a41046a7826c1d33818d346bd (diff)
downloadgcc-017360184d9eabff8d1479b3ed09bd1a5b11ff11.zip
gcc-017360184d9eabff8d1479b3ed09bd1a5b11ff11.tar.gz
gcc-017360184d9eabff8d1479b3ed09bd1a5b11ff11.tar.bz2
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
Diffstat (limited to 'gcc/genconditions.c')
-rw-r--r--gcc/genconditions.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/genconditions.c b/gcc/genconditions.c
index ab07552..8abf1c2 100644
--- a/gcc/genconditions.c
+++ b/gcc/genconditions.c
@@ -51,6 +51,7 @@ write_header (void)
machine description file. */\n\
\n\
#include \"bconfig.h\"\n\
+#define INCLUDE_STRING\n\
#include \"system.h\"\n\
\n\
/* It is necessary, but not entirely safe, to include the headers below\n\