This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r174513 - in /branches/gcc-4_6-branch/gcc: fort...
- From: tkoenig at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 31 May 2011 21:37:02 -0000
- Subject: r174513 - in /branches/gcc-4_6-branch/gcc: fort...
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