compiler: call runtime.eqtype for non-interface type switch on aix
authorClément Chigot <clement.chigot@atos.net>
Wed, 16 Sep 2020 12:03:10 +0000 (14:03 +0200)
committerIan Lance Taylor <iant@golang.org>
Tue, 22 Sep 2020 17:24:07 +0000 (10:24 -0700)
commit30bf947649e7381402637d1434d6b1ef22d031f1
tree2403b6e131a5985677735a0797fd12782a1bdc14
parentf74c87f85f510248874cb90ad0b0527b015034b9
compiler: call runtime.eqtype for non-interface type switch on aix

All type switch clauses must call runtime.eqtype if the linker isn't
able to merge type descriptors pointers. Previously, only interface-type
clauses were doing it.

Updates golang/go#39276

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/255202
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/statements.cc
gcc/go/gofrontend/statements.h