This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/32111] [4.3 regression] ICE declaring destructor as friend



------- Comment #2 from simartin at gcc dot gnu dot org  2007-06-25 22:51 -------
Subject: Bug 32111

Author: simartin
Date: Mon Jun 25 22:51:12 2007
New Revision: 126006

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

2007-06-26  Simon Martin  <simartin@users.sourceforge.net>

        PR c++/32111
        * decl.c (grokdeclarator): Reset friendp for member functions declared
        friend of their own class.

gcc/testsuite/

2006-06-26  Simon Martin  <simartin@users.sourceforge.net>

        PR c++/32111
        * g++.dg/other/friend5.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/other/friend5.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]