[PATCH 2/2] (header usage fix) include c++ headers in system.h
authornsz <nsz@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 Apr 2016 11:09:22 +0000 (11:09 +0000)
committernsz <nsz@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 Apr 2016 11:09:22 +0000 (11:09 +0000)
commitec8c949f8f296d1270fc41404175cd7249df4cd4
treeefccf3ae7269632fa2d55214aa3d27d7fde79db1
parent49622efa89937fa310add53b1efb50273ec0d857
[PATCH 2/2] (header usage fix) include c++ headers in system.h

cherry picked from trunk r235362

2016-04-22  Szabolcs Nagy  <szabolcs.nagy@arm.com>

* 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/branches/gcc-6-branch@235364 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/auto-profile.c
gcc/config/aarch64/cortex-a57-fma-steering.c
gcc/config/sh/sh.c
gcc/config/sh/sh_treg_combine.cc
gcc/cp/logic.cc
gcc/fortran/trans-common.c
gcc/graphite-isl-ast-to-gimple.c
gcc/ipa-icf.c
gcc/system.h