This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: gcc 3.3 / i386 / -O2 question
- From: Gerald Pfeifer <gerald at pfeifer dot com>
- To: Beschorner Daniel <Daniel dot Beschorner at facton dot com>
- Cc: gcc at gcc dot gnu dot org, "'gcc-help at gcc dot gnu dot org'" <gcc-help at gcc dot gnu dot org>
- Date: Wed, 17 Nov 2004 02:01:27 +0100 (CET)
- Subject: RE: gcc 3.3 / i386 / -O2 question
- References: <BB1F4EFD574E9F409035BDA71C961250023921@exchange.i-bn>
On Tue, 16 Nov 2004, Beschorner Daniel wrote:
> Thanks a lot for your effort to all who tested this code with me!
> There is some evidence for a SuSE linux specific problem in my GCC 3.3.3,
> cause all others could compile it fine even with -O2.
Fixed in the SUSE LINUX 9.2 system compiler:
% gcc -v
Reading specs from /usr/lib/gcc-lib/i586-suse-linux/3.3.4/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr
--with-local-prefix=/usr/local --infodir=/usr/share/info
--mandir=/usr/share/man --enable-languages=c,c++,f77,objc,java,ada
--disable-checking --libdir=/usr/lib --enable-libgcj
--with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib
--with-system-zlib --enable-shared --enable-__cxa_atexit i586-suse-linux
Thread model: posix
gcc version 3.3.4 (pre 3.3.5 20040809)
% gcc x.c -O ; ./a.out
-1343238496
% gcc x.c -O2 ; ./a.out
-1343238496
Gerald