Release -O builds crash the compiler
Release builds with -O crash the Swift compiler during IR generation or optimization on certain valid code.
Tier II · Emerging Problems that are still building up.
3 public reports · first reported 3 April 2023 · last reported 17 April 2026
What's going wrong
The Swift compiler crashes with a signal fault when building in Release mode with optimization enabled, while Debug builds pass.
AI-assisted: written with the help of AI from the reports. The idea report has the full summary.
In the idea report
- The full summary.
- The products the 3 reports are about, and how many came each month.
- Related problems.
No business has been found with this problem yet, so the report has no contacts. All sales are final — no refunds. Pricing.