From d637913b093e6321ac73472091f13e1f7fcb6efc Mon Sep 17 00:00:00 2001 From: nsz 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@235362 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/fortran/trans-common.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'gcc/fortran') diff --git a/gcc/fortran/trans-common.c b/gcc/fortran/trans-common.c index 44787aebfde..4fdccc90747 100644 --- a/gcc/fortran/trans-common.c +++ b/gcc/fortran/trans-common.c @@ -93,6 +93,7 @@ along with GCC; see the file COPYING3. If not see block for each merged equivalence list. */ #include "config.h" +#define INCLUDE_MAP #include "system.h" #include "coretypes.h" #include "tm.h" @@ -100,9 +101,6 @@ along with GCC; see the file COPYING3. If not see #include "gfortran.h" #include "trans.h" #include "stringpool.h" - -#include - #include "fold-const.h" #include "stor-layout.h" #include "varasm.h" -- cgit v1.2.1