• 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: Code Generation Issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Code Generation Issue


  • Subject: Re: Code Generation Issue
  • From: Sean McBride <email@hidden>
  • Date: Mon, 21 Nov 2011 11:43:47 -0500
  • Organization: Rogue Research Inc.

On Tue, 15 Nov 2011 17:39:49 +0100, Andreas Grosam said:

>I'm experiencing a strange runtime bug in my code that occurs only if
>compiled with Apple LLVM compiler 3.0 and optimization flag O2 or higher
>on Mac OS X. Code compiled with LLVM GCC 4.2 does not have this issue.
>As far as I can see, the logic is correct.
>
>I usually hesitate to blame the compiler, but I can't see were I
>possibly made an error in the source here.

Since no one else has answered.... Before filing a bug, you could check the llvm/clang bugbase for something similar:

<http://llvm.org/bugs/>

Also, have you tried the following: guardmalloc, valgrind, clang static analyzer?  They are all great at finding subtle bugs.  Similarly, you might want to enable the flags suggested here:

<http://blog.llvm.org/2011/05/what-every-c-programmer-should-know.html>

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


 _______________________________________________
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: Code Generation Issue
      • From: Andreas Grosam <email@hidden>
References: 
 >Code Generation Issue (From: Andreas Grosam <email@hidden>)

  • Prev by Date: Re: IPad browser app
  • Next by Date: Re: IPad browser app
  • Previous by thread: Code Generation Issue
  • Next by thread: Re: Code Generation Issue
  • Index(es):
    • Date
    • Thread