------- Comment #2 from burnus at gcc dot gnu dot org 2007-12-21 14:00 ------- One-week-old, unreviewed patch: http://gcc.gnu.org/ml/gcc-patches/2007-12/msg00821.html
Error messages for your example: dimension :: n(3) 1 Error: Dimensions specified for n at (1) after its initialisation aaa.f90:3.17: parameter (n = 42) 1 Error: Initializing already initialized variable at (1) aaa.f90:1.12: integer :: n = 4 1 Error: Function 'n' at (1) cannot have an initializer aaa.f90:1.12: integer :: n = 4 1 Error: 'n' at (1) is not a VALUE -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34514