compiler: build a single backend type for type alias
commite3d44c9a7cc6cc18ca9c81d1828bb7868483a25e
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 12 Jul 2018 04:18:48 +0000 (12 04:18 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 12 Jul 2018 04:18:48 +0000 (12 04:18 +0000)
treea59b85139c2d6eedc3ad0833e554d8535f68aa43
parentfd542804d5195bc9139488aeb5907bf00428ee10
compiler: build a single backend type for type alias

    A type alias and its underlying type are identical. Build a
    single backend type for them. Previously we build two backend
    types, which sometimes confuse the backend's type system.

    Also don't include type aliases into the list of named type
    declarations, since they are not named types.

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

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