aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/module.c
diff options
context:
space:
mode:
authorJanus Weil <janus@gcc.gnu.org>2010-01-17 14:33:11 +0100
committerJanus Weil <janus@gcc.gnu.org>2010-01-17 14:33:11 +0100
commitae7c61dead40c0674b58c676a225ca05cea3ffe8 (patch)
tree8c1bf05482652f2ce135f68f615e6f5f831954e3 /gcc/fortran/module.c
parent8232dc642719b5b19812bffd1ee7f40888a7d328 (diff)
downloadgcc-ae7c61dead40c0674b58c676a225ca05cea3ffe8.zip
gcc-ae7c61dead40c0674b58c676a225ca05cea3ffe8.tar.gz
gcc-ae7c61dead40c0674b58c676a225ca05cea3ffe8.tar.bz2
re PR fortran/42677 (Bogus Error: Ambiguous interfaces '...' in intrinsic assignment operator)
gcc/fortran/ 2010-01-17 Janus Weil <janus@gcc.gnu.org> PR fortran/42677 * gfortran.h (symbol_attribute): Remove 'ambiguous_interfaces'. * interface.c (check_interface1): Move a warning message here from resolve_fl_procedure. (check_sym_interfaces): Removed 'attr.ambiguous_interfaces'. * module.c (read_module): Remove call to gfc_check_interfaces, since this comes too early here. * resolve.c (resolve_fl_procedure): Move warning message to check_interface1. gcc/testsuite/ 2010-01-17 Janus Weil <janus@gcc.gnu.org> PR fortran/42677 * gfortran.dg/interface_assignment_5.f90: New test. From-SVN: r155979
Diffstat (limited to 'gcc/fortran/module.c')
-rw-r--r--gcc/fortran/module.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/fortran/module.c b/gcc/fortran/module.c
index 667bab8..13c9b82 100644
--- a/gcc/fortran/module.c
+++ b/gcc/fortran/module.c
@@ -4482,8 +4482,6 @@ read_module (void)
module_name);
}
- gfc_check_interfaces (gfc_current_ns);
-
/* Now we should be in a position to fill f2k_derived with derived type
extensions, since everything has been loaded. */
set_module_locus (&extensions);