re PR go/86343 (types built by GO share TYPE_FIELDS in unsupported way)
authorIan Lance Taylor <iant@golang.org>
Thu, 28 Jun 2018 17:46:36 +0000 (17:46 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Thu, 28 Jun 2018 17:46:36 +0000 (17:46 +0000)
commita0e8e6308fa856a7783f4c60938f0c57521cb473
tree3630f8ff7b67ea7345ee488c2672d733ba4a7923
parent42c5d1212ff6544be1061d488aa7ebee9463c375
re PR go/86343 (types built by GO share TYPE_FIELDS in unsupported way)

PR go/86343
* go-gcc.cc (Gcc_backend::set_placeholder_struct_type): Call
build_variant_type_copy rather than build_distinct_type_copy.

From-SVN: r262225
gcc/go/ChangeLog
gcc/go/go-gcc.cc