http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50960

--- Comment #15 from Tobias Burnus <burnus at gcc dot gnu.org> 2011-11-03 
14:23:59 UTC ---
(In reply to comment #14)
> Yes, that should work iff Fortran does not allow parameter initializers
> that require runtime init (like / foo() /, thus a function call result).

No, Fortran only has static initializers which are known at compile time. In
principle, the parameters could also be inlined by FE compiler (as it is done
for scalars), however, for large arrays, using a static global array seemed to
be the better choice (which matches other compilers).

Hence, TREE_READONLY should be correct.

Reply via email to