[Bug fortran/53939] allows assignment to INTENT(IN) nested component

2012-07-12 Thread Bil.Kleb at NASA dot gov
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53939 --- Comment #3 from Bil Kleb 2012-07-12 13:32:07 UTC --- OK, fair enough (and sincere thanks for taking the time to explain it). I see that if I change to the more modern ALLOCATABLE declarations, then I get a warning about assigning to an INTEN

[Bug fortran/53939] allows assignment to INTENT(IN) nested component

2012-07-12 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53939 --- Comment #2 from Tobias Burnus 2012-07-12 13:29:08 UTC --- (In reply to comment #1) > However, both "elem" and "cl2g" are pointers - thus the "intent(in)" doesn't > apply. [Or more precisely, for "cl2g" the intent doesn't apply at all (as it >

[Bug fortran/53939] allows assignment to INTENT(IN) nested component

2012-07-12 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53939 Tobias Burnus changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|