This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/53305] New: internal crash with variadic templates and decltype


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]