]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/fortran/interface.cc
re PR fortran/41951 ([OOP] Not diagnosing ambiguous operators (TB vs. INTERFACE))
authorJanus Weil <janus@gcc.gnu.org>
Wed, 27 Jun 2012 17:38:00 +0000 (19:38 +0200)
committerJanus Weil <janus@gcc.gnu.org>
Wed, 27 Jun 2012 17:38:00 +0000 (19:38 +0200)
commit362aa474604751c48e9ff6c39fcf81ee9adad8d2
treee4e01843836bcc2058fb6dd585f2390353bb6a21
parentb585a51fb9b8c310ec7877bd7f0a93626b1d822a
re PR fortran/41951 ([OOP] Not diagnosing ambiguous operators (TB vs. INTERFACE))

2012-06-27  Janus Weil  <janus@gcc.gnu.org>

PR fortran/41951
PR fortran/49591
* interface.c (check_new_interface): Rename, add 'loc' argument,
make non-static.
(gfc_add_interface): Rename 'check_new_interface'
* gfortran.h (gfc_check_new_interface): Add prototype.
* resolve.c (resolve_typebound_intrinsic_op): Add typebound operator
targets to non-typebound operator list.

2012-06-27  Janus Weil  <janus@gcc.gnu.org>

PR fortran/41951
PR fortran/49591
* gfortran.dg/typebound_operator_16.f03: New.

From-SVN: r189022
gcc/fortran/ChangeLog
gcc/fortran/gfortran.h
gcc/fortran/interface.c
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/typebound_operator_16.f03 [new file with mode: 0644]