From 017360184d9eabff8d1479b3ed09bd1a5b11ff11 Mon Sep 17 00:00:00 2001 From: Michael Matz Date: Fri, 22 Jan 2016 16:44:10 +0000 Subject: 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/final.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gcc/final.c') diff --git a/gcc/final.c b/gcc/final.c index 7af6b612ec7..55cf509611f 100644 --- a/gcc/final.c +++ b/gcc/final.c @@ -43,6 +43,7 @@ along with GCC; see the file COPYING3. If not see function_epilogue. Those instructions never exist as rtl. */ #include "config.h" +#define INCLUDE_ALGORITHM /* reverse */ #include "system.h" #include "coretypes.h" #include "backend.h" -- cgit v1.2.1