r244327 - in /trunk/gcc/go/gofrontend: MERGE ex...
ian@gcc.gnu.org
ian@gcc.gnu.org
Wed Jan 11 17:41:00 GMT 2017
Author: ian
Date: Wed Jan 11 17:41:49 2017
New Revision: 244327
URL: https://gcc.gnu.org/viewcvs?rev=244327&root=gcc&view=rev
Log:
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
Modified:
trunk/gcc/go/gofrontend/MERGE
trunk/gcc/go/gofrontend/expressions.cc
trunk/gcc/go/gofrontend/gogo.cc
trunk/gcc/go/gofrontend/runtime.cc
trunk/gcc/go/gofrontend/types.cc
More information about the Gcc-cvs
mailing list