compiler: don't set btype_ too early for alias type
authorIan Lance Taylor <ian@gcc.gnu.org>
Tue, 17 Jul 2018 18:27:22 +0000 (18:27 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 17 Jul 2018 18:27:22 +0000 (18:27 +0000)
commita7385f1c0eb0986f7d6bc68ea3f26e5a96f50c80
tree213242c614addd37def16a072bbf681bb8ec643c
parent0c86a39db2888ddd17b21d0822b0907e4661d8b6
compiler: don't set btype_ too early for alias type

    CL 123362 introduced a bug in creating alias type's backend
    representation. A type's btype_ should not be set before
    named types are converted if it is a placeholder. For alias
    type, it is set too early. This may result in unresolved
    placeholders. This CL fixes it.

    Reviewed-on: https://go-review.googlesource.com/123975

From-SVN: r262833
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/types.cc