]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/30917 (ICE with friend in local class (to a function))
authorSimon Martin <simartin@users.sourceforge.net>
Sat, 28 Jul 2007 20:12:42 +0000 (20:12 +0000)
committerSimon Martin <simartin@gcc.gnu.org>
Sat, 28 Jul 2007 20:12:42 +0000 (20:12 +0000)
commit437ff9ff228f2c64c9f200f640521544f2c1a182
tree96d365cc966064990dc4b2e407ce3e129097591d
parent88bd81757654ac3578d6a75839ebf7a328acf044
re PR c++/30917 (ICE with friend in local class (to a function))

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.

Co-Authored-By: Mark Mitchell <mark@codesourcery.com>
From-SVN: r127023
gcc/cp/ChangeLog
gcc/cp/name-lookup.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lookup/friend11.C [new file with mode: 0644]