re PR fortran/49638 ([OOP] length parameter is ignored when overriding type bound...
authorJanus Weil <janus@gcc.gnu.org>
Sun, 7 Aug 2011 20:59:16 +0000 (22:59 +0200)
committerJanus Weil <janus@gcc.gnu.org>
Sun, 7 Aug 2011 20:59:16 +0000 (22:59 +0200)
commit2240d1cfe860cc718e00b8a48c89316cdd1ceb88
treedc68c0720cc893fefa9aad630b6a9958f8466d70
parent588c8f488fd5294c83c6733c950d9902dcb9f15b
re PR fortran/49638 ([OOP] length parameter is ignored when overriding type bound character functions with constant length.)

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.

Co-Authored-By: Thomas Koenig <tkoenig@gcc.gnu.org>
From-SVN: r177550
gcc/fortran/ChangeLog
gcc/fortran/dependency.c
gcc/fortran/interface.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/typebound_override_1.f90 [new file with mode: 0644]