diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2015-11-01 20:46:04 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2015-11-01 20:46:04 +0000 |
commit | 2e4e655cf36bf96de9c7fe03c70fc87f7bba49fe (patch) | |
tree | 54acec5a01c9df5afe8a59e27d41dcf20bdccfcd /gcc/fold-const.c | |
parent | 2bbee501a329d2c153ccb49fc6a5494c536277e8 (diff) | |
download | gcc-2e4e655cf36bf96de9c7fe03c70fc87f7bba49fe.zip gcc-2e4e655cf36bf96de9c7fe03c70fc87f7bba49fe.tar.gz gcc-2e4e655cf36bf96de9c7fe03c70fc87f7bba49fe.tar.bz2 |
re PR go/67968 (go1: internal compiler error: in write_specific_type_functions, at go/gofrontend/types.cc:1812)
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 .
From-SVN: r229642
Diffstat (limited to 'gcc/fold-const.c')
0 files changed, 0 insertions, 0 deletions