re PR fortran/49638 ([OOP] length parameter is ignored when overriding type bound...
commit13001f33ca62776df6dddf738d6f3f8633c3f3a9
authorJanus Weil <janus@gcc.gnu.org>
Sat, 20 Aug 2011 19:11:56 +0000 (20 21:11 +0200)
committerJanus Weil <janus@gcc.gnu.org>
Sat, 20 Aug 2011 19:11:56 +0000 (20 21:11 +0200)
tree0b566ef40080433f1d226346402ff9a2e006672f
parent894113c35c8cc3caa9b15860eb9ad06130776091
re PR fortran/49638 ([OOP] length parameter is ignored when overriding type bound character functions with constant length.)

2011-08-20  Janus Weil  <janus@gcc.gnu.org>

PR fortran/49638
* dependency.c (gfc_dep_compare_expr): Add new result value "-3".
(gfc_check_element_vs_section,gfc_check_element_vs_element): Handle
result value "-3".
        * frontend-passes.c (optimize_comparison): Ditto.
* interface.c (gfc_check_typebound_override): Ditto.

2011-08-20  Janus Weil  <janus@gcc.gnu.org>

PR fortran/49638
* gfortran.dg/typebound_override_1.f90: Modified.

From-SVN: r177932
gcc/fortran/ChangeLog
gcc/fortran/dependency.c
gcc/fortran/frontend-passes.c
gcc/fortran/interface.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/typebound_override_1.f90