[Bug fortran/63921] [F08] pointer function as lvalue doesn't work when the function is a type bound function
mirco.valentini at polimi dot it
gcc-bugzilla@gcc.gnu.org
Sun Dec 7 16:23:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63921
--- Comment #2 from mirco <mirco.valentini at polimi dot it> ---
(In reply to Dominique d'Humieres from comment #1)
> Am I correct to understand that you are referring to C602 in
>
> 6.2 Variable
> R602 variable is designator
> or expr
> C601 (R602) designator shall not be a constant or a subobject of a constant.
> C602 (R602) expr shall be a reference to a function that has a pointer
> result.
> 1 A variable is either the data object denoted by designator or the target
> of expr.
> ...
>
> ? If yes, then I can confirm this PR.
Yes, it is exactly what I mean.
Thank you for your detailed explanation.
Mirco
More information about the Gcc-bugs
mailing list