public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "pault at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/28201] gfortran ICE if argument list does not match generic interface Date: Fri, 07 Jul 2006 18:46:00 -0000 [thread overview] Message-ID: <20060707184641.28403.qmail@sourceware.org> (raw) In-Reply-To: <bug-28201-6552@http.gcc.gnu.org/bugzilla/> ------- Comment #2 from pault at gcc dot gnu dot org 2006-07-07 18:46 ------- This fixes the fault and i presently regtesting: Index: gcc/fortran/resolve.c =================================================================== *** gcc/fortran/resolve.c (revision 115245) --- gcc/fortran/resolve.c (working copy) *************** resolve_generic_s (gfc_code * c) *** 1500,1508 **** if (m == MATCH_ERROR) return FAILURE; ! if (sym->ns->parent != NULL) { ! gfc_find_symbol (sym->name, sym->ns->parent, 1, &sym); if (sym != NULL) { m = resolve_generic_s0 (c, sym); --- 1500,1511 ---- if (m == MATCH_ERROR) return FAILURE; ! if (sym->ns->parent != NULL || sym->attr.use_assoc) { ! if (sym->attr.use_assoc) ! gfc_find_symbol (sym->name, sym->ns, 1, &sym); ! else ! gfc_find_symbol (sym->name, sym->ns->parent, 1, &sym); if (sym != NULL) { m = resolve_generic_s0 (c, sym); If all is well, I will prepare a testsuite case and submit tomorrow. Paul -- pault at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |pault at gcc dot gnu dot org |dot org | Status|NEW |ASSIGNED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28201
next prev parent reply other threads:[~2006-07-07 18:46 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-06-29 12:55 [Bug fortran/28201] New: " daniel dot franke at imbs dot uni-luebeck dot de 2006-06-29 22:30 ` [Bug fortran/28201] " pault at gcc dot gnu dot org 2006-07-07 18:46 ` pault at gcc dot gnu dot org [this message] 2006-07-08 13:35 ` patchapp at dberlin dot org 2006-07-16 15:02 ` pault at gcc dot gnu dot org 2006-07-16 17:17 ` pault at gcc dot gnu dot org 2006-07-16 17:19 ` pault at gcc dot gnu dot org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20060707184641.28403.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).