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
This commit is contained in:
Oleg Endo 2018-01-21 05:03:26 +00:00
parent c6bff8ada6
commit 218e2a54e0
2 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,9 @@
2018-01-21 Oleg Endo <olegendo@gcc.gnu.org>
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 <richard.sandiford@linaro.org>
PR tree-optimization/83940

View file

@ -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 <vector>
#include <algorithm>
/*
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