compiler: fix computation of Offsetof.
authorIan Lance Taylor <ian@gcc.gnu.org>
Fri, 14 Jun 2013 17:59:48 +0000 (17:59 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Fri, 14 Jun 2013 17:59:48 +0000 (17:59 +0000)
commit51b08adabf40a7922771ff4e0c36c8680c082825
tree0578244ff530b3ebc00aed42fca943c03feb3d58
parent24244e4debd3261c8237d15d940fd10df5b0005a
compiler: fix computation of Offsetof.

The implied offsets must be taken into account
when the selector involves anonymous fields.

From-SVN: r200098
gcc/go/gofrontend/expressions.cc
gcc/go/gofrontend/expressions.h
gcc/go/gofrontend/types.cc