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/24158] ICE in f951 with nested, recursive derived types



------- Comment #4 from cvs-commit at gcc dot gnu dot org  2005-10-26 05:20 -------
Subject: Bug 24158

CVSROOT:        /cvs/gcc
Module name:    gcc
Changes by:     pault@gcc.gnu.org       2005-10-26 05:20:23

Modified files:
        gcc/fortran    : decl.c resolve.c ChangeLog 
        gcc/testsuite  : ChangeLog 
Added files:
        gcc/testsuite/gfortran.dg: derived_recursion.f90 
                                   implicit_actual.f90 

Log message:
        2005-10-26  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/24158
        * decl.c (gfc_match_data_decl): Correct broken bit of code
        that prevents undefined derived types from being used as
        components of another derived type.
        * resolve.c (resolve_symbol): Add backstop error when derived
        type variables arrive here with a type that has no components.

        2005-10-26  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/24158
        gfortran.dg/derived_recursion.f90: New test.
        gfortran.dg/implicit_actual.f90: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/decl.c.diff?cvsroot=gcc&r1=1.49&r2=1.50
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/resolve.c.diff?cvsroot=gcc&r1=1.64&r2=1.65
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fortran/ChangeLog.diff?cvsroot=gcc&r1=1.600&r2=1.601
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/derived_recursion.f90.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/implicit_actual.f90.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.6253&r2=1.6254


-- 


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


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