From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16674 invoked by alias); 26 Dec 2008 22:55:02 -0000 Received: (qmail 16299 invoked by uid 48); 26 Dec 2008 22:53:48 -0000 Date: Fri, 26 Dec 2008 22:55:00 -0000 Subject: [Bug c++/38640] New: ICE with decltype of template value parameter X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "reichelt 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-12/txt/msg02372.txt.bz2 The following valid code snippet triggers an ICE since GCC 4.3.0 (when __decltype was introduced): ================================================ template void foo(__decltype(N)); ================================================ bug.cc:1: internal compiler error: in finish_decltype_type, at cp/semantics.c:4645 -- Summary: ICE with decltype of template value parameter Product: gcc Version: 4.4.0 Status: UNCONFIRMED Keywords: ice-on-valid-code, monitored Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38640