Swift compilation is seg faulting in release but not debug with <= operator

Originator:christian.noon
Number:rdar://19241040 Date Originated:12-Dec-2014 07:49 PM
Status:Closed Resolved:10-Feb-2015 09:30 PM
Product:Developer Tools Product Version:Xcode 6.1.1
Classification: Reproducible:Always
 
I created a sample app that compiles an iOS framework that reproduces the issue. I simplified it greatly and it is still producing the same seg fault. Switching to a < operator with a "+ 1" compiles fine. I wanted to report the issue so that your team is at least aware of the issue even though I found a temp workaround.

Comments

Apple replied that the seg fault should be resolved in Xcode 6.3 Beta 1. I verified it has been solved.

By christian.noon at Feb. 11, 2015, 5:32 a.m. (reply...)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!