[LLVMbugs] [Bug 13271] New: Overflow in array type bit size evaluation

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jul 4 11:31:20 PDT 2012


             Bug #: 13271
           Summary: Overflow in array type bit size evaluation
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: rafael.espindola at gmail.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 8829
  --> http://llvm.org/bugs/attachment.cgi?id=8829

clang -cc1  jsinterp.ii

crashes with 

clang: /home/espindola/llvm/llvm/tools/clang/lib/AST/ASTContext.cpp:982:
std::pair<uint64_t, unsigned int> clang::ASTContext::getTypeInfoImpl(const
clang::Type *) const: Assertion `(Size == 0 || EltInfo.first <=
(uint64_t)(-1)/Size) && "Overflow in array type bit size evaluation"' failed.
Stack dump:
0.    Program arguments: ./build/bin/clang -cc1 jsinterp.ii 
1.    jsinterp.ii:38:75: current parser token ';'
2.    jsinterp.ii:1:1: parsing namespace 'js'
3.    jsinterp.ii:5:3: parsing namespace 'gc'

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