This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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--

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]