This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/33430] New: Improve -finit-*: Initialization of derived types, equivalenced variables
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Sep 2007 09:50:00 -0000
- Subject: [Bug fortran/33430] New: Improve -finit-*: Initialization of derived types, equivalenced variables
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following features are missing from the current version of the -finit-*
patch (PR 20441):
- Optional initialization of INTENT(OUT) variables: PR 31447
- Derived types are not initialized; there are two cases:
(a) no initializer, (b) initializer which initializes not all variables
- Equivalenced variables: g77 initialized them with -finit-local-zero. The
challenge is of cause if the variables have different types and
-finit-real/-finit-integer etc. is used instead of -finit-local-zero.
--
Summary: Improve -finit-*: Initialization of derived types,
equivalenced variables
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: enhancement
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: burnus at gcc dot gnu dot org
BugsThisDependsOn: 20441
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33430