[LLVMbugs] [Bug 12149] New: long long is not intmax_t

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Mar 1 03:53:12 PST 2012


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

             Bug #: 12149
           Summary: long long is not intmax_t
           Product: clang
           Version: 3.0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: idolihal at fit.vutbr.cz
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 8129
  --> http://llvm.org/bugs/attachment.cgi?id=8129
package of source files

I use clang inversion 3.0. The command is following:
clang -emit-llvm -c -ccc-host-triple msp430-none-linux-gnueabi -fno-builtin
-stdlib/rand.c -o ./rand.bc

and i receive the error message:
clang/lib/Sema/SemaExpr.cpp:2640: clang::ExprResult
clang::Sema::ActOnNumericConstant(const clang::Token&): Assertion
`Context.getTypeSize(Ty) == ResultVal.getBitWidth() && "long long is not
intmax_t?"' failed.

The source codes are included.

-- 
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