Re: Xcode seems to be generating bad code
Re: Xcode seems to be generating bad code
- Subject: Re: Xcode seems to be generating bad code
- From: Chris Lattner <email@hidden>
- Date: Thu, 26 Apr 2012 09:02:18 -0700
On Apr 26, 2012, at 2:43 AM, Jeff Laing wrote:
> Clearly, I'm going mad because "I know this used to work".
>
> Sometime in the last day or so, something has changed in my environment such that Xcode 4.3.2 has started generating bad code for my iPad project. It's very easy to reproduce. Create yourself a new empty project, and modify the AppDelegate to contain the following:
Unfortunately, this is a known bug in Xcode 4.3.2. It is a corner case where we emit "cmp.w r0, #-2147483648" instead of "cmn r0, #-2147483648" at -O0. Workarounds include avoiding INT_MIN or building the affected file at -O1 (or higher).
I'm sorry for the bug, it is already fixed int he Xcode 4.4 developer previews.
-Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden