re PR fortran/29387 (ICE on character array function of variable length)
authorPaul Thomas <pault@gcc.gnu.org>
Tue, 31 Oct 2006 06:03:24 +0000 (06:03 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Tue, 31 Oct 2006 06:03:24 +0000 (06:03 +0000)
commitdd5797cc36028b51596c88d0b5ecc1f0a2902488
treea2f3d9751ac9c0b7ae6f8b76727cb0d066e270f5
parente5c18c3c298de538f6a9acec3120b63d830dc307
re PR fortran/29387 (ICE on character array function of variable length)

2006-10-31  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/29387
* trans-intrinsic.c (gfc_conv_intrinsic_len): Rearrange to have
a specific case for EXPR_VARIABLE and, in default, build an ss
to call gfc_conv_expr_descriptor for array expressions..

PR fortran/29490
* trans-expr.c (gfc_set_interface_mapping_bounds): In the case
that GFC_TYPE_ARRAY_LBOUND is not available, use descriptor
values for it and GFC_TYPE_ARRAY_UBOUND.

PR fortran/29641
* trans-types.c (gfc_get_derived_type): If the derived type
namespace has neither a parent nor a proc_name, set NULL for
the search namespace.

2006-10-31  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/29387
* gfortran.dg/intrinsic_actual_2.f90: New test.

PR fortran/29490
* gfortran.dg/actual_array_interface_1.f90: New test.

PR fortran/29641
* gfortran.dg/used_types_11.f90: New test.

From-SVN: r118220
gcc/fortran/ChangeLog
gcc/fortran/trans-expr.c
gcc/fortran/trans-intrinsic.c
gcc/fortran/trans-types.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/actual_array_interface_1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/intrinsic_actual_2.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/used_types_11.f90 [new file with mode: 0644]