compiler: Fix comparison of struct/array with interface.
commitb79832caae0d83004cd1ada7406e2a4810659660
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 29 Aug 2014 03:06:15 +0000 (29 03:06 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 29 Aug 2014 03:06:15 +0000 (29 03:06 +0000)
tree11f470026475e1fc32934ad05b20faf40f2d6a3e
parentc7b51f7dda221aa2ee9e7041222b96c9363c67c7
compiler: Fix comparison of struct/array with interface.

The compiler used to crash when the struct/array was not
addressable.

The test case is https://codereview.appspot.com/135170043 .

This fixes http://golang.org/issue/8612 .

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214713 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/go/gofrontend/expressions.cc