This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/21625] Nested derived type pointer component not initialized on ALLOCATE



------- Comment #7 from cvs-commit at gcc dot gnu dot org  2005-10-19 22:18 -------
Subject: Bug 21625

CVSROOT:        /cvs/gcc
Module name:    gcc
Changes by:     eedelman@gcc.gnu.org    2005-10-19 22:18:08

Modified files:
        gcc/fortran    : ChangeLog resolve.c 

Log message:
        PR fortran/21625
        * resolve.c (expr_to_initialize): New function.
        (resolve_allocate_expr): Take current statement as new
        argument. Add default initializers to variables of
        derived types, if they need it.
        (resolve_code): Provide current statement as argument to
        resolve_allocate_expr().

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcc&r1=1.589&r2=1.590
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/resolve.c.diff?cvsroot=gcc&r1=1.61&r2=1.62


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21625


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]