[SR-10003] Compiler segfault EarlyRedundantLoadElimination #52406
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
optimized only
Flag: An issue whose reproduction requires optimized compilation
Attachment: Download
Environment
MacBook Pro, Mohave, Xcode Version 10.1 (10B61). [Also happens using the latest Xcode beta.
swiftc --version
Apple Swift version 5.0 (swiftlang-1001.0.63.8 clang-1001.0.43)
Target: x86_64-apple-darwin18.2.0
Additional Detail from JIRA
md5: eeb5da94e6e0a25634741ab3a0c5a8eb
Issue Description:
When I compile the attached code using Xcode Version 10.1 (10B61), or the beta, I get a segfault.
Here is the command the I run:
swiftc -O SilCrash.swift
1. While running pass #12691 SILFunctionTransform "EarlyRedundantLoadElimination" on SILFunction "@$s8SilCrash4RectV8segmentsSayAA7SegmentVGvg".
The text was updated successfully, but these errors were encountered: