[Bug fortran/49638] [OOP] length parameter is ignored when overriding type bound character functions with constant length.
janus at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Aug 7 21:00:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49638
--- Comment #18 from janus at gcc dot gnu.org 2011-08-07 20:59:20 UTC ---
Author: janus
Date: Sun Aug 7 20:59:16 2011
New Revision: 177550
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=177550
Log:
2011-08-07 Janus Weil <janus@gcc.gnu.org>
Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/49638
* dependency.c (are_identical_variables): For dummy arguments only
check for equal names, not equal symbols.
* interface.c (gfc_check_typebound_override): Add checking for rank
and character length.
2011-08-07 Janus Weil <janus@gcc.gnu.org>
PR fortran/49638
* gfortran.dg/typebound_override_1.f90: New.
Added:
trunk/gcc/testsuite/gfortran.dg/typebound_override_1.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/dependency.c
trunk/gcc/fortran/interface.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list