You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The test does not fail individually, only when run as part of a suite:
cd build/Ninja-ReleaseAssert/swift-linux-x86_64
ninja check-swift-validation-optimize-linux-x86_64
Debugging reveals that the problem exists in the every() function. If you replace the contents with this functional equivalent, the test passes:
func every(_ n:Int)->[Element]{vara:Array<Element>=[]sequence(first: startIndex){ i inself.index(i, offsetBy: n, limitedBy:self.endIndex)}.forEach{ a.append(self[$0])}return a
}
The text was updated successfully, but these errors were encountered:
Environment
Ubuntu 18.04
Additional Detail from JIRA
md5: c0e8d9509c991624bc8fd7d78a9dcc3d
blocks:
Issue Description:
Bisection reveals that #34188 causes a core dump in the
StdlibUnittest.RangeSet
test in S4TF, which looks to be a miscompile.To reproduce in Ubuntu 18.04, use the
tensorflow
branch at1e86c04
.1. Checkout compatible versions of auxiliary repos:
2. Run a build:
All tests pass at the commit that adds #30710.
3. Switch to one commit prior, delete the
build/Ninja-ReleaseAssert/swift-linux-x86_64
directory, and build again.The
StdlibUnittest.RangeSet
test now fails.The test does not fail individually, only when run as part of a suite:
cd build/Ninja-ReleaseAssert/swift-linux-x86_64 ninja check-swift-validation-optimize-linux-x86_64
Debugging reveals that the problem exists in the
every()
function. If you replace the contents with this functional equivalent, the test passes:The text was updated successfully, but these errors were encountered: