Skip to content

all: test against go1.27.3 - #15

Merged
mauri870 merged 1 commit into
masterfrom
go1.27.3
Nov 3, 2026
Merged

mauri870 merged 1 commit into
masterfrom
go1.27.3

Conversation

@mauri870

@mauri870 mauri870 commented Nov 3, 2026

Copy link
Copy Markdown
Owner

This bumps the pinned toolchain from go1.27.1 to go1.27.3, the latest 1.27 release. It supersedes the go1.27.3 commit in #1.

That commit bumped only the Makefile. The script harness doesn't read the Makefile: script_test.go runs every script with the toolchain go.mod names (goModToolchain), and actions/setup-go reads the same file. With only the Makefile changed, the scripts would still have run on go1.27.1, including the flag_methods_ice.txt check behind the claim that the crash is still in 1.27.3.

This PR:

  • Pins the toolchain in two places. The Makefile now pins go1.27.3, and go.mod gets a toolchain go1.27.3 line.
  • Keeps the minimum at 1.27.1. The go line stays at 1.27.1, the first release whose simd works with what loopvec generates: go1.27.0 compiles ShiftAllRight with a uint8 count.
  • Regenerates caps_gen.go. go1.27.3's simd package has the same methods as 1.27.1's, so only the header comment changes.
  • Updates the version in BUGS.md and flag_methods_ice.txt. The -methods internal compiler error (cmd/compile: simd use in a method causes "internal compiler error: missing Types entry" golang/go#80657) still happens on go1.27.3, and the script checks that now.

Tested locally:

  • make ci passes on this commit: test-update leaves the goldens unchanged, and the race suite, both arm64 qemu runs, bench fuzz seeds, tsvc, fix and lint all pass.
  • The script harness reports GOTOOLCHAIN=go1.27.3, and flag_methods_ice.txt still gets the internal compiler error.

go1.27.3 is the latest 1.27 release. The Makefile pins it, and go.mod
gets a toolchain go1.27.3 line, so the script suite and CI use it too:
script_test.go runs the scripts with the toolchain go.mod names
(goModToolchain), and actions/setup-go reads the same file. Bumping
only the Makefile, as #1 does, would have left every script, and the
claim that flag_methods_ice.txt checks the crash on 1.27.3, on go1.27.1.

The go line stays at 1.27.1, the first release whose simd package works
with the code loopvec generates (go1.27.0 compiles ShiftAllRight with a
uint8 count), so go install still accepts a 1.27.1 toolchain.

go1.27.3's simd package has the same methods as go1.27.1's: make
generate only changes the header of caps_gen.go. The -methods internal
compiler error (golang/go#80657) is still there, and flag_methods_ice.txt
now checks that on go1.27.3.
@mauri870
mauri870 enabled auto-merge (squash) November 3, 2026 21:58
@mauri870
mauri870 merged commit 7fdec23 into master Nov 3, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant