[Bug fortran/37735] Allocatable components in vectors of derived types cause ICE on assignment

pault at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Nov 23 21:37:00 GMT 2008



------- Comment #4 from pault at gcc dot gnu dot org  2008-11-23 21:36 -------
Subject: Bug 37735

Author: pault
Date: Sun Nov 23 21:34:44 2008
New Revision: 142142

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142142
Log:
2008-11-23  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/37735
        * trans-array.c (structure_alloc_comps): Do not duplicate the
        descriptor if this is a descriptorless array!

2008-11-23  Paul Thomas  <pault@gcc.gnu.org>

        PR fortran/37735
        * gfortran.dg/alloc_comp_assign_7.f90: New test.



Added:
    trunk/gcc/testsuite/gfortran.dg/alloc_comp_assign_7.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-array.c
    trunk/gcc/testsuite/ChangeLog


-- 


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



More information about the Gcc-bugs mailing list