[Bug fortran/14077] New: Data statement within a module that doesn't initialize a whole array creates an error
kba114 at psu dot edu
gcc-bugzilla@gcc.gnu.org
Sun Feb 8 21:01:00 GMT 2004
This program won't compile with gfortran, but is accepted by every other
compiler i have access to.
module m1
implicit none
real, dimension(2) :: a
data a(1) /1.0/
end module m1
program m2
use m1
implicit none
end program m2
--
Summary: Data statement within a module that doesn't initialize a
whole array creates an error
Product: gcc
Version: tree-ssa
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: kba114 at psu dot edu
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14077
More information about the Gcc-bugs
mailing list