• 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
xcode 3.x outstanding code-generation bugs?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

xcode 3.x outstanding code-generation bugs?


  • Subject: xcode 3.x outstanding code-generation bugs?
  • From: David Fang <email@hidden>
  • Date: Sun, 20 Dec 2009 14:31:22 -0500 (EST)

Hi,
I have a C++ project that fails at run-time starting with XCode 3.1.4 and 3.2.1 on i686-darwin10, but works on all previous versions (across darwin8, darwin9, on both powerpc and i686, including FSF's gcc releases, through at least 4.3.x) and I'm having a difficult time reducing the problem. Debugging has led me to isolating a single dynamic_cast on a pointer in a test case, which seems to only fail starting with the latest XCodes on darwin10, (also fails with apple's gcc-4.0.1 build 5493).
Since Apple's bugreport database is not publicly searchable, my question is this: are there any known outstanding code-generation bugs (C++) that could explain my observation?


Here are the 'failing' versions:

fang@fangbook 36> gcc -v
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/gcc/gcc-5646.1~2/src/configure --disable-checking --enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1 --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5646) (dot 1)


fang@fangbook 37> gcc-4.0 -v
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/gcc_40/gcc_40-5493~95/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib --build=i686-apple-darwin10 --with-arch=apple --with-tune=generic --host=i686-apple-darwin10 --target=i686-apple-darwin10
Thread model: posix
gcc version 4.0.1 (Apple Inc. build 5493)


Meanwhile, I'll keep working on identifying the bug.
Thanks.

Fang

David Fang
http://www.csl.cornell.edu/~fang/
http://www.achronix.com/

_______________________________________________
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


  • Prev by Date: Missing Documentation index.html files..
  • Next by Date: Re: Missing Documentation index.html files..
  • Previous by thread: Re: Missing Documentation index.html files..
  • Next by thread: Renaming things
  • Index(es):
    • Date
    • Thread