compiler: track placeholder pointer types for conversion
commit687bf0c68d861017db06643b788e4bf95fe09d4f
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 28 Jul 2017 18:03:29 +0000 (28 18:03 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 28 Jul 2017 18:03:29 +0000 (28 18:03 +0000)
tree331c793014022b2db3215daf49ba805b42c7133f
parent5731103c14d9676c2821fbea321434c02594a253
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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@250683 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/types.cc
gcc/go/gofrontend/types.h