OSDN Git Service

2010-06-15 Janus Weil <janus@gcc.gnu.org>
authorjanus <janus@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 15 Jun 2010 18:33:58 +0000 (18:33 +0000)
committerjanus <janus@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 15 Jun 2010 18:33:58 +0000 (18:33 +0000)
commitde6229046ca7a9d04c27f1d5427258d272f8bdbf
tree9b84864e2b7463fd00877080c1437f80e8b9b59e
parent6b55849dfe1c0fef6e15a6fbc8a50cee372b1b6a
2010-06-15  Janus Weil  <janus@gcc.gnu.org>

PR fortran/43388
* gfortran.h (gfc_expr): Add new member 'mold'.
* match.c (gfc_match_allocate): Implement the MOLD tag.
* resolve.c (resolve_allocate_expr): Ditto.
* trans-stmt.c (gfc_trans_allocate): Ditto.

2010-06-15  Janus Weil  <janus@gcc.gnu.org>

PR fortran/43388
* gfortran.dg/allocate_alloc_opt_8.f90: New.
* gfortran.dg/allocate_alloc_opt_9.f90: New.
* gfortran.dg/allocate_alloc_opt_10.f90: New.
* gfortran.dg/class_allocate_2.f03: Modified an error message.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160801 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/fortran/ChangeLog
gcc/fortran/gfortran.h
gcc/fortran/match.c
gcc/fortran/resolve.c
gcc/fortran/trans-stmt.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/allocate_alloc_opt_10.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/allocate_alloc_opt_8.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/allocate_alloc_opt_9.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/class_allocate_2.f03