This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/37650] [4.2/4.3/4.4 regression] ICE with broken default template parameter
- From: "paolo 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 2008 17:53:19 -0000
- Subject: [Bug c++/37650] [4.2/4.3/4.4 regression] ICE with broken default template parameter
- References: <bug-37650-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from paolo at gcc dot gnu dot org 2008-10-14 17:53 -------
Subject: Bug 37650
Author: paolo
Date: Tue Oct 14 17:51:55 2008
New Revision: 141115
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141115
Log:
/cp
2008-10-14 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/37650
* pt.c (push_template_decl_real): Check that current_template_parms
is not null.
(process_partial_specialization): Assert current_template_parms not
null.
/testsuite
2008-10-14 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/37650
* g++.dg/template/crash83.C: New.
Added:
trunk/gcc/testsuite/g++.dg/template/crash83.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37650