compiler: use the underlying type to build placeholder type for alias
commit68005003c6a1c48576087e490d200df04a6b18d3
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 1 Oct 2018 22:25:52 +0000 (1 22:25 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 1 Oct 2018 22:25:52 +0000 (1 22:25 +0000)
tree132eb9ea3cc5a9e9e7d876aacfc78e9cc7c0e895
parent0caa25c9c649b2f8c7215702cafcd2f28b355a0c
compiler: use the underlying type to build placeholder type for alias

    When asking for a placeholder type of an alias type, build a
    placeholder for the underlying type, instead of treating the
    alias as a named type and calling get_backend. The latter may
    fail as we may not be ready to build a complete backend type. We
    have already used a unified backend type for alias type and its
    underlying type. Do the same for placeholders as well.

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

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