r229643 - /branches/gcc-5-branch/gcc/go/gofront...

ian@gcc.gnu.org ian@gcc.gnu.org
Sun Nov 1 20:46:00 GMT 2015


Author: ian
Date: Sun Nov  1 20:46:21 2015
New Revision: 229643

URL: https://gcc.gnu.org/viewcvs?rev=229643&root=gcc&view=rev
Log:
	PR go/67968
    compiler: Traverse types of call expressions.
    
    https://gcc.gnu.org/PR67968 provides a test case that causes a gccgo
    crash on valid code.  The compiler failed to build the hash and equality
    functions required for a type descriptor.  The descriptor is for an
    unnamed type that is being returned by a function imported from a
    different package.  The unnamed type is being implicitly converted to an
    interface type by a return statement.  The fix is to ensure that the
    type of a call expression is always traversed.
    
    Test case sent out for the master testsuite as
    https://golang.org/cl/16532 .

Modified:
    branches/gcc-5-branch/gcc/go/gofrontend/expressions.cc



More information about the Gcc-cvs mailing list