diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE index a905f583859972c02359377a49f3b259441176a4..74a0dba28f7f36d673d83ed369215a22df177f6a 100644 --- a/gcc/go/gofrontend/MERGE +++ b/gcc/go/gofrontend/MERGE @@ -1,4 +1,4 @@ -b0a46c2cdb915ddc4a4e401af9ef6eb2bcd4d4ea +89e46ae0cde7bebd8e97434355c5b7e57d902613 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/gogo.cc b/gcc/go/gofrontend/gogo.cc index 5dbe29da261a64ccc586172bd853daeacc9162ed..adc8e8a23632daa123227a02cb0de74b3b5f4f23 100644 --- a/gcc/go/gofrontend/gogo.cc +++ b/gcc/go/gofrontend/gogo.cc @@ -2498,6 +2498,8 @@ Specific_type_functions::type(Type* t) case Type::TYPE_NAMED: { Named_type* nt = t->named_type(); + if (nt->is_alias()) + return TRAVERSE_CONTINUE; if (t->needs_specific_type_functions(this->gogo_)) t->type_functions(this->gogo_, nt, NULL, NULL, &hash_fn, &equal_fn);