[J3] [EXTERNAL] Multifaceted question on OPTIONAL assumed rank dummy arguments

Reuben D. Budiardja reubendb at ornl.gov
Tue Feb 8 23:13:56 UTC 2022


On 2/8/22 16:33, Clune, Thomas L. (GSFC-6101) via J3 wrote:
> 
> The consistency of the failure makes me think I’ve misunderstood 
> something about the standard, but the error message is perplexing.  A 
> non-present dummy should be perfectly fine for passing to an optional 
> dummy argument in CHECK().     If anything I was expecting an error that 
> we cannot use PRESENT or ASSOCIATED except within a SELECT RANK 
> construct (which would defeat the design anyway.)
> 
> Is this just a consistent bug?   Or …
> 
> Thanks,
> 
>   * Tom
> 

Tom,

We must have a different set of three compilers (or versions), because I 
tried on three compilers I have and all work as expected.

Best,
Reuben


More information about the J3 mailing list