From 1eac10b39f164c3010fe8fee2fed3269fa832967 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 9 Jan 2018 17:21:01 +0000 Subject: [PATCH] compiler: use macro Unordered_map instead of std::unordered_map Per gcc/go/go-system.h, this is what it is supposed to be, to support wider platforms. Reviewed-on: https://go-review.googlesource.com/85975 From-SVN: r256389 --- gcc/go/gofrontend/MERGE | 2 +- gcc/go/gofrontend/escape.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE index d836309e6a0..9ed20786aba 100644 --- a/gcc/go/gofrontend/MERGE +++ b/gcc/go/gofrontend/MERGE @@ -1,4 +1,4 @@ -dbc0c7e4329aada2ae3554c20cfb8cfa48041213 +0445dc01fd75325ff99f839cfaab29cb9f2a1f97 The first line of this file holds the git revision number of the last merge done from the gofrontend repository. diff --git a/gcc/go/gofrontend/escape.cc b/gcc/go/gofrontend/escape.cc index 870680860d5..50878ff9bfc 100644 --- a/gcc/go/gofrontend/escape.cc +++ b/gcc/go/gofrontend/escape.cc @@ -858,7 +858,7 @@ Gogo::analyze_escape() // Propagate levels across each dst. This is the flood phase. std::set dsts = context->dsts(); - std::unordered_map escapes; + Unordered_map(Node*, int) escapes; for (std::set::iterator n = dsts.begin(); n != dsts.end(); ++n) -- 2.30.2