diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2017-08-02 16:27:17 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2017-08-02 16:27:17 +0000 |
commit | f12e8c3f66aa688af9dc5e5a185b6f238aee7926 (patch) | |
tree | eb35b7e42661e0fd9a8672831a9fa0bd347f3afc /gcc/edit-context.c | |
parent | 893e8f7d87a6ace9a8bdedb5d18aab1f44fb11ca (diff) | |
download | gcc-f12e8c3f66aa688af9dc5e5a185b6f238aee7926.zip gcc-f12e8c3f66aa688af9dc5e5a185b6f238aee7926.tar.gz gcc-f12e8c3f66aa688af9dc5e5a185b6f238aee7926.tar.bz2 |
compiler: only finalize embedded fields before finalizing methods
When finalizing the methods of a named struct type, we used to
finalize all the field types first. That can fail if the field types
refer indirectly to the named type. Change it to just finalize the
embedded field types first, and the rest of the fields later.
Fixes golang/go#21253
Reviewed-on: https://go-review.googlesource.com/52570
From-SVN: r250832
Diffstat (limited to 'gcc/edit-context.c')
0 files changed, 0 insertions, 0 deletions