[SR-1177] Getting value from Dictionary crashes when built with -Onone #43785
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
non-optimized only
Flag: An issue whose reproduction requires non-optimized compilation
standard library
Area: Standard library umbrella
Attachment: Download
Environment
Apple Swift version 3.0-dev (LLVM b361b0fc05, Clang 11493b0f62, Swift 24a0c3d) (03/01/2016 development snapshot)
Additional Detail from JIRA
md5: 9ab249de5a5e7ae6894b3afdf799732d
Issue Description:
When I get a value from a Dictionary it crashes. The crash happens in various places in the call stack of the subscript getter. It happens only if the build is compiled without Swift compiler optimizations on biggish data sets (tested with 10000 elements). It is probably generics related. I attached a sample program.
The text was updated successfully, but these errors were encountered: