Re: [Patch, Fortran] Support static coarrays with "automatic" cobounds

2011-05-31 Thread Tobias Burnus
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,

[Patch, Fortran] Support static coarrays with "automatic" cobounds

2011-05-30 Thread Tobias Burnus
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