From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14603 invoked by alias); 14 Oct 2008 17:54:39 -0000 Received: (qmail 14167 invoked by alias); 14 Oct 2008 17:53:19 -0000 Date: Tue, 14 Oct 2008 17:54:00 -0000 Message-ID: <20081014175319.14166.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/37650] [4.2/4.3/4.4 regression] ICE with broken default template parameter In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "paolo at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-10/txt/msg00928.txt.bz2 ------- 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 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 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