This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Tobias Burnus wrote:a) allocate(a1, a1%b1, a1%b1%c1)"The Fortran 2003 Handbook" at section 6.7.1 states, on restriction 12: "An allocate object [...] must not depend [....] on the [...] allocation status [...] of any allocatable object in the same ALLOCATE statement".
Thus the code is invalid.
Should this be recognized as a standard violation? I can imagine the above to be relatively easy, while the general case might be arbitrarily complicated.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |