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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to