[Bug fortran/43388] [F2008][OOP] ALLOCATE with MOLD=
janus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Jun 15 18:35:00 GMT 2010
------- Comment #3 from janus at gcc dot gnu dot org 2010-06-15 18:35 -------
Subject: Bug 43388
Author: janus
Date: Tue Jun 15 18:33:58 2010
New Revision: 160801
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=160801
Log:
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.
Added:
trunk/gcc/testsuite/gfortran.dg/allocate_alloc_opt_10.f90
trunk/gcc/testsuite/gfortran.dg/allocate_alloc_opt_8.f90
trunk/gcc/testsuite/gfortran.dg/allocate_alloc_opt_9.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/gfortran.h
trunk/gcc/fortran/match.c
trunk/gcc/fortran/resolve.c
trunk/gcc/fortran/trans-stmt.c
trunk/gcc/testsuite/ChangeLog
trunk/gcc/testsuite/gfortran.dg/class_allocate_2.f03
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43388
More information about the Gcc-bugs
mailing list