From 2c384ad87fc1963dbb9b2092dba08f99ddf32136 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Fri, 22 Apr 2016 11:00:42 +0000 Subject: [PATCH 2/2] (header usage fix) include c++ headers in system.h 2016-04-22 Szabolcs Nagy * system.h (list, map, set, vector): Include conditionally. * auto-profile.c (INCLUDE_MAP, INCLUDE_SET): Define. * graphite-isl-ast-to-gimple.c (INCLUDE_MAP): Define. * ipa-icf.c (INCLUDE_LIST): Define. * config/aarch64/cortex-a57-fma-steering.c (INCLUDE_LIST): Define. * config/sh/sh.c (INCLUDE_VECTOR): Define. * config/sh/sh_treg_combine.cc (INCLUDE_ALGORITHM): Define. (INCLUDE_LIST, INCLUDE_VECTOR): Define. * cp/logic.cc (INCLUDE_LIST): Define. * fortran/trans-common.c (INCLUDE_MAP): Define. From-SVN: r235362 --- gcc/ipa-icf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/ipa-icf.c') diff --git a/gcc/ipa-icf.c b/gcc/ipa-icf.c index aa6589c..dda5cac 100644 --- a/gcc/ipa-icf.c +++ b/gcc/ipa-icf.c @@ -52,6 +52,7 @@ along with GCC; see the file COPYING3. If not see */ #include "config.h" +#define INCLUDE_LIST #include "system.h" #include "coretypes.h" #include "backend.h" @@ -66,7 +67,6 @@ along with GCC; see the file COPYING3. If not see #include "coverage.h" #include "gimple-pretty-print.h" #include "data-streamer.h" -#include #include "fold-const.h" #include "calls.h" #include "varasm.h" -- cgit v1.1