• Michael Munday's avatar
    cmd/internal/obj/s390x: increase maximum number of loop iterations · 9fa98854
    Michael Munday authored
    The maximum number of 'spanz' iterations that the s390x assembler
    performs to reach a fixed point for relative offsets was 10. This
    turned out to be too aggressive for one example of auto-generated
    fuzzing code. Increase the number of iterations by 10x to reduce
    the likelihood that the limit will be hit again. This limit only
    exists to help find bugs in the assembler.
    
    master at tip does not fail with the example code in the issue, I
    have therefore not submitted it as a test (it is also quite large).
    I tested this change with the example code at the commit given and
    it fixes the issue.
    
    Fixes #25269.
    
    Change-Id: I0e44948957a7faff51c7d27c0b7746ed6e2d47bb
    Reviewed-on: https://go-review.googlesource.com/122235Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
    9fa98854
Name
Last commit
Last update
..
addr2line Loading commit data...
api Loading commit data...
asm Loading commit data...
buildid Loading commit data...
cgo Loading commit data...
compile Loading commit data...
cover Loading commit data...
dist Loading commit data...
doc Loading commit data...
fix Loading commit data...
go Loading commit data...
gofmt Loading commit data...
internal Loading commit data...
link Loading commit data...
nm Loading commit data...
objdump Loading commit data...
pack Loading commit data...
pprof Loading commit data...
test2json Loading commit data...
trace Loading commit data...
vendor Loading commit data...
vet Loading commit data...