This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/42634] ICE with -g -O2 -std=c++0x in copy_fn_p, at cp/decl.c:9973
- From: "dodji at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Jan 2010 15:39:10 -0000
- Subject: [Bug c++/42634] ICE with -g -O2 -std=c++0x in copy_fn_p, at cp/decl.c:9973
- References: <bug-42634-8535@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #14 from dodji at gcc dot gnu dot org 2010-01-19 15:39 -------
Created an attachment (id=19656)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19656&action=view)
candidate fix
I am testing this fix.
I think one residual issue that was left to fix in the revert patch was that
count_non_default_template_args is triggering some class type instantiation on
the new std::bind related code, but it shouldn't. This patch tries to avoid
that. But I'll sleep on it a bit. I have been bitten by it enough :-)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42634