re PR fortran/31630 (ICE on nasty derived types code)
authorPaul Thomas <pault@gcc.gnu.org>
Mon, 23 Apr 2007 15:13:48 +0000 (15:13 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Mon, 23 Apr 2007 15:13:48 +0000 (15:13 +0000)
commit6e0d7c6e0d8d744a57e2d111ab95a7ab8115ebf8
treecd69678252d64187f28421f356008d5cce4dce95
parenta8a423360bf1e0e8dffac6087084a129d9251dc4
re PR fortran/31630 (ICE on nasty derived types code)

2007-04-23  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/31630
* resolve.c (resolve_symbol): Allow resolution of formal
namespaces nested within formal namespaces coming from modules.

PR fortran/31620
* trans-expr.c (gfc_trans_assignment): Make the call to
gfc_trans_zero_assign conditional on the lhs array ref being
the only reference.

2007-04-23  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/31630
* gfortran.dg/used_types_17.f90: New test.

PR fortran/31620
* gfortran.dg/zero_array_components_1.f90: New test.

From-SVN: r124069
gcc/fortran/ChangeLog
gcc/fortran/resolve.c
gcc/fortran/trans-expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/used_types_17.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/zero_array_components_1.f90 [new file with mode: 0644]