Fix struct with array of struct with field that points to first struct.
authorIan Lance Taylor <ian@gcc.gnu.org>
Sat, 19 Feb 2011 03:23:22 +0000 (03:23 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Sat, 19 Feb 2011 03:23:22 +0000 (03:23 +0000)
commit1e2afadbc0827357daf6d6b7322a9250aad3f4ab
tree3b70cef5fc6d58babeb9aa28c756473914d6bfe2
parentf84ae14c4eeb561868722929e229213348d81dc9
Fix struct with array of struct with field that points to first struct.

Don't crash converting an untyped complex constant to an integer type.
Don't crash on unsafe.Sizeof of erroneous type.
Don't crash on method expression of erroneous type.
Don't crash when sink and global var are initialized from type guard.
Don't crash initializing erroneous slice.
Don't crash on erroneous method of type seen before definition.

From-SVN: r170301
gcc/go/gofrontend/expressions.cc
gcc/go/gofrontend/parse.cc
gcc/go/gofrontend/types.cc