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++/30303] [4.2/4.3 regression] ICE with invalid constructor definition



------- Comment #12 from pinskia at gcc dot gnu dot org  2007-10-14 18:15 -------
Subject: Bug 30303

Author: pinskia
Date: Sun Oct 14 18:15:35 2007
New Revision: 129298

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129298
Log:
2007-10-14  Andrew Pinski  <pinskia@gmail.com>

        PR c++/30303
        * decl.c (grokfndecl): Return NULL after the "definition of
        implicitly-declared" error happened.

2007-10-14  Andrew Pinski  <pinskia@gmail.com>

        PR c++/30303
        * g++.dg/other/ctor1.C: New test.
        * g++.dg/other/ctor2.C: New test.
        * g++.dg/other/dtor1.C: New test.


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


-- 


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


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