This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/14077] New: Data statement within a module that doesn't initialize a whole array creates an error
- From: "kba114 at psu dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Feb 2004 21:01:09 -0000
- Subject: [Bug fortran/14077] New: Data statement within a module that doesn't initialize a whole array creates an error
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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