2007-02-03 Paul Thomas <pault@gcc.gnu.org>
authorpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 3 Feb 2007 13:38:42 +0000 (13:38 +0000)
committerpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 3 Feb 2007 13:38:42 +0000 (13:38 +0000)
commit77423564f03fc083bace33d597b48ce2213b1166
tree3f6806872e565af6ccf3b61138274516caa9cd46
parenta15a1b518debb23e76370968264408fd2277c4d1
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121541 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/array.c
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/actual_array_interface_1.f90
gcc/testsuite/gfortran.dg/alloc_comp_basics_4.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/zero_sized_2.f90 [new file with mode: 0644]