bug in gcc 2.95.2 on Debian GNU/Linux potato
Eric Lammerts
eric@scintilla.utwente.nl
Fri Feb 4 07:44:00 GMT 2000
Hi,
I've found a bug in gcc 2.95.2 that I can reproduce. I attached the code
(bug.c), the screen output of the command
"gcc -v --save-temps -O6 -o bug bug.c" and the preprocessor output (bug.i)
produced by this command.
When I run the program, it displays:
str=000000000001
str=00000000000!
When I compile with -O instead of -O6, it displays:
str=000000000001
str=00000000001!
as it should.
My gcc version is 2.95.2 20000116 as provided by the Debian potato package
gcc_1%3a2.95.2-5_i386.deb
Happy bug fixing :-)
And thanks a lot for this (normally) great compiler!
Eric
--
Eric Lammerts <eric@scintilla.utwente.nl>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug.i.gz
Type: application/x-gzip
Size: 2928 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20000204/631236f6/attachment.bin>
More information about the Gcc-bugs
mailing list