User account creation filtered due to spam.

Bug 29395

Summary: failure in implied do loop data initialization
Product: gcc Reporter: Francois-Xavier Coudert <fxcoudert>
Component: fortranAssignee: Not yet assigned to anyone <unassigned>
Status: RESOLVED DUPLICATE    
Severity: normal CC: federico.carminati, fxcoudert, gcc-bugs
Priority: P3 Keywords: rejects-valid
Version: 4.2.0   
Target Milestone: ---   
Host: Target:
Build: Known to work:
Known to fail: Last reconfirmed: 2006-10-08 21:42:51
Bug Depends on: 23232    
Bug Blocks:    

Description Francois-Xavier Coudert 2006-10-08 21:41:33 UTC
$ 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
Comment 1 Andrew Pinski 2006-10-08 21:44:54 UTC
This looks related to PR 23232 or really a dup.
Comment 2 Francois-Xavier Coudert 2006-10-08 21:59:20 UTC

*** This bug has been marked as a duplicate of 23232 ***