public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug fortran/14077] New: Data statement within a module that doesn't initialize a whole array creates an error @ 2004-02-08 21:01 kba114 at psu dot edu 2004-02-08 21:02 ` [Bug fortran/14077] " kba114 at psu dot edu ` (7 more replies) 0 siblings, 8 replies; 9+ messages in thread From: kba114 at psu dot edu @ 2004-02-08 21:01 UTC (permalink / raw) To: gcc-bugs 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 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/14077] Data statement within a module that doesn't initialize a whole array creates an error 2004-02-08 21:01 [Bug fortran/14077] New: Data statement within a module that doesn't initialize a whole array creates an error kba114 at psu dot edu @ 2004-02-08 21:02 ` kba114 at psu dot edu 2004-02-08 21:08 ` [Bug fortran/14077] [gfortran] " pinskia at gcc dot gnu dot org ` (6 subsequent siblings) 7 siblings, 0 replies; 9+ messages in thread From: kba114 at psu dot edu @ 2004-02-08 21:02 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From kba114 at psu dot edu 2004-02-08 21:02 ------- Created an attachment (id=5705) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5705&action=view) The program -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14077 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/14077] [gfortran] Data statement within a module that doesn't initialize a whole array creates an error 2004-02-08 21:01 [Bug fortran/14077] New: Data statement within a module that doesn't initialize a whole array creates an error kba114 at psu dot edu 2004-02-08 21:02 ` [Bug fortran/14077] " kba114 at psu dot edu @ 2004-02-08 21:08 ` pinskia at gcc dot gnu dot org 2004-04-22 13:29 ` Tobias dot Schlueter at physik dot uni-muenchen dot de ` (5 subsequent siblings) 7 siblings, 0 replies; 9+ messages in thread From: pinskia at gcc dot gnu dot org @ 2004-02-08 21:08 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-02-08 21:08 ------- Confirmed. -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 Keywords| |rejects-valid Last reconfirmed|0000-00-00 00:00:00 |2004-02-08 21:08:12 date| | Summary|Data statement within a |[gfortran] Data statement |module that doesn't |within a module that doesn't |initialize a whole array |initialize a whole array |creates an error |creates an error Target Milestone|--- |tree-ssa http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14077 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/14077] [gfortran] Data statement within a module that doesn't initialize a whole array creates an error 2004-02-08 21:01 [Bug fortran/14077] New: Data statement within a module that doesn't initialize a whole array creates an error kba114 at psu dot edu 2004-02-08 21:02 ` [Bug fortran/14077] " kba114 at psu dot edu 2004-02-08 21:08 ` [Bug fortran/14077] [gfortran] " pinskia at gcc dot gnu dot org @ 2004-04-22 13:29 ` Tobias dot Schlueter at physik dot uni-muenchen dot de 2004-05-26 12:08 ` pinskia at gcc dot gnu dot org ` (4 subsequent siblings) 7 siblings, 0 replies; 9+ messages in thread From: Tobias dot Schlueter at physik dot uni-muenchen dot de @ 2004-04-22 13:29 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From Tobias dot Schlueter at physik dot uni-muenchen dot de 2004-04-22 13:06 ------- Compiler output: [tobi@marktplatz src]$ gcc/build/gcc/f951 pr14077.f90 In file pr14077.f90:9 use m1 1 Error: Array assignment at (1) has different shape on dimension 1 (2/1) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14077 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/14077] [gfortran] Data statement within a module that doesn't initialize a whole array creates an error 2004-02-08 21:01 [Bug fortran/14077] New: Data statement within a module that doesn't initialize a whole array creates an error kba114 at psu dot edu ` (2 preceding siblings ...) 2004-04-22 13:29 ` Tobias dot Schlueter at physik dot uni-muenchen dot de @ 2004-05-26 12:08 ` pinskia at gcc dot gnu dot org 2004-07-09 22:27 ` [Bug fortran/14077] " cvs-commit at gcc dot gnu dot org ` (3 subsequent siblings) 7 siblings, 0 replies; 9+ messages in thread From: pinskia at gcc dot gnu dot org @ 2004-05-26 12:08 UTC (permalink / raw) To: gcc-bugs -- What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.5.0 |--- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14077 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/14077] Data statement within a module that doesn't initialize a whole array creates an error 2004-02-08 21:01 [Bug fortran/14077] New: Data statement within a module that doesn't initialize a whole array creates an error kba114 at psu dot edu ` (3 preceding siblings ...) 2004-05-26 12:08 ` pinskia at gcc dot gnu dot org @ 2004-07-09 22:27 ` cvs-commit at gcc dot gnu dot org 2004-07-09 22:44 ` cvs-commit at gcc dot gnu dot org ` (2 subsequent siblings) 7 siblings, 0 replies; 9+ messages in thread From: cvs-commit at gcc dot gnu dot org @ 2004-07-09 22:27 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-07-09 22:27 ------- Subject: Bug 14077 CVSROOT: /cvs/gcc Module name: gcc Changes by: tobi@gcc.gnu.org 2004-07-09 22:27:15 Modified files: gcc/fortran : ChangeLog module.c Log message: PR fortran/14077 * moduele.c (mio_symbol): Don't I/O initial values unless symbol is a parameter. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcc&r1=1.105&r2=1.106 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/module.c.diff?cvsroot=gcc&r1=1.9&r2=1.10 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14077 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/14077] Data statement within a module that doesn't initialize a whole array creates an error 2004-02-08 21:01 [Bug fortran/14077] New: Data statement within a module that doesn't initialize a whole array creates an error kba114 at psu dot edu ` (4 preceding siblings ...) 2004-07-09 22:27 ` [Bug fortran/14077] " cvs-commit at gcc dot gnu dot org @ 2004-07-09 22:44 ` cvs-commit at gcc dot gnu dot org 2004-07-09 23:42 ` tobi at gcc dot gnu dot org 2004-07-10 0:17 ` pinskia at gcc dot gnu dot org 7 siblings, 0 replies; 9+ messages in thread From: cvs-commit at gcc dot gnu dot org @ 2004-07-09 22:44 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-07-09 22:44 ------- Subject: Bug 14077 CVSROOT: /cvs/gcc Module name: gcc Changes by: tobi@gcc.gnu.org 2004-07-09 22:44:22 Modified files: gcc/testsuite : ChangeLog Added files: gcc/testsuite/gfortran.fortran-torture/execute: module_init_1.f90 Log message: PR fortran/14077 * gfortran.fortran-torture/execute/module_init_1.f90: New test. Patches: http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.3972&r2=1.3973 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.fortran-torture/execute/module_init_1.f90.diff?cvsroot=gcc&r1=NONE&r2=1.1 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14077 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/14077] Data statement within a module that doesn't initialize a whole array creates an error 2004-02-08 21:01 [Bug fortran/14077] New: Data statement within a module that doesn't initialize a whole array creates an error kba114 at psu dot edu ` (5 preceding siblings ...) 2004-07-09 22:44 ` cvs-commit at gcc dot gnu dot org @ 2004-07-09 23:42 ` tobi at gcc dot gnu dot org 2004-07-10 0:17 ` pinskia at gcc dot gnu dot org 7 siblings, 0 replies; 9+ messages in thread From: tobi at gcc dot gnu dot org @ 2004-07-09 23:42 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From tobi at gcc dot gnu dot org 2004-07-09 23:42 ------- Fixed. -- What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14077 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug fortran/14077] Data statement within a module that doesn't initialize a whole array creates an error 2004-02-08 21:01 [Bug fortran/14077] New: Data statement within a module that doesn't initialize a whole array creates an error kba114 at psu dot edu ` (6 preceding siblings ...) 2004-07-09 23:42 ` tobi at gcc dot gnu dot org @ 2004-07-10 0:17 ` pinskia at gcc dot gnu dot org 7 siblings, 0 replies; 9+ messages in thread From: pinskia at gcc dot gnu dot org @ 2004-07-10 0:17 UTC (permalink / raw) To: gcc-bugs -- What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |3.5.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14077 ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2004-07-10 0:17 UTC | newest] Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2004-02-08 21:01 [Bug fortran/14077] New: Data statement within a module that doesn't initialize a whole array creates an error kba114 at psu dot edu 2004-02-08 21:02 ` [Bug fortran/14077] " kba114 at psu dot edu 2004-02-08 21:08 ` [Bug fortran/14077] [gfortran] " pinskia at gcc dot gnu dot org 2004-04-22 13:29 ` Tobias dot Schlueter at physik dot uni-muenchen dot de 2004-05-26 12:08 ` pinskia at gcc dot gnu dot org 2004-07-09 22:27 ` [Bug fortran/14077] " cvs-commit at gcc dot gnu dot org 2004-07-09 22:44 ` cvs-commit at gcc dot gnu dot org 2004-07-09 23:42 ` tobi at gcc dot gnu dot org 2004-07-10 0:17 ` pinskia at gcc dot gnu dot org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).