Hi Tobias, > That's a GCC 4.6-4.8 regression. Pointer intents apply to the association > status and not to the value. Thus, assigning to an intent(in) pointer is > fine. The problem was that the LHS is no pointer due to the array access > ("dt%ptr(1) =") thus, the check got triggered. > > Build and regtested on x86-64-linux. > OK for the trunk and the 4.6/4.7 branch?
I'd say this patch is ok for trunk immediately, and for the branches after a short waiting-period. Maybe you could extend the comment above the code you're modifying? Thanks, Janus