Re: Opinions on PGI vs. Lahey Fortran

From: Richard E Maine (nospam_at_see.signature)
Date: 01/03/05


Date: Mon, 03 Jan 2005 09:27:09 -0800

In article <crbsml$60t$1@emac1.ocs.lsu.edu>,
 Andy Nelson <andy@fake.lsu.edu> wrote:

> a loop like this:
>
> do i=1,n
>
>
> would continue indefinitely past its uppper bound (n) until
> it hit a segmentation violation or other similarly fatal error.

There are some situations, discussed here in the past, where
that kind of problem is common with many compilers. In
particular, there are potential problems if n is the
largest positive value for the kind of i. If that's the
problem, I wouldn't consider it a bug; perhaps less than
ideal behavior, but not a bug. (And, of course, I'm
assuming that the problem doesn't relate to illegalities
such as changing the value of i inside of the loop).
 
Or maybe you hit an actual bug; I'm sure that some of
the ones I hit were bugs. Just thought I'd mention the other
possibilities for balance.

-- 
Richard Maine                       |  Good judgment comes from experience;
email: my first.last at org.domain  |  experience comes from bad judgment.
org: nasa, domain: gov              |        -- Mark Twain


Relevant Pages