From 218e2a54e00f70950f441ded237cba8b07466816 Mon Sep 17 00:00:00 2001 From: Oleg Endo Date: Sun, 21 Jan 2018 05:03:26 +0000 Subject: [PATCH] re PR target/80870 (ICE building 7.1.0 sh-elf crosscompiler on macOS) PR target/80870 * config/sh/rx/rx.c (config/sh/sh_optimize_sett_clrt.cc): Use INCLUDE_ALGORITHM and INCLUDE_VECTOR instead of direct includes. From-SVN: r256926 --- gcc/ChangeLog | 6 ++++++ gcc/config/sh/sh_optimize_sett_clrt.cc | 5 ++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f41e1ad..837c874 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2018-01-21 Oleg Endo + + PR target/80870 + * config/sh/rx/rx.c (config/sh/sh_optimize_sett_clrt.cc): + Use INCLUDE_ALGORITHM and INCLUDE_VECTOR instead of direct includes. + 2018-01-20 Richard Sandiford PR tree-optimization/83940 diff --git a/gcc/config/sh/sh_optimize_sett_clrt.cc b/gcc/config/sh/sh_optimize_sett_clrt.cc index 3349d6c..1c11270 100644 --- a/gcc/config/sh/sh_optimize_sett_clrt.cc +++ b/gcc/config/sh/sh_optimize_sett_clrt.cc @@ -20,6 +20,8 @@ along with GCC; see the file COPYING3. If not see #define IN_TARGET_CODE 1 #include "config.h" +#define INCLUDE_ALGORITHM +#define INCLUDE_VECTOR #include "system.h" #include "coretypes.h" #include "backend.h" @@ -29,9 +31,6 @@ along with GCC; see the file COPYING3. If not see #include "cfgrtl.h" #include "tree-pass.h" -#include -#include - /* This pass tries to eliminate unnecessary sett or clrt instructions in cases where the ccreg value is already known to be the same as the constant set -- 2.7.4