[Bug fortran/34514] Accepts invalid: Dimensions specified for N after initialisation

2007-12-25 Thread burnus at gcc dot gnu dot org
--- Comment #6 from burnus at gcc dot gnu dot org 2007-12-25 12:07 --- FIXED on the trunk (4.3.0). -- burnus at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/34514] Accepts invalid: Dimensions specified for N after initialisation

2007-12-25 Thread burnus at gcc dot gnu dot org
--- Comment #5 from burnus at gcc dot gnu dot org 2007-12-25 12:05 --- Subject: Bug 34514 Author: burnus Date: Tue Dec 25 12:05:23 2007 New Revision: 131169 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131169 Log: 2007-12-25 Tobias Burnus <[EMAIL PROTECTED]> PR fort

[Bug fortran/34514] Accepts invalid: Dimensions specified for N after initialisation

2007-12-21 Thread dominiq at lps dot ens dot fr
--- Comment #4 from dominiq at lps dot ens dot fr 2007-12-21 15:04 --- With the patch in http://gcc.gnu.org/ml/fortran/2007-12/msg00221.html, the test case #1 gives: pr34514.f90:2.14: dimension :: n(3) 1 Error: Dimensions specified for n at (1) after its initialisation pr3

[Bug fortran/34514] Accepts invalid: Dimensions specified for N after initialisation

2007-12-21 Thread dfranke at gcc dot gnu dot org
--- Comment #3 from dfranke at gcc dot gnu dot org 2007-12-21 14:06 --- Patch looks good to me. Adding DATA-statements to the mashup leads to ICEs (PR24978), so this is taken care of ;) Assigned PR to Tobias and added patch URL. -- dfranke at gcc dot gnu dot org changed:

[Bug fortran/34514] Accepts invalid: Dimensions specified for N after initialisation

2007-12-21 Thread burnus at gcc dot gnu dot org
--- 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 initialisa

[Bug fortran/34514] Accepts invalid: Dimensions specified for N after initialisation

2007-12-21 Thread dfranke at gcc dot gnu dot org
--- Comment #1 from dfranke at gcc dot gnu dot org 2007-12-21 13:45 --- This seems to be a more general problem: $> cat pr34514.f90 integer :: n = 4 dimension :: n(3) parameter (n = 42) print *, n(2) end $> gfortran-svn -g -Wall pr34514.f90 && ./a.out 42 -- dfranke at gcc