Update to go1.25.0

This commit is contained in:
Vorapol Rinsatitnon
2025-08-13 21:50:03 +07:00
parent 4fdddd398d
commit c7759f4edb
2303 changed files with 161699 additions and 70952 deletions

View File

@@ -9,14 +9,20 @@
package main
var (
e any
ts uint16
ga, gb, gc, gd int
)
func moveValuesWithMemoryArg(len int) {
for n := 0; n < len; n++ {
// Load of e.data is lowed as a MOVDload op, which has a memory
// argument. It's moved near where it's used.
_ = e != ts // ERROR "MOVDload is moved$" "MOVDaddr is moved$"
// Loads of b and d can be delayed until inside the outer "if".
a := ga
b := gb // ERROR "MOVDload is moved$"
c := gc
d := gd // ERROR "MOVDload is moved$"
if a == c {
if b == d {
return
}
}
}
}