compiler: emit type specific functions for aliases
commitb792515b79657006c2e5a5ee46d487b7cef3ff15
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Sep 2017 03:51:21 +0000 (14 03:51 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 14 Sep 2017 03:51:21 +0000 (14 03:51 +0000)
tree370f8d0a41e4dd4390ca82e1e1c209f21c2f9f41
parenta7c5b619f56467413bf15d0ac8ba30d04e3424e8
compiler: emit type specific functions for aliases

    If we have an alias for a struct or array that requires a
    type-specific function, don't emit the function with the alias name.
    Emit it with the struct/array as usual.

    Test case is https://golang.org/cl/62531.

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

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