mirror of git://gcc.gnu.org/git/gcc.git
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
|
|
@ -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) {
|
func testScanInts(t *testing.T, scan func(*RecursiveInt, *bytes.Buffer) os.Error) {
|
||||||
r := new(RecursiveInt)
|
r := new(RecursiveInt)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue