Re: Is passing via rank-1 assumed-size array legal?

On Apr 27, 4:55 pm, steve <kar...@xxxxxxxxxxx> wrote:
Given you have access to non-PGI compilers, it would
be prudent to use their debugging features.  With
gfortran this would be use of the -Wall -fcheck=all

I have these (and similar for remaining compilers) turned on
during development. The thing is, the problem does not occur
with other compilers, so the availability of other compilers
doesn't help me.

  Finally, I'm not saying the code was fine with F77 and is
acting up only now -- the original code was never compiled
with this particular compiler.

Well, this is a porting issue.  One should always obtain
baseline runs before altering code.  Preferably, testing
as many (if not all) execution paths through the code.

You are right. I did what you call "baseline runs", but not
with all compilers -- just Sunpro and gfortran.

- J.