[SR-4717] Abort when running SILFunctionTransform Devirtualizer pass. #47294
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
crash
Bug: A crash, i.e., an abnormal termination of software
optimized only
Flag: An issue whose reproduction requires optimized compilation
serialization
Area → compiler: Serialization & deserialization
Attachment: Download
Environment
Xcode 8.3.2 (8E2002)
Additional Detail from JIRA
md5: 0989712d22af886df6236daddf8ad27e
Issue Description:
The compiler crashes when compiling the test in the provided project, when the framework is compiled with `-Owholemodule`. `-O` and `-Onone` work normally.
Specifically, it crashes when the test calls any default implementation of `MutableCollection` on a custom collection type that contains at least one `IndexSet` as its stored property. The crash does not happen if either (1) all `IndexSet`s are removed from the type; or (2) one avoids calling any of the `MutableCollection` method, except the required subscript setter which does not trigger the issue.
Log:
The text was updated successfully, but these errors were encountered: