Re: [Patch, Fortran] PR52864 - Fix pointer-intent regresssion

2012-04-15 Thread Janus Weil
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 a

[Patch, Fortran] PR52864 - Fix pointer-intent regresssion

2012-04-12 Thread Tobias Burnus
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