[SR-3301] Segmentation fault with -O and -whole-module-optimization #45889
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
run-time crash
Bug → crash: Swift code crashed during execution
Environment
Apple Swift version 3.0.1 (swiftlang-800.0.58.6 clang-800.0.42.1)
Target: x86_64-apple-macosx10.9
Additional Detail from JIRA
md5: 4c971764d757edf9601987d6b540e0f6
Issue Description:
Running the code below causes a segmentation fault when compiled with the following flags
Compiling the code without either optimization produces the correct output
I can get this to segfault on both 3.0.1 and the nightly snapshot
The text was updated successfully, but these errors were encountered: