g77: ppc-egcs-20000612/gcc/f/com.c:15198: failed assertion

Toon Moene toon@moene.indiv.nluug.nl
Mon Jun 19 13:42:00 GMT 2000

Jiri Masik wrote:

> I can't compile the following code with -fdebug-kludge with the latest
> snapshot on PPC.

>       subroutine bayes(noc, noe, nsteps, mode, er_mode, keep, ier)
>       integer noc, noe, nsteps, mode, er_mode, keep, ier
>       real pec
>       COMMON/BAYESC/ pec(1000,1000)
>       return
>       end
> It triggers fatal signal 6.
> masik@pbuk:~/tmp/f$ g77 -v  -g -fno-silent -Wall -ff2c --save-temps -fdebug-kludge -c bayes.f -o decl.f

Hmmm, I can reproduce this with gcc-20000617 on i686-pc-linux-gnu;
without -fdebug-kludge there is no problem.

Note that you do not need -fdebug-kludge anymore, as this version of the
compiler supports normal debugging information for COMMON items.

However, I'll try to investigate which combinations of -g and
-fdebug-kludge cause problems, as they - at the very least - have to be

Thanks for your bug report,

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://g95.sourceforge.net/ (under construction)

More information about the Gcc-bugs mailing list