compiler: mark generated struct/array types as incomparable
commit6bf4793c60d657f79cad931f5889059d7445e25d
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 11 Jan 2017 17:41:49 +0000 (11 17:41 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 11 Jan 2017 17:41:49 +0000 (11 17:41 +0000)
treeed212265fa0780da97cfbad866130dd3b5343609
parent1a1ce9a62871b80f01ec5be7e04739165c5558f1
compiler: mark generated struct/array types as incomparable

    The recent change to generate type functions for more types with
    identity comparisons caused us to generate some unnecessary functions,
    and even caused a compiler crash on Solaris due to phase ordering.
    Avoid this by marking all generated and uncompared struct and array
    types as incomparable, so that we don't try to generate type functions
    for them.

    Reviewed-on: https://go-review.googlesource.com/35110

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