Bug of g77-3.0

Stefano Simonucci,,, stefano.simonucci@tin.it
Fri Nov 9 18:59:00 GMT 2001


Hi
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.
Thank you
Good bye
                  Stefano



More information about the Gcc-bugs mailing list