g77 bug?

ccpan ccpan@mail.ukans.edu
Sat Oct 27 21:27:00 GMT 2001


Sir,
The following program compiled with g77 version 2.96 20000731 (Red Hat Linux 
7.0) will print 3.14159274 as the answer, which is obviously wrong.  Any 
suggestions?
Raymond.

 
program test
double precision pi
pi = 3.141592654
print *, pi
stop
end program



More information about the Gcc-help mailing list