Tobias Burnus wrote:
gfortran currently rejects:
subroutine foo(n)
integer, SAVE :: foo(500)[n, *]
claiming that as SAVE does not work with automatic arrays.
The patch for this has been committed (Rev. 174503) after approval by
Daniel Kraft on IRC (#gfortran).
Thomas Koenig wrote:
To me,
gfortran currently rejects:
subroutine foo(n)
integer, SAVE :: foo(500)[n, *]
claiming that as SAVE does not work with automatic arrays. The latter is
correct. ("C513 An automatic object shall not have the SAVE attribute.")
However, I would argue that "foo" is not an automatic object and th