This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/36742] g++ -O2 produces wrong code
- From: "michael at jarvis dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Jul 2008 11:40:29 -0000
- Subject: [Bug c++/36742] g++ -O2 produces wrong code
- References: <bug-36742-16424@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from michael at jarvis dot net 2008-07-06 11:40 -------
(From update of attachment 15863)
g++ -v outputs:
Using built-in specs.
Target: i686-apple-darwin9
Configured with: ../gcc-4.2.2/configure --prefix=/sw --prefix=/sw/lib/gcc4.2
--mandir=/sw/share/man --infodir=/sw/share/info
--enable-languages=c,c++,fortran,objc,java --with-arch=nocona
--with-tune=generic --host=i686-apple-darwin9 --with-gmp=/sw
--with-libiconv-prefix=/sw --with-system-zlib --x-includes=/usr/X11R6/include
--x-libraries=/usr/X11R6/lib
Thread model: posix
gcc version 4.2.2
My system is a MacBook 2.2 GHz Intel Core 2 Duo running MaxOsX 10.5.4
I am using the fink installation of gcc.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36742