From 9b46f94ffa7a8c7e3ddc95980359c75858d09f9c Mon Sep 17 00:00:00 2001 From: "Steven G. Kargl" Date: Fri, 28 Oct 2005 20:05:56 +0000 Subject: re PR fortran/24545 (gfortran bug regarding interface block with named END INTERFACE statements) PR fortran/24545 * interface.c (gfc_match_end_interface): Fix typo in INTERFACE_USER_OP case. From-SVN: r105953 --- gcc/fortran/ChangeLog | 6 ++++++ gcc/fortran/interface.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'gcc/fortran') diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index 3632e9e..f31943c 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,9 @@ +2005-10-28 Steven Bosscher + + PR fortran/24545 + * interface.c (gfc_match_end_interface): Fix typo in + INTERFACE_USER_OP case. + 2005-10-26 Francois-Xavier Coudert PR fortran/15586 diff --git a/gcc/fortran/interface.c b/gcc/fortran/interface.c index 5314d87..d8da617 100644 --- a/gcc/fortran/interface.c +++ b/gcc/fortran/interface.c @@ -295,7 +295,7 @@ gfc_match_end_interface (void) /* Comparing the symbol node names is OK because only use-associated symbols can be renamed. */ if (type != current_interface.type - || strcmp (current_interface.sym->name, name) != 0) + || strcmp (current_interface.uop->name, name) != 0) { gfc_error ("Expecting 'END INTERFACE OPERATOR (.%s.)' at %C", current_interface.sym->name); -- cgit v1.1