FW: GNU f77 bug report
N8TM@aol.com
N8TM@aol.com
Mon May 31 21:06:00 GMT 1999
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
More information about the Gcc-bugs
mailing list