public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "janus at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/65469] [4.8/4.9/5 Regression] ICE on bad code
Date: Fri, 20 Mar 2015 22:51:00 -0000	[thread overview]
Message-ID: <bug-65469-4-chXCjP6Q4L@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-65469-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65469

--- Comment #2 from janus at gcc dot gnu.org ---
This should be enough to fix it:

Index: gcc/fortran/interface.c
===================================================================
--- gcc/fortran/interface.c    (Revision 221530)
+++ gcc/fortran/interface.c    (Arbeitskopie)
@@ -1569,7 +1569,7 @@ check_interface0 (gfc_interface *p, const char *in
      functions or subroutines.  */
       if (((!p->sym->attr.function && !p->sym->attr.subroutine)
        || !p->sym->attr.if_source)
-      && p->sym->attr.flavor != FL_DERIVED)
+      && p->sym->attr.flavor != FL_DERIVED && *p->sym->name)
     {
       if (p->sym->attr.external)
         gfc_error ("Procedure %qs in %s at %L has no explicit interface",


  parent reply	other threads:[~2015-03-20 21:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-19 10:37 [Bug fortran/65469] New: " daniel.price at monash dot edu
2015-03-20  9:27 ` [Bug fortran/65469] [4.8/4.9/5 Regression] " janus at gcc dot gnu.org
2015-03-20 12:12 ` jakub at gcc dot gnu.org
2015-03-20 22:51 ` janus at gcc dot gnu.org [this message]
2015-04-04  9:31 ` dominiq at lps dot ens.fr
2015-04-04 10:11 ` dominiq at lps dot ens.fr
2015-04-04 10:34 ` dominiq at lps dot ens.fr
2015-04-06 19:14 ` dominiq at lps dot ens.fr

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=bug-65469-4-chXCjP6Q4L@http.gcc.gnu.org/bugzilla/ \
    --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: link
Be 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).