This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/30303] [4.2/4.3 regression] ICE with invalid constructor definition
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Oct 2007 18:15:48 -0000
- Subject: [Bug c++/30303] [4.2/4.3 regression] ICE with invalid constructor definition
- References: <bug-30303-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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