This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Bug of g77-3.0

[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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]