Bug in egcs.
Gerald Pfeifer
pfeifer@dbai.tuwien.ac.at
Wed Jan 13 13:44:00 GMT 1999
On Mon, 21 Sep 1998, Hans de Nivelle wrote:
> The program runs correctly on cc, djgpp, and other versions of gcc.
>
> The bug shows up when compiling with optimization.
>
> Command used:
>
> gcc -O5 subsumption.c
> ./a.out
>
> Version used:
> Reading specs from /usr/local/lib/gcc-lib/alphaev56-dec-osf4.0d/egcs-2.91.57/specs
> gcc version egcs-2.91.57 19980901 (egcs-1.1 release)
Thanks for your report. Indeed your program seems to have triggered a
code generation bug, which apparently has been solved in recent snapshots
and thus also for a forthcoming egcs 1.2.
alpha[231]:~% gcc -O5 subsumption.c
alpha[232]:~% a.out
0
11 1 -17 -9 -1 -1 0 -1 -1 -1 0 0 20 6 2 2 2 21 22 23 -106 4 0
entering:
exit with success
alpha[233]:~% gcc -v
Reading specs from /home/guest/pfeifer/egcs/lib/gcc-lib/alphaev56-dec-osf4.0d/egcs-2.93.01/specs
gcc version egcs-2.93.01 19990112 (gcc2 ss-980609 experimental)
I have installed such a recent snapshots of egcs as ~pfeifer/egcs/bin/gcc
on your machine alpha.logic.at; please give it a try and let me know how
it works for you.
Gerald
--
Gerald Pfeifer (Jerry) Vienna University of Technology
pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/
More information about the Gcc-bugs
mailing list