[Bug fortran/30660] Allocatable components of a derived type "require" the SAVE attribute.
pault at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Feb 3 13:39:00 GMT 2007
------- Comment #4 from pault at gcc dot gnu dot org 2007-02-03 13:38 -------
Subject: Bug 30660
Author: pault
Date: Sat Feb 3 13:38:42 2007
New Revision: 121541
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=121541
Log:
2007-02-03 Paul Thomas <pault@gcc.gnu.org>
PR fortran/30514
* array.c (match_array_element_spec): If the length of an array is
negative, adjust the upper limit to make it zero length.
PR fortran/30660
* resolve.c (pure_function, resolve_function): Initialize name to
null to clear up build warnings.
(resolve_fl_variable): Look at components explicitly to check for
default initializer, rather than using gfc_default_initializer.
2007-02-03 Paul Thomas <pault@gcc.gnu.org>
PR fortran/30514
* gfortran.dg/zero_sized_2.f90: New test.
PR fortran/30660
* gfortran.dg/alloc_comp_basics_4.f90: New test.
PR fortran/29820
* gfortran.dg/actual_array_interface_1.f90: Copy source to empty
file.
Added:
trunk/gcc/testsuite/gfortran.dg/alloc_comp_basics_4.f90
trunk/gcc/testsuite/gfortran.dg/zero_sized_2.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/array.c
trunk/gcc/fortran/resolve.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gfortran.dg/actual_array_interface_1.f90
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30660
More information about the Gcc-bugs
mailing list