diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2019-09-10 20:25:32 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2019-09-10 20:25:32 +0000 |
commit | a1fc3891ebb77c1bdf68ce70c074eb907d21771a (patch) | |
tree | a024cf28fec03c64a811a8e271913a0150ce5b5a /gcc/go | |
parent | d7fb4c3162307590c0babddcea4fb60c07a7c033 (diff) | |
download | gcc-a1fc3891ebb77c1bdf68ce70c074eb907d21771a.zip gcc-a1fc3891ebb77c1bdf68ce70c074eb907d21771a.tar.gz gcc-a1fc3891ebb77c1bdf68ce70c074eb907d21771a.tar.bz2 |
go/internal/gccgoimporter: support embedded field in pointer loop
Backport of https://golang.org/cl/194440. Original description:
If an embedded field refers to a type via a pointer, the parser needs
to know the name of the embedded field. It is possible that the
pointer type is not yet resolved. This CL fixes the parser to handle
that case by setting the pointer element type to the unresolved named
type while the pointer is being resolved.
Updates golang/go#34182
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/194562
From-SVN: r275606
Diffstat (limited to 'gcc/go')
-rw-r--r-- | gcc/go/gofrontend/MERGE | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE index 183dac5..5591c1d 100644 --- a/gcc/go/gofrontend/MERGE +++ b/gcc/go/gofrontend/MERGE @@ -1,4 +1,4 @@ -68038b4fdf1456482af986cb05dcf3121bd43ffc +556451586b10584e4778694c84b03d0ecbbab150 The first line of this file holds the git revision number of the last merge done from the gofrontend repository. |