re PR fortran/28174 (Corruption of multiple character arrays when passing array sections)
authorPaul Thomas <pault@gcc.gnu.org>
Thu, 13 Jul 2006 05:07:35 +0000 (05:07 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Thu, 13 Jul 2006 05:07:35 +0000 (05:07 +0000)
commit72af9f0b517b8dec055f72bf2ba7bfcb2e8da99b
tree677273f32ea31a251f8e44292ca967e69e8d4e7b
parent3fb8727b3b054dbb2c934baf33bb8946eeb3fae1
re PR fortran/28174 (Corruption of multiple character arrays when passing array sections)

2006-07-13  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/28174
* trans-expr.c (gfc_conv_aliased_arg): Missing formal arg means
that intent is INOUT (fixes regression).

PR fortran/25097
* check.c (check_present): The only permitted reference is a
full array reference.

PR fortran/20903
* decl.c (variable_decl): Add error if a derived type is not
from the current namespace if the namespace is an interface
body.

2006-07-13  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/25097
* gfortran.dg/present_1.f90: New test.

PR fortran/20903
* gfortran.dg/interface_derived_type_1.f90: New test.

From-SVN: r115410
gcc/fortran/ChangeLog
gcc/fortran/check.c
gcc/fortran/decl.c
gcc/fortran/trans-expr.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/interface_derived_type_1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/present_1.f90 [new file with mode: 0644]