public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "dfranke at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/44348] ICE in build_function_decl
Date: Sat, 12 Jun 2010 17:47:00 -0000	[thread overview]
Message-ID: <20100612174729.27811.qmail@sourceware.org> (raw)
In-Reply-To: <bug-44348-19262@http.gcc.gnu.org/bugzilla/>



------- Comment #4 from dfranke at gcc dot gnu dot org  2010-06-12 17:47 -------
The patch below fixes the ICE in comment #2, but not the original report.

However, it also message-regresses on
FAIL: gfortran.dg/derived_function_interface_1.f90  -O   (test for errors, line
41)
FAIL: gfortran.dg/derived_function_interface_1.f90  -O   (test for errors, line
42)
FAIL: gfortran.dg/global_references_1.f90  -O  (test for excess errors)


Index: decl.c
===================================================================
--- decl.c      (revision 160638)
+++ decl.c      (working copy)
@@ -863,7 +863,6 @@ get_proc_name (const char *name, gfc_sym
         this is handled using gsymbols to register unique,globally
         accessible names.  */
       if (sym->attr.flavor != 0
-         && sym->attr.proc != 0
          && (sym->attr.subroutine || sym->attr.function)
          && sym->attr.if_source != IFSRC_UNKNOWN)
        gfc_error_now ("Procedure '%s' at %C is already defined at %L",


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44348


  parent reply	other threads:[~2010-06-12 17:47 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-31 16:21 [Bug fortran/44348] New: " zeccav at gmail dot com
2010-06-01  5:02 ` [Bug fortran/44348] " pault at gcc dot gnu dot org
2010-06-10 19:09 ` dfranke at gcc dot gnu dot org
2010-06-12 14:43 ` dfranke at gcc dot gnu dot org
2010-06-12 17:47 ` dfranke at gcc dot gnu dot org [this message]
     [not found] <bug-44348-4@http.gcc.gnu.org/bugzilla/>
2013-04-16  8:49 ` zeccav at gmail dot com
2013-10-19 16:53 ` zeccav at gmail dot com
2015-08-13 14:42 ` bdavis at gcc dot gnu.org
2015-08-14  7:40 ` zeccav at gmail dot com

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=20100612174729.27811.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: 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).