[Bug go/61871] FAIL: regexp from libgo testsuite on non-split stack targets

ubizjak at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Aug 5 14:31:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61871

--- Comment #1 from Uroš Bizjak <ubizjak at gmail dot com> ---
Ops, I was also testing with this patch:

--cut here--
Index: go/regexp/all_test.go
===================================================================
--- go/regexp/all_test.go        (revision 213529)
+++ go/regexp/all_test.go        (working copy)
@@ -475,7 +475,7 @@

 // This ran out of stack before issue 7608 was fixed.
 func TestOnePassCutoff(t *testing.T) {
-       MustCompile(`^(?:x{1,1000}){1,1000}$`)
+       MustCompile(`^(?:x{1,1000}){1,500}$`)
 }

 func BenchmarkLiteral(b *testing.B) {
--cut here--


More information about the Gcc-bugs mailing list