This patch to libgo fixes the expected alignment of int64 types on 32-bit SPARC. Without this most calls to select fail at runtime, as the compiler and the library disagree about the expected size of the hselect struct. Bootstrapped and ran Go testsuite on x86_pc-linux-gnu, bootstrapped and ran a few libgo tests on sparc-sun-solaris. Committed to mainline.
Ian
Index: gcc/go/gofrontend/MERGE =================================================================== --- gcc/go/gofrontend/MERGE (revision 241427) +++ gcc/go/gofrontend/MERGE (working copy) @@ -1,4 +1,4 @@ -df6046971233854e5b7533140d4ead095ab69857 +9806c8a8e4e448eaf6810ff1acffa715745d2549 The first line of this file holds the git revision number of the last merge done from the gofrontend repository. Index: libgo/configure.ac =================================================================== --- libgo/configure.ac (revision 241341) +++ libgo/configure.ac (working copy) @@ -364,7 +364,6 @@ GOARCH_MINFRAMESIZE=8 #endif], [GOARCH=sparc GOARCH_FAMILY=SPARC -GOARCH_INT64ALIGN=4 ], [GOARCH=sparc64 GOARCH_FAMILY=SPARC64