r252151 - in /branches/range-gen2/gcc/go/gofron...
aldyh@gcc.gnu.org
aldyh@gcc.gnu.org
Wed Sep 13 15:59:00 GMT 2017
Author: aldyh
Date: Wed Sep 13 15:59:01 2017
New Revision: 252151
URL: https://gcc.gnu.org/viewcvs?rev=252151&root=gcc&view=rev
Log:
compiler: track placeholder pointer types for conversion
We recently started walking through the hash table of pointer types to
finalize them. Unfortunately it is possible to create a new pointer
type while finalizing an existing one (test case: test/fixedbugs/issue5291)
and that breaks the iteration. So, instead, keep a list of
placeholder pointer types, and iterate through them while permitting
the list to be extended as we go.
Reviewed-on: https://go-review.googlesource.com/51771
Modified:
branches/range-gen2/gcc/go/gofrontend/MERGE
branches/range-gen2/gcc/go/gofrontend/types.cc
branches/range-gen2/gcc/go/gofrontend/types.h
More information about the Gcc-cvs
mailing list