Fixes https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81037

Bootstrap now succeeds using Xcode 9 toolchain.

Tested on macOS 10.13 beta, however same issue reported on macOS 10.12
with Xcode 9.

Ryan Mounce (2):
  (header usage fix) remove unused system header includes
  (header usage fix) include c++ headers in system.h

 gcc/ChangeLog                    | 29 +++++++++++++++++++++++++++++
 gcc/auto-profile.c               |  6 ++----
 gcc/c/c-objc-common.c            |  2 --
 gcc/config/sh/sh.c               |  2 +-
 gcc/config/sh/sh_treg_combine.cc |  7 +++----
 gcc/cp/error.c                   |  2 --
 gcc/diagnostic.c                 |  2 --
 gcc/fortran/error.c              |  2 --
 gcc/fortran/trans-common.c       |  2 +-
 gcc/genmatch.c                   |  1 -
 gcc/graphite-isl-ast-to-gimple.c |  2 +-
 gcc/ipa-icf-gimple.c             |  2 +-
 gcc/ipa-icf.c                    |  2 +-
 gcc/pretty-print.c               |  2 --
 gcc/system.h                     | 12 ++++++++++++
 gcc/toplev.c                     |  2 --
 16 files changed, 51 insertions(+), 26 deletions(-)

-- 
2.13.2 (Apple Git-90)

Reply via email to