compiler: Fix comparison of struct/array with interface.
authorIan Lance Taylor <ian@gcc.gnu.org>
Fri, 29 Aug 2014 03:06:15 +0000 (03:06 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Fri, 29 Aug 2014 03:06:15 +0000 (03:06 +0000)
commit6c23308e70c4323d4c99e27e0896f4eb33f69714
tree11f470026475e1fc32934ad05b20faf40f2d6a3e
parentbbbf5d5ab47a1632a3de692a451409ca201a4985
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 .

From-SVN: r214713
gcc/go/gofrontend/expressions.cc