trans-array.c (gfc_build_null_descriptor): New function.
authorPaul Brook <paul@codesourcery.com>
Sat, 10 Jul 2004 22:55:40 +0000 (22:55 +0000)
committerPaul Brook <pbrook@gcc.gnu.org>
Sat, 10 Jul 2004 22:55:40 +0000 (22:55 +0000)
commit331c72f3db58cd93b1863aef4844a2ef883ae63a
tree034a0384236929485e40eb708eba4ee38fc03fdb
parent53814b8fe83f2f579f213e919b40c2793e824892
trans-array.c (gfc_build_null_descriptor): New function.

* trans-array.c (gfc_build_null_descriptor): New function.
(gfc_trans_static_array_pointer): Use it.
* trans-array.h (gfc_build_null_descriptor): Add prototype.
* trans-expr.c (gfc_conv_structure): Handle array pointers.
testsuite/
* gfortran.fortran-torture/execute/der_init_5.f90: Enable more tests.

From-SVN: r84477
gcc/fortran/ChangeLog
gcc/fortran/trans-array.c
gcc/fortran/trans-array.h
gcc/fortran/trans-expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.fortran-torture/execute/der_init_5.f90