[Bug go/86343] types built by GO share TYPE_FIELDS in unsupported way
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86343 --- Comment #3 from ian at gcc dot gnu.org --- Author: ian Date: Wed Jan 9 23:38:55 2019 New Revision: 267789 URL: https://gcc.gnu.org/viewcvs?rev=267789=gcc=rev Log: PR go/86343 * go-gcc.cc (Gcc_backend::set_placeholder_struct_type): Go back to build_distinct_type_copy, but copy the fields so that they have the right DECL_CONTEXT. Modified: trunk/gcc/go/ChangeLog trunk/gcc/go/go-gcc.cc
[Bug go/86343] types built by GO share TYPE_FIELDS in unsupported way
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86343 Ian Lance Taylor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #2 from Ian Lance Taylor --- Should be fixed. Sorry for the problem.
[Bug go/86343] types built by GO share TYPE_FIELDS in unsupported way
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86343 --- Comment #1 from ian at gcc dot gnu.org --- Author: ian Date: Thu Jun 28 17:46:36 2018 New Revision: 262225 URL: https://gcc.gnu.org/viewcvs?rev=262225=gcc=rev Log: PR go/86343 * go-gcc.cc (Gcc_backend::set_placeholder_struct_type): Call build_variant_type_copy rather than build_distinct_type_copy. Modified: trunk/gcc/go/ChangeLog trunk/gcc/go/go-gcc.cc