[LLVMbugs] [Bug 13216] New: C++11 crash 'isStruct() && "Invalid accessor"'

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jun 26 14:25:02 PDT 2012


http://llvm.org/bugs/show_bug.cgi?id=13216

             Bug #: 13216
           Summary: C++11 crash 'isStruct() && "Invalid accessor"'
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++11
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: paul.robinson at am.sony.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 8769
  --> http://llvm.org/bugs/attachment.cgi?id=8769
test case and crash backtrace

The attached source asserts with 'isStruct() && "Invalid accessor"'
at clang/include/clang/AST/APValue.h:302, using -std=c++11.
I'm on r159223, but the crash occurs with r155756 or later.
Although I expect that patch is not directly responsible.

With -std=c++03 it warns about '= default' as a C++11 extension,
but does produce an object file.

The test case is as reduced as I know how to make it; 4 layers of
templates, sorry about that! Taking any of them out made it go away.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list