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

Reply via email to