mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-21 08:40:30 +08:00
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) {
|
||||
r := new(RecursiveInt)
|
||||
|
Loading…
x
Reference in New Issue
Block a user