The build fails on x86_64-apple-darwin19.6.0 starting with
5b6d5a886ee because
vector is included after system.h and runs into poisoned identifiers.
This patch fixes this by defining INCLUDE_VECTOR before including system.h.
Validated by doing a full build on x86_64-apple-darwin19.6.0.
gcc/lto/ChangeLog:
* lto-partition.cc: Define INCLUDE_VECTOR to avoid running into
poisoned identifiers.
<http://www.gnu.org/licenses/>. */
#include "config.h"
+#define INCLUDE_VECTOR
#include "system.h"
#include "coretypes.h"
#include "target.h"
#include "lto-partition.h"
#include <limits>
-#include <vector>
vec<ltrans_partition> ltrans_partitions;