From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25489 invoked by alias); 14 May 2003 23: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 25442 invoked by uid 71); 14 May 2003 23:26:00 -0000 Date: Wed, 14 May 2003 23:26:00 -0000 Message-ID: <20030514232600.25440.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: "Giovanni Bajo" Subject: Re: c++/10722: [3.3 regression] ICE (segfault) when specializing with an invalid type Reply-To: "Giovanni Bajo" X-SW-Source: 2003-05/txt/msg01722.txt.bz2 List-Id: The following reply was made to PR c++/10722; it has been noted by GNATS. From: "Giovanni Bajo" To: , , , , Cc: Subject: Re: c++/10722: [3.3 regression] ICE (segfault) when specializing with an invalid type Date: Thu, 15 May 2003 01:19:58 +0200 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10722 Let's split this PR. I will shortly open a new PR to track the 3.4 issue, we keep this one only for the 3.3 reduced snippet. In other words, the bug we track here is: --------------------------------------------- template struct pair {}; template struct pair { typedef T first_type; }; --------------------------------------------- pr10722.cpp:5: error: type/value mismatch at argument 2 in template parameter list for `template struct pair' pr10722.cpp:5: error: expected a type, got `INVALID' pr10722.cpp:6: internal compiler error: Segmentation fault Please submit a full bug report, This is an ice-on-illegal, 3.3 regression with respect to 2.95 where the code was not ICE-ing the compiler. Giovanni Bajo