aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/interface.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/fortran/interface.c')
-rw-r--r--gcc/fortran/interface.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/fortran/interface.c b/gcc/fortran/interface.c
index 36c383a..9edbb15 100644
--- a/gcc/fortran/interface.c
+++ b/gcc/fortran/interface.c
@@ -926,8 +926,7 @@ check_interface1 (gfc_interface * p, gfc_interface * q,
if (p->sym == q->sym)
continue; /* Duplicates OK here */
- if (strcmp (p->sym->name, q->sym->name) == 0
- && strcmp (p->sym->module, q->sym->module) == 0)
+ if (p->sym->name == q->sym->name && p->sym->module == q->sym->module)
continue;
if (compare_interfaces (p->sym, q->sym, generic_flag))