public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "mikael at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug fortran/38907] [4.3/4.4 Regression ] ICE when contained function has same name as module function and used in expression
Date: Mon, 19 Jan 2009 22:34:00 -0000	[thread overview]
Message-ID: <20090119223351.1769.qmail@sourceware.org> (raw)
In-Reply-To: <bug-38907-15620@http.gcc.gnu.org/bugzilla/>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 683 bytes --]



------- Comment #4 from mikael at gcc dot gnu dot org  2009-01-19 22:33 -------
This removes the ICE:

Index: primary.c
===================================================================
--- primary.c   (révision 143501)
+++ primary.c   (copie de travail)
@@ -2370,6 +2370,8 @@
   bool implicit_char;
   gfc_ref *ref;

+  where = gfc_current_locus;
+
   m = gfc_match_name (name);
   if (m != MATCH_YES)
     return m;
@@ -2385,7 +2387,6 @@

   sym = symtree->n.sym;
   e = NULL;
-  where = gfc_current_locus;

   /* If this is an implicit do loop index and implicitly typed,
      it should not be host associated.  */


-- 


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


  parent reply	other threads:[~2009-01-19 22:34 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-18 21:21 [Bug fortran/38907] New: " dick dot hendrickson at gmail dot com
2009-01-18 21:44 ` [Bug fortran/38907] " kargl at gcc dot gnu dot org
2009-01-18 21:47 ` [Bug fortran/38907] [regression 4.3/4.4] " kargl at gcc dot gnu dot org
2009-01-18 21:47 ` kargl at gcc dot gnu dot org
2009-01-18 22:28 ` [Bug fortran/38907] [4.3/4.4 Regression ] " burnus at gcc dot gnu dot org
2009-01-19 22:34 ` mikael at gcc dot gnu dot org [this message]
2009-01-19 22:40 ` dominiq at lps dot ens dot fr
2009-01-19 23:08 ` pault at gcc dot gnu dot org
2009-01-20 19:48 ` mikael at gcc dot gnu dot org
2009-01-20 21:57 ` pault at gcc dot gnu dot org
2009-01-20 21:59 ` [Bug fortran/38907] [4.3 " pault at gcc dot gnu dot org
2009-01-26  6:16 ` pault at gcc dot gnu dot org
2009-01-26  6:16 ` 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=20090119223351.1769.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).