backport: re PR target/80870 (ICE building 7.1.0 sh-elf crosscompiler on macOS)
Backport from mainline 2018-01-21 Oleg Endo <olegendo@gcc.gnu.org> PR target/80870 * config/sh/sh_optimize_sett_clrt.cc: Use INCLUDE_ALGORITHM and INCLUDE_VECTOR instead of direct includes. From-SVN: r256928
This commit is contained in:
parent
58c5da1013
commit
2b34fcaf99
|
@ -1,3 +1,12 @@
|
|||
2018-01-21 Oleg Endo <olegendo@gcc.gnu.org>
|
||||
|
||||
Backport from mainline
|
||||
2018-01-21 Oleg Endo <olegendo@gcc.gnu.org>
|
||||
|
||||
PR target/80870
|
||||
* config/sh/sh_optimize_sett_clrt.cc:
|
||||
Use INCLUDE_ALGORITHM and INCLUDE_VECTOR instead of direct includes.
|
||||
|
||||
2018-01-17 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
|
||||
|
||||
Backport from mainline
|
||||
|
|
|
@ -18,6 +18,8 @@ along with GCC; see the file COPYING3. If not see
|
|||
<http://www.gnu.org/licenses/>. */
|
||||
|
||||
#include "config.h"
|
||||
#define INCLUDE_ALGORITHM
|
||||
#define INCLUDE_VECTOR
|
||||
#include "system.h"
|
||||
#include "coretypes.h"
|
||||
#include "backend.h"
|
||||
|
@ -27,9 +29,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
|
||||
|
|
Loading…
Reference in New Issue