https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121564

--- Comment #6 from kargls at comcast dot net ---
(In reply to kargls from comment #5)
> (In reply to Jerry DeLisle from comment #4)
> > Confirmed, my first question, is the code valid? I need to think about it. I
> > dont know why not.
> 
> F2023, 10.2.1.2 Intrinsic assignment statement, page 189
> 
>    If the variable is a pointer, it shall be associated with a definable
>    target such that the type, type parameters, and shape of the target and
>    expr conform.
> 

Later, F2023, 10.2.1.3 Interpretation of intrinsic assignments

If the variable is a pointer, the value of expr is assigned to the target of
the variable.

Reply via email to