This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: AW: gcc 3.3 / i386 / -O2 question


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]