This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Bug of g77-3.0
- From: "Tim Prince" <tprince at computer dot org>
- To: "Toon Moene" <toon at moene dot indiv dot nluug dot nl>,"Stefano Simonucci,,," <stefano dot simonucci at tin dot it>
- Cc: <bug-gcc at gnu dot org>
- Date: Thu, 22 Nov 2001 20:01:35 -0800
- Subject: Re: Bug of g77-3.0
- References: <3BFB6C14.70000@tin.it> <3BFD68AC.47F69EA3@moene.indiv.nluug.nl>
[Get raw message]
It hangs also at 100% CPU usage after the first output when compiled with
g77-3.1 on cygwin, which invokes newlib. It fails to link when attempting
to compile with cygwin special g77-2.95.
----- Original Message -----
From: "Toon Moene" <toon@moene.indiv.nluug.nl>
To: "Stefano Simonucci,,," <stefano.simonucci@tin.it>
Cc: <bug-gcc@gnu.org>
Sent: Thursday, November 22, 2001 1:05 PM
Subject: Re: Bug of g77-3.0
> "Stefano Simonucci,,," wrote:
>
> > I have a Debian (sid) distribution installed.
> > I have successfully compiled (with g77-3.0) the following FORTRAN
program:
> >
> > double complex a,b
> > a=(-0.992198783,-0.0275850352)
> > write(6,*) ' A',a
> > b=log(a)
> > write(6,*) ' B',b
> > stop
> > end
> >
> > Nevertheless the program print the "a" variable but not the "b"
> > variable.
> > I think that the log intrinsic function have a bug (maybe an infinite
> > loop for particular
> > values of the argument). The same function works in other cases.
>
> Yep, I could reproduce this using gcc/g77-3.0.2 installed on GNU/Linux
> Debian 2.2 and a recent snapshot of gcc/g77-3.1 on same.
>
> I concur that this most likely is a library issue. I'll file a bug
> report in our bug database GNATS (see our home page http://gcc.gnu.org)
> w.r.t. libf2c.
>
> Thanks for this complete and concise bug report.
>
> --
> Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
> Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
> Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
> Join GNU Fortran 95: http://g95.sourceforge.net/ (under construction)