[Bug fortran/45786] [4.5/4.6 Regression] Relational operators .eq. and == are not recognized as equivalent

tkoenig at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue May 31 21:39:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45786

--- Comment #12 from Thomas Koenig <tkoenig at gcc dot gnu.org> 2011-05-31 21:37:04 UTC ---
Author: tkoenig
Date: Tue May 31 21:37:01 2011
New Revision: 174513

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174513
Log:
2011-05-31  Thomas Koenig  <tkoenig@gcc.gnu.org>

    Backport from trunk
    PR fortran/45786
    * interface.c (gfc_equivalent_op):  New function.
    (gfc_check_interface):  Use gfc_equivalent_op instead
    of switch statement.
    * decl.c (access_attr_decl):  Also set access to an
    equivalent operator.

2011-05-31  Thomas Koenig  <tkoenig@gcc.gnu.org>

    Backport from trunk
    PR fortran/45786
    * gfortran.dg/operator_7.f90:  New test case.


Added:
    branches/gcc-4_6-branch/gcc/testsuite/gfortran.dg/operator_7.f90
Modified:
    branches/gcc-4_6-branch/gcc/fortran/ChangeLog
    branches/gcc-4_6-branch/gcc/fortran/decl.c
    branches/gcc-4_6-branch/gcc/fortran/gfortran.h
    branches/gcc-4_6-branch/gcc/fortran/interface.c
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list