This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: FW: GNU f77 bug report
- To: bessel at earthlink dot net, egcs-bugs at egcs dot cygnus dot com
- Subject: Re: FW: GNU f77 bug report
- From: N8TM at aol dot com
- Date: Thu, 27 May 1999 02:17:07 EDT
In a message dated 5/26/99 10:25:04 PM Pacific Daylight Time,
bessel@earthlink.net writes:
> while (t1 != t1o)
> {
> t1o=t1
> t2=0.0d0
> t2o=-999.0d0
> c3=1.0d0
> c4=c2
> m2=0
> while (t2 != t2o)
Not a gnu bug, a programming bug. Your program depends on lucky rounding
behavior to avoid the infinite looping. In fact, there is more discussion of
this in the g77 info pages than in most Fortran compiler vendors' manuals.
Lahey lf90 gives lots of uncomplimentary messages by default while compiling
this kind of thing. Maybe we should have an option -fmore-insults in g77 to
accomplish the same.
Tim
tprince@computer.org