• 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
..
arm Loading commit data...
arm64 Loading commit data...
mips Loading commit data...
ppc64 Loading commit data...
s390x Loading commit data...
wasm Loading commit data...
x86 Loading commit data...
addrtype_string.go Loading commit data...
bootstrap.go Loading commit data...
data.go Loading commit data...
go.go Loading commit data...
inl.go Loading commit data...
ld.go Loading commit data...
line.go Loading commit data...
line_test.go Loading commit data...
link.go Loading commit data...
objfile.go Loading commit data...
pass.go Loading commit data...
pcln.go Loading commit data...
plist.go Loading commit data...
sizeof_test.go Loading commit data...
sort.go Loading commit data...
stringer.go Loading commit data...
sym.go Loading commit data...
textflag.go Loading commit data...
util.go Loading commit data...