compiler: emit type specific functions for aliases
authorIan Lance Taylor <ian@gcc.gnu.org>
Thu, 14 Sep 2017 03:51:21 +0000 (03:51 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Thu, 14 Sep 2017 03:51:21 +0000 (03:51 +0000)
commit03ff36aa01bd359f74cbd1f2afec569ce0b77a15
tree370f8d0a41e4dd4390ca82e1e1c209f21c2f9f41
parentce64a8b4a2334fd6982a21d1ab020a1108562f6b
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

From-SVN: r252747
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/gogo.cc