Commit 5721c2be by Tobias Schlüter Committed by Tobias Schlüter

re PR fortran/14077 (Data statement within a module that doesn't initialize a…

re PR fortran/14077 (Data statement within a module that doesn't initialize a whole array creates an error)

PR fortran/14077
* gfortran.fortran-torture/execute/module_init_1.f90: New test.

From-SVN: r84412
parent dae42469
2004-07-09 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
PR fortran/14077
* gfortran.fortran-torture/execute/module_init_1.f90: New test.
2004-07-09 Tobias Schlueter <tobias.schlueter@physik.uni-muenchen.de>
PR fortran/13201
* gfortran.dg/shape_1.f90: New test.
......
! PR 13077: we used to fail when reading the module
module m1
real, dimension(3) :: a
data a(1:3) /2*1.0/
end module m1
use m1
if (a(1).NE.1.) call abort()
if (a(1).NE.a(3)) call abort()
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment