This is the mail archive of the gcc-patches@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]

Re: [C++/PATCH] Fix PR 30303, ICE with invalid constructor definition


Sorry for breaking the threading, I cannot find the original email
anymore (http://gcc.gnu.org/ml/gcc-patches/2007-01/msg00960.html).

Anyways I committed this patch to the trunk after a bootstrap/test on
i386-apple-darwin with no regressions.

The only different between this patch and the older one is a new
testcase, this time for deconstructors.

Thanks,
Andrew Pinski

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

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

Attachment: fixpr30303.diff.txt
Description: Text document


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