This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/23924] No initialization of derived type pointers/allocatables when allocated
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Sep 2005 01:49:34 -0000
- Subject: [Bug fortran/23924] No initialization of derived type pointers/allocatables when allocated
- References: <20050916214641.23924.erik.edelmann@iki.fi>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-17 01:49 -------
Confirmed, self contained testcase:
program test
type t
integer :: a = 3
end type t
type(t), allocatable :: q(:)
allocate(q(1))
if (q(1)%a .ne. 3) call abort ()
end program test
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |wrong-code
Last reconfirmed|0000-00-00 00:00:00 |2005-09-17 01:49:34
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23924