public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "simartin at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/30917] [4.1/4.2/4.3 Regression] ICE with friend in local class (to a function)
Date: Sat, 28 Jul 2007 20:13:00 -0000	[thread overview]
Message-ID: <20070728201255.20124.qmail@sourceware.org> (raw)
In-Reply-To: <bug-30917-6528@http.gcc.gnu.org/bugzilla/>



------- Comment #7 from simartin at gcc dot gnu dot org  2007-07-28 20:12 -------
Subject: Bug 30917

Author: simartin
Date: Sat Jul 28 20:12:42 2007
New Revision: 127023

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=127023
Log:
gcc/cp/

2007-07-28  Simon Martin  <simartin@users.sourceforge.net>
            Mark Mitchell  <mark@codesourcery.com>

        PR c++/30917
        * name-lookup.c (lookup_name_real): Non namespace-scope bindings can be
        hidden due to friend declarations in local classes.

gcc/testsuite/

2007-07-28  Simon Martin  <simartin@users.sourceforge.net>

        PR c++/30917
        * g++.dg/lookup/friend11.C: New test.

Added:
    branches/gcc-4_2-branch/gcc/testsuite/g++.dg/lookup/friend11.C
Modified:
    branches/gcc-4_2-branch/gcc/cp/ChangeLog
    branches/gcc-4_2-branch/gcc/cp/name-lookup.c
    branches/gcc-4_2-branch/gcc/testsuite/ChangeLog


-- 


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


  parent reply	other threads:[~2007-07-28 20:13 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-21 18:24 [Bug c++/30917] New: " pinskia at gcc dot gnu dot org
2007-02-21 18:24 ` [Bug c++/30917] " pinskia at gcc dot gnu dot org
2007-02-22  6:53 ` [Bug c++/30917] [4.3 Regression] " pinskia at gcc dot gnu dot org
2007-02-22  9:36 ` [Bug c++/30917] [4.1/4.2/4.3 " rguenth at gcc dot gnu dot org
2007-03-05  4:01 ` mmitchel at gcc dot gnu dot org
2007-03-08  6:55 ` patchapp at dberlin dot org
2007-07-08 22:41 ` mmitchel at gcc dot gnu dot org
2007-07-28 10:48 ` simartin at gcc dot gnu dot org
2007-07-28 20:13 ` simartin at gcc dot gnu dot org [this message]
2007-07-28 20:14 ` [Bug c++/30917] [4.1 " simartin at gcc dot gnu dot org
2007-08-30 16:33 ` jason 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=20070728201255.20124.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).