mirror of
https://github.com/gcc-mirror/gcc.git
synced 2026-05-06 14:59:39 +02:00
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
This commit is contained in:
committed by
Tobias Schlüter
parent
dae424695c
commit
5721c2bebf
@@ -1,3 +1,8 @@
|
||||
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
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
! 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
|
||||
Reference in New Issue
Block a user