From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6528 invoked by alias); 1 May 2003 00:26:00 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 6509 invoked by uid 71); 1 May 2003 00:26:00 -0000 Resent-Date: 1 May 2003 00:26:00 -0000 Resent-Message-ID: <20030501002600.6508.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, giovannibajo@libero.it Received: (qmail 3688 invoked by uid 48); 1 May 2003 00:21:15 -0000 Message-Id: <20030501002115.3687.qmail@sources.redhat.com> Date: Thu, 01 May 2003 00:26:00 -0000 From: giovannibajo@libero.it Reply-To: giovannibajo@libero.it To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: c++/10576: [3.3/3.4 regression] ICE in error recovery with a wrong template parameter default and a specialization X-SW-Source: 2003-05/txt/msg00004.txt.bz2 List-Id: >Number: 10576 >Category: c++ >Synopsis: [3.3/3.4 regression] ICE in error recovery with a wrong template parameter default and a specialization >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: ice-on-illegal-code >Submitter-Id: net >Arrival-Date: Thu May 01 00:26:00 UTC 2003 >Closed-Date: >Last-Modified: >Originator: Giovanni Bajo >Release: unknown-1.0 >Organization: >Environment: i686-pc-cygwin >Description: While playing with c++/10574, I found this regression: ---------------------------- template struct A { template struct C { typename T::x y; }; template <> struct C {}; }; A::C<> a; ---------------------------- gccbug2.cpp:4: error: expected type-name gccbug2.cpp:4: error: expected type-name gccbug2.cpp:10: error: invalid explicit specialization gccbug2.cpp:14: error: template argument 1 is invalid gccbug2.cpp:14: internal compiler error: tree check: expected tree_vec, have error_mark in check_instantiated_args, at cp/pt.c:8401 Please submit a full bug report, This is a regression wrt 2.95 where the compiler was not ICE-ing. >How-To-Repeat: Compile the above code >Fix: >Release-Note: >Audit-Trail: >Unformatted: