[Bug c++/29077] Incorrect error message for destructor in wrong namespace

simartin at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Mar 28 21:06:00 GMT 2007



------- Comment #3 from simartin at gcc dot gnu dot org  2007-03-28 22:06 -------
Subject: Bug 29077

Author: simartin
Date: Wed Mar 28 22:06:01 2007
New Revision: 123312

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123312
Log:
2007-03-28  Simon Martin  <simartin@users.sourceforge.net>

        PR c++/29077
        * decl.c (grokfndecl): Properly setup decl if it is a constructor or a
        destructor.

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


-- 


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



More information about the Gcc-bugs mailing list