Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-10003] Compiler segfault EarlyRedundantLoadElimination #52406

Closed
swift-ci opened this issue Feb 26, 2019 · 3 comments
Closed

[SR-10003] Compiler segfault EarlyRedundantLoadElimination #52406

swift-ci opened this issue Feb 26, 2019 · 3 comments
Assignees
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

Comments

@swift-ci
Copy link
Collaborator

Previous ID SR-10003
Radar rdar://problem/48445856
Original Reporter rayfix (JIRA User)
Type Bug
Status Resolved
Resolution Done

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
Votes 0
Component/s Compiler
Labels Bug, OptimizedOnly
Assignee @eeckstein
Priority Medium

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".

@belkadan
Copy link
Contributor

cc @eeckstein

@eeckstein
Copy link
Member

reproduced

@eeckstein
Copy link
Member

Fixed in #22993

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

3 participants