diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2018-02-20 13:52:56 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2018-02-20 13:52:56 +0000 |
commit | 731c3fc22d8edb4e9ee6655543017ce76c05bfcc (patch) | |
tree | 8ec78c4ea569b42935b65702e9f9931056a22a4a /gcc/optabs-query.c | |
parent | 6285e915c4f1b73ccbd166cdf4622da8c01a549b (diff) | |
download | gcc-731c3fc22d8edb4e9ee6655543017ce76c05bfcc.zip gcc-731c3fc22d8edb4e9ee6655543017ce76c05bfcc.tar.gz gcc-731c3fc22d8edb4e9ee6655543017ce76c05bfcc.tar.bz2 |
compiler: look through aliases for type compatibility
Aliases are supposed to be identical to the type being aliased, so
questions about type compatibility need to always ignore aliases,
except for error messages involving the type name.
The test case for this is https://golang.org/cl/94995.
Fixes golang/go#23912
Reviewed-on: https://go-review.googlesource.com/94996
From-SVN: r257845
Diffstat (limited to 'gcc/optabs-query.c')
0 files changed, 0 insertions, 0 deletions