This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/42684] [4.5 Regression] ICE when interface operator(xx) available through host and use assoc in module procedure
- From: "jvdelisle at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Jan 2010 03:13:52 -0000
- Subject: [Bug fortran/42684] [4.5 Regression] ICE when interface operator(xx) available through host and use assoc in module procedure
- References: <bug-42684-17837@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from jvdelisle at gcc dot gnu dot org 2010-01-13 03:13 -------
The problem is here. Wrong argument passed to gfc_compare_interfaces.
It can't be NULL. I am testing this patch.
Index: interface.c
===================================================================
--- interface.c (revision 155799)
+++ interface.c (working copy)
@@ -1126,7 +1126,7 @@
if (p->sym->name == q->sym->name && p->sym->module == q->sym->module)
continue;
- if (gfc_compare_interfaces (p->sym, q->sym, NULL, generic_flag, 0,
+ if (gfc_compare_interfaces (p->sym, q->sym, q->sym->name, generic_flag,
0,
NULL, 0))
{
if (referenced)
--
jvdelisle at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2010-01-11 08:32:42 |2010-01-13 03:13:52
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42684