This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/38640] New: ICE with decltype of template value parameter
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Dec 2008 22:53:48 -0000
- Subject: [Bug c++/38640] New: ICE with decltype of template value parameter
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following valid code snippet triggers an ICE since GCC 4.3.0
(when __decltype was introduced):
================================================
template<int N> 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