Regression or Feature?
Tilo Schwarz
tilo@tilo-schwarz.de
Sat Apr 27 22:19:00 GMT 2013
On Fri, 26 Apr 2013 21:53:54 +0200, Tobias Burnus <burnus@net-b.de> wrote:
> Am 26.04.2013 21:33, schrieb Tilo Schwarz:
>> if (any([a%i, b%i] /= arr%p%i)) call abort
>> 1
>> Error: Component to the right of a part reference with nonzero rank
>> must not have the POINTER attribute at (1)
>>
>> I would expect the behaviour of gfortran 4.6/4.7.
>> a.out runs without error for those two compiler versions.
>
> As you have the source code: It often helps to look at the source code
> for a comment - or to find out why it was added.
Good idea (which I completely missed, because gfortran-4.7 did what I
thought was correct), next time I'll do it!
Regards,
Tilo
More information about the Fortran
mailing list