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

ubizjak at gmail dot com gcc-bugzilla@gcc.gnu.org
Mon Jul 21 15:33:00 GMT 2014


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

            Bug ID: 61871
           Summary: FAIL: regexp from libgo testsuite on non-split stack
                    targets
           Product: gcc
           Version: 4.10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: go
          Assignee: ian at airs dot com
          Reporter: ubizjak at gmail dot com
                CC: cmang at google dot com

regexp test from libgo testsuite FAILs on alpha (non-split stack target) due to
too demanding testcase, even with 8G of RAM.

Applying the following testsuite patch, test passes without problems.

--cut here--
Index: go/regexp/all_test.go
===================================================================
--- go/regexp/all_test.go       (revision 212885)
+++ 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,1000}$`)
 }

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



More information about the Gcc-bugs mailing list