This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r262830 - in /trunk/gcc/go/gofrontend: MERGE ty...
- From: ian at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 17 Jul 2018 17:21:10 -0000
- Subject: r262830 - in /trunk/gcc/go/gofrontend: MERGE ty...
Author: ian
Date: Tue Jul 17 17:21:10 2018
New Revision: 262830
URL: https://gcc.gnu.org/viewcvs?rev=262830&root=gcc&view=rev
Log:
compiler: connect the concrete type and the placeholder for circular types
Previously, when creating the backend representation of a
circular type, we resolve the placeholder to a
circular_pointer_type. The backend doesn't know what the
concrete type is.
This CL changes it to resolve the placeholder to the concrete
type instead, so the backend may have better knowledge of the
concrete type.
Reviewed-on: https://go-review.googlesource.com/123738
Modified:
trunk/gcc/go/gofrontend/MERGE
trunk/gcc/go/gofrontend/types.cc
trunk/gcc/go/gofrontend/types.h