https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81037
--- Comment #13 from Iain Sandoe <iains at gcc dot gnu.org> --- Author: iains Date: Mon Sep 25 23:49:58 2017 New Revision: 253181 URL: https://gcc.gnu.org/viewcvs?rev=253181&root=gcc&view=rev Log: [Patch, Darwin] Fix 81037 by adjutng headers 2017-09-26 Iain Sandoe <i...@codesourcery.com> Ryan Mounce <r...@mounce.com.au> PR bootstrap/81037 Backport from mainline r235362 2016-04-22 Szabolcs Nagy <szabolcs.n...@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. * ipa-icf-gimple.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. * fortran/trans-common.c (INCLUDE_MAP): Define. Backport from mainline r235361 2016-04-22 Szabolcs Nagy <szabolcs.n...@arm.com> * auto-profile.c: Remove <string.h> include. * diagnostic.c: Remove <new> include. * genmatch.c: Likewise. * pretty-print.c: Likewise. * toplev.c: Likewise * c/c-objc-common.c: Likewise. * cp/error.c: Likewise. * fortran/error.c: Likewise. Modified: branches/gcc-5-branch/gcc/ChangeLog branches/gcc-5-branch/gcc/auto-profile.c branches/gcc-5-branch/gcc/c/c-objc-common.c branches/gcc-5-branch/gcc/config/sh/sh.c branches/gcc-5-branch/gcc/config/sh/sh_treg_combine.cc branches/gcc-5-branch/gcc/cp/error.c branches/gcc-5-branch/gcc/diagnostic.c branches/gcc-5-branch/gcc/fortran/error.c branches/gcc-5-branch/gcc/fortran/trans-common.c branches/gcc-5-branch/gcc/genmatch.c branches/gcc-5-branch/gcc/graphite-isl-ast-to-gimple.c branches/gcc-5-branch/gcc/ipa-icf-gimple.c branches/gcc-5-branch/gcc/ipa-icf.c branches/gcc-5-branch/gcc/pretty-print.c branches/gcc-5-branch/gcc/system.h branches/gcc-5-branch/gcc/toplev.c