summaryrefslogtreecommitdiff
path: root/gcc/final.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/final.c
parent6041f70ae3c9822a41046a7826c1d33818d346bd (diff)
downloadgcc-017360184d9eabff8d1479b3ed09bd1a5b11ff11.tar.gz
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/final.c')
-rw-r--r--gcc/final.c1
1 files changed, 1 insertions, 0 deletions
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"