This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/53305] New: internal crash with variadic templates and decltype
- From: "chesstr at hotmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 10 May 2012 12:16:57 +0000
- Subject: [Bug c++/53305] New: internal crash with variadic templates and decltype
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53305
Bug #: 53305
Summary: internal crash with variadic templates and decltype
Classification: Unclassified
Product: gcc
Version: 4.6.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: chesstr@hotmail.com
Created attachment 27362
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27362
simplified c++ code that crushes gcc
g++ -std=c++0x gcc_bug.cpp -o t
gcc_bug.cpp: In member function âint funct::operator()(argTs ...)â:
gcc_bug.cpp:7:2: error: expected â;â before â}â token
gcc_bug.cpp:23: confused by earlier errors, bailing out
in the real (and more complex) code, instead the last error message was :
internal compiler error: Segmentation fault