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

--- Comment #9 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
--- snip ---
> % gfcx -o z a.f90
> a.f90:5:6:
> 
>     5 |       x%im = 42
>       |      1
> Error: 'x' at (1) associated to expression cannot be used in
> a variable definition context (assignment)
> 
> Mikael, thanks for the feedback.  I'll see if I can fix
> the parentheses case this weekend.

This is definitely a 42 case, which is why I had three '?' in my reply.

And if you understand this, you are OK in my book. :)

Reply via email to