aboutsummaryrefslogtreecommitdiff
path: root/gcc/combine.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2017-09-14 03:48:51 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2017-09-14 03:48:51 +0000
commitce64a8b4a2334fd6982a21d1ab020a1108562f6b (patch)
tree83191e42d888f13aa922cfda85d4c7eafe051622 /gcc/combine.c
parented52163bea1916404119f397e6f99a4b90477f37 (diff)
downloadgcc-ce64a8b4a2334fd6982a21d1ab020a1108562f6b.zip
gcc-ce64a8b4a2334fd6982a21d1ab020a1108562f6b.tar.gz
gcc-ce64a8b4a2334fd6982a21d1ab020a1108562f6b.tar.bz2
compiler, reflect: fix struct field names for embedded aliases
This adds much of https://golang.org/cl/35731 and https://golang.org/cl/35732 to the gofrontend code. This is a step toward updating libgo to the 1.9 release. The gofrontend already supports type aliases, and this is required for correct support of type aliases when used as embedded fields. The change to expressions.cc is to handle the << 1, used for the newly renamed offsetAnon field, in the constant context used for type descriptor initialization. Reviewed-on: https://go-review.googlesource.com/62710 From-SVN: r252746
Diffstat (limited to 'gcc/combine.c')
0 files changed, 0 insertions, 0 deletions