public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/16301] [3.4/3.5 regression] ICE with strong using
Date: Thu, 01 Jul 2004 01:20:00 -0000	[thread overview]
Message-ID: <20040701012035.7724.qmail@sourceware.org> (raw)
In-Reply-To: <20040630174205.16301.bangerth@dealii.org>


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-07-01 01:20 -------
hmm, I do not know if I could call this a regression but ..

Confirmed.
And this patch fixes at this the first ICE (I do not know if another comes up):
Index: name-lookup.c
===============================================================
====
RCS file: /cvs/gcc/gcc/gcc/cp/name-lookup.c,v
retrieving revision 1.62
diff -u -d -b -w -u -p -r1.62 name-lookup.c
--- name-lookup.c       26 Jun 2004 21:11:19 -0000      1.62
+++ name-lookup.c       1 Jul 2004 01:19:39 -0000
@@ -3432,7 +3432,7 @@ parse_using_directive (tree namespace, t
        {
          if (!toplevel_bindings_p ())
            error ("strong using only meaningful at namespace scope");
-         else
+         else if (namespace != error_mark_node)
            DECL_NAMESPACE_ASSOCIATIONS (namespace)
              = tree_cons (current_namespace, 0,
                           DECL_NAMESPACE_ASSOCIATIONS (namespace));

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |3.4.2


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


  parent reply	other threads:[~2004-07-01  1:20 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-30 17:49 [Bug c++/16301] New: " bangerth at dealii dot org
2004-06-30 20:07 ` [Bug c++/16301] [3.4/3.5 regression] " reichelt at gcc dot gnu dot org
2004-07-01  1:20 ` pinskia at gcc dot gnu dot org [this message]
2004-08-02 18:53 ` mmitchel at gcc dot gnu dot org
2004-08-29 18:06 ` mmitchel at gcc dot gnu dot org
2004-10-14 23:58 ` [Bug c++/16301] [3.4/4.0 " pinskia at gcc dot gnu dot org
2004-10-15  0:25 ` pinskia at gcc dot gnu dot org
2004-10-15 14:30 ` cvs-commit at gcc dot gnu dot org
2004-10-15 14:32 ` [Bug c++/16301] [3.4 " pinskia at gcc dot gnu dot org
2004-10-17 17:40 ` pinskia at gcc dot gnu dot org
2004-10-17 17:41 ` cvs-commit 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=20040701012035.7724.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).