re PR go/48553 (fmt FAILs on 32-bit Solaris 2 with stack overflow)
PR go/48553 libgo: Bring over patch to lower recursion depth in fmt. From-SVN: r172883
This commit is contained in:
parent
8c0d18659b
commit
549dd8fe83
1 changed files with 3 additions and 1 deletions
|
@ -810,7 +810,9 @@ func TestScanInts(t *testing.T) {
|
|||
})
|
||||
}
|
||||
|
||||
const intCount = 1000
|
||||
// 800 is small enough to not overflow the stack when using gccgo on a
|
||||
// platform that does not support split stack.
|
||||
const intCount = 800
|
||||
|
||||
func testScanInts(t *testing.T, scan func(*RecursiveInt, *bytes.Buffer) os.Error) {
|
||||
r := new(RecursiveInt)
|
||||
|
|
Loading…
Add table
Reference in a new issue