g77 bug (SAVE "skiped") - APOLOGY

Toon Moene toon@moene.indiv.nluug.nl
Fri Mar 24 13:00:00 GMT 2000


Jacek M. Holeczek wrote:

> Sorry guys,
> After my charge has met the flat denial from you, I took a deep look into
> the source code. And guess what ! There was a bug :-)
> The table X(19) was declared, but then also X(20) was used. Seems that
> this place (X(20)) was allocated by the ISIZE, thus destroying it.

Equally unfortunate, you were using egcs-1.1.2 (which really is a blame
we should put on the Linux distributors - even Red Hat Linux 6.2, with a
release date still in the future, doesn't use gcc-2.95.2, in spite of
the fact that _that_ release is already half a year old).

In short, *if* you had been using gcc/g77-2.95.2, you could have
compiled with -fbounds-check, which would have pointed this error out to
you.

-- 
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
GNU Fortran 95: http://xena.eas.asu.edu/~andy (under construction)


More information about the Gcc-bugs mailing list