go source for verification 2026-05-22
This commit is contained in:
11
test/fixedbugs/issue74648.dir/a.s
Normal file
11
test/fixedbugs/issue74648.dir/a.s
Normal file
@@ -0,0 +1,11 @@
|
||||
// Copyright 2025 The Go Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
TEXT ·F(SB), $0
|
||||
JMP prealigned
|
||||
INT $3 // should never be reached
|
||||
prealigned:
|
||||
PCALIGN $0x10
|
||||
aligned:
|
||||
RET
|
||||
13
test/fixedbugs/issue74648.dir/x.go
Normal file
13
test/fixedbugs/issue74648.dir/x.go
Normal file
@@ -0,0 +1,13 @@
|
||||
// Copyright 2025 The Go Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
// Issue 74648: wrong jump target when using PCALIGN.
|
||||
|
||||
package main
|
||||
|
||||
func F()
|
||||
|
||||
func main() {
|
||||
F()
|
||||
}
|
||||
Reference in New Issue
Block a user