The go.test/test/fixedbugs/issue4458.go FAILs on Solaris in a weird way: FAIL: issue4458.go -O (test for errors, line 19) FAIL: issue4458.go -O (test for excess errors) The issue happens both for a 32-bit-default x86 compiler, generating either 32 or 64-bit-code: Excess errors: issue4458.go:19: error: method 'foo' is ambiguous A 64-bit-default x86 compiler is fine,though. OTOH on sparc, a 32-bit default compiler is fine while a 64-bit-default compiler shows the same issue.
The master branch has been updated by Ian Lance Taylor <ian@gcc.gnu.org>: https://gcc.gnu.org/g:f85d3362cdb4bab611508dd9a38d9015c02ff7ca commit r14-9693-gf85d3362cdb4bab611508dd9a38d9015c02ff7ca Author: Ian Lance Taylor <iant@golang.org> Date: Tue Mar 26 13:00:03 2024 -0700 compiler: initialize local variable in lower_method_expression Fixes PR go/114463 Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/574476
Thanks. Fixed.