public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/15365] New: Variable of derived type not initialized, unless declared with ::
@ 2004-05-10 14:06 lei at il dot ibm dot com
2004-05-10 15:41 ` [Bug fortran/15365] [gfortran] " pinskia at gcc dot gnu dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: lei at il dot ibm dot com @ 2004-05-10 14:06 UTC (permalink / raw)
To: gcc-bugs
% cat foo.f90
program main
type xyz
integer :: x = 123
end
type (xyz) :: a !! ok
type (xyz) b !!! not initialized !!!
print*, a%x, b%x
if (a%x.ne.123) call abort
if (b%x.ne.123) call abort
print*, "ok"
end
% a.out
123 -1073751820
Abort (core dumped)
--
Summary: Variable of derived type not initialized, unless
declared with ::
Product: gcc
Version: tree-ssa
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: lei at il dot ibm dot com
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15365
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/15365] [gfortran] Variable of derived type not initialized, unless declared with ::
2004-05-10 14:06 [Bug fortran/15365] New: Variable of derived type not initialized, unless declared with :: lei at il dot ibm dot com
@ 2004-05-10 15:41 ` pinskia at gcc dot gnu dot org
2004-05-12 7:04 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-10 15:41 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-05-10 15:41 -------
Confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |wrong-code
Last reconfirmed|0000-00-00 00:00:00 |2004-05-10 15:41:17
date| |
Summary|Variable of derived type not|[gfortran] Variable of
|initialized, unless declared|derived type not
|with :: |initialized, unless declared
| |with ::
Target Milestone|--- |tree-ssa
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15365
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/15365] [gfortran] Variable of derived type not initialized, unless declared with ::
2004-05-10 14:06 [Bug fortran/15365] New: Variable of derived type not initialized, unless declared with :: lei at il dot ibm dot com
2004-05-10 15:41 ` [Bug fortran/15365] [gfortran] " pinskia at gcc dot gnu dot org
@ 2004-05-12 7:04 ` pinskia at gcc dot gnu dot org
2004-05-13 14:36 ` lei at il dot ibm dot com
2004-05-15 17:31 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-12 7:04 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-05-11 14:12 -------
Patch Here: <http://gcc.gnu.org/ml/gcc-patches/2004-05/msg00587.html>.
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15365
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/15365] [gfortran] Variable of derived type not initialized, unless declared with ::
2004-05-10 14:06 [Bug fortran/15365] New: Variable of derived type not initialized, unless declared with :: lei at il dot ibm dot com
2004-05-10 15:41 ` [Bug fortran/15365] [gfortran] " pinskia at gcc dot gnu dot org
2004-05-12 7:04 ` pinskia at gcc dot gnu dot org
@ 2004-05-13 14:36 ` lei at il dot ibm dot com
2004-05-15 17:31 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: lei at il dot ibm dot com @ 2004-05-13 14:36 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |lei at il dot ibm dot com
|dot org |
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15365
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug fortran/15365] [gfortran] Variable of derived type not initialized, unless declared with ::
2004-05-10 14:06 [Bug fortran/15365] New: Variable of derived type not initialized, unless declared with :: lei at il dot ibm dot com
` (2 preceding siblings ...)
2004-05-13 14:36 ` lei at il dot ibm dot com
@ 2004-05-15 17:31 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-15 17:31 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-05-15 00:18 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15365
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-05-15 0:18 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-10 14:06 [Bug fortran/15365] New: Variable of derived type not initialized, unless declared with :: lei at il dot ibm dot com
2004-05-10 15:41 ` [Bug fortran/15365] [gfortran] " pinskia at gcc dot gnu dot org
2004-05-12 7:04 ` pinskia at gcc dot gnu dot org
2004-05-13 14:36 ` lei at il dot ibm dot com
2004-05-15 17:31 ` 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).