------- Comment #5 from fxcoudert at gcc dot gnu dot org  2006-10-08 21:59 
-------
(In reply to comment #4)
> *** Bug 29395 has been marked as a duplicate of this bug. ***

$ cat a10.f90 
  integer :: i(2,2)
  data ((i(k,j), j = 1, k), k = 1, 2) / 3 * 0 / 
  end 
$ gfortran a10.f90 
 In file a10.f90:2

  data ((i(k,j), j = 1, k), k = 1, 2) / 3 * 0 / 
                      1
Error: Parameter 'k' at (1) has not been declared or is a variable, which does
not reduce to a constant expression


-- 

fxcoudert at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2006-01-29 19:54:38         |2006-10-08 21:59:43
               date|                            |


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

Reply via email to