diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2014-04-17 19:27:22 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2014-04-17 19:27:22 +0000 |
commit | be7341a882e4ee6d493b2b2940f9cbb37b15d515 (patch) | |
tree | 110581ad40858479d1ae14c54edc2b918166c587 /gcc/tree-vect-patterns.c | |
parent | 39be2171e0fa8da0d5bbfd3aecd11f5709f8f309 (diff) | |
download | gcc-be7341a882e4ee6d493b2b2940f9cbb37b15d515.zip gcc-be7341a882e4ee6d493b2b2940f9cbb37b15d515.tar.gz gcc-be7341a882e4ee6d493b2b2940f9cbb37b15d515.tar.bz2 |
re PR go/60870 (go interface methods broken on ppc64le (bug296.go))
PR go/60870
compiler: Don't convert function type for an interface method.
For an interface method the function type is the type without
the receiver, which is wrong since we are passing a receiver.
The interface method will always have the correct type in this
case, so no type conversion is necessary.
Also don't do the type conversion when calling a named
function, since in that case the type is also always correct.
The type can be wrong, and the conversion required, when the
function type refers to itself recursively.
From-SVN: r209494
Diffstat (limited to 'gcc/tree-vect-patterns.c')
0 files changed, 0 insertions, 0 deletions