This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: AW: gcc 3.3 / i386 / -O2 question
- From: Luca Benini <lbenini at csr dot unibo dot it>
- To: Beschorner Daniel <Daniel dot Beschorner at facton dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 16 Nov 2004 16:38:16 +0100
- Subject: Re: AW: gcc 3.3 / i386 / -O2 question
- References: <BB1F4EFD574E9F409035BDA71C961250023916@exchange.i-bn>
Beschorner Daniel wrote:
lbenini@neuromancer:~$ gcc -O3 test.c
lbenini@neuromancer:~$ ./a.out
-1343238496
lbenini@neuromancer:~$ gcc -O0 test.c
lbenini@neuromancer:~$ ./a.out
-1343238496
lbenini@neuromancer:~$ gcc -v
Reading specs from /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/specs
Configured with: ../gcc-3.3.4/configure --prefix=/usr --enable-shared
--enable-threads=posix --enable-__cxa_atexit --disable-checking
--with-gnu-ld --verbose --target=i486-slackware-linux
--host=i486-slackware-linux
Thread model: posix
gcc version 3.3.4
lbenini@neuromancer:~$ gcc test.s
lbenini@neuromancer:~$ ./a.out
-1474736480
Unable to repeate your problem, with 3.3.4 test.c (see your previuos
mail) work fine in -O0/-O1/-O2/-O3
your compiler installations has passed check?
Luca Benini