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: unassig...@gcc.gnu.org
        ReportedBy: ches...@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

Reply via email to