compiler: don't set btype_ too early for alias type
commit24496dbd15b6ca5b543e1c21be10c0b14e30d259
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Jul 2018 18:27:22 +0000 (17 18:27 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Jul 2018 18:27:22 +0000 (17 18:27 +0000)
tree213242c614addd37def16a072bbf681bb8ec643c
parentd6148817539c67f49a91e1905a2381153d7cfb92
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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@262833 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/types.cc