• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Xcode seems to be generating bad code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Xcode seems to be generating bad code
      • From: Jeff Laing <email@hidden>
    • Re: Xcode seems to be generating bad code
      • From: Rick Mann <email@hidden>
References: 
 >Xcode seems to be generating bad code (From: Jeff Laing <email@hidden>)

  • Prev by Date: Xcode Cannot Evaluate "Implicit Dependencies"
  • Next by Date: Re: Xcode seems to be generating bad code
  • Previous by thread: Re: Xcode seems to be generating bad code
  • Next by thread: Re: Xcode seems to be generating bad code
  • Index(es):
    • Date
    • Thread