[J3] 15.5.2.5 Allocatable and pointer dummy variables

José Rui Faustino de Sousa jrfsousa at gmail.com
Thu Sep 3 07:49:33 EDT 2020


On 03/09/20 01:01, Malcolm Cohen wrote:
> They are invalid; the actual argument and the dummy argument both have the POINTER attribute, but they have different declared types.
> 

Yes, from 15.5.2.5p2, inasmuch it does not interfere with 
auto-targetting, right?

> Auto-targetting for dummy data objects only applies to actual arguments with the TARGET attribute.
> 

I thought that auto-targetting was defined by 15.5.2.7p2:

"[...] the actual argument shall be a pointer or a valid target for the 
dummy pointer in a pointer assignment statement."

Can you point me in the right direction in the standard?

Thank you very much for your time.

Best regards,
José Rui



More information about the J3 mailing list