This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: g77: ppc-egcs-20000612/gcc/f/com.c:15198: failed assertion
- To: Jiri Masik <masik at darbujan dot fzu dot cz>
- Subject: Re: g77: ppc-egcs-20000612/gcc/f/com.c:15198: failed assertion
- From: Toon Moene <toon at moene dot indiv dot nluug dot nl>
- Date: Mon, 19 Jun 2000 22:06:40 +0200
- CC: gcc-bugs at gcc dot gnu dot org
- Organization: Moene Computational Physics, Maartensdijk, The Netherlands
- References: <4vhfappvpv.fsf@darbujan.fzu.cz>
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
documented.
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)