PR go/67968
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 1 Nov 2015 20:46:04 +0000 (20:46 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 1 Nov 2015 20:46:04 +0000 (20:46 +0000)
commit0c0dacab8c055c99185a216f6c8969e91f1b37f8
tree54acec5a01c9df5afe8a59e27d41dcf20bdccfcd
parentd731e7b6e0cce6f2d706af2be890222f21f4eac6
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 .

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