diff options
author | Ian Lance Taylor <iant@golang.org> | 2020-12-02 18:11:00 -0800 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2020-12-03 08:27:41 -0800 |
commit | 17c9cf3c17651950bd4bfefcbe15440fa2155810 (patch) | |
tree | 03367d24299f66cc435a6b1eecd846f33543095e /gcc/dwarf2asm.c | |
parent | cd34d5f2c40f3c65407f4b0bee0b49fc84e4a4ab (diff) | |
download | gcc-17c9cf3c17651950bd4bfefcbe15440fa2155810.zip gcc-17c9cf3c17651950bd4bfefcbe15440fa2155810.tar.gz gcc-17c9cf3c17651950bd4bfefcbe15440fa2155810.tar.bz2 |
compiler: cast comparison function result to expected bool type
Otherwise cases like
type mybool bool
var b mybool = [10]string{} == [10]string{}
get an incorrect type checking error.
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/274446
Diffstat (limited to 'gcc/dwarf2asm.c')
0 files changed, 0 insertions, 0 deletions