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

            Bug ID: 21095
           Summary: Wrong handling of minimal long long integer
                    (-9223372036854775808ll) literal
           Product: clang
           Version: unspecified
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified

According to specs, the minimal possible signed long long integer on modern
MacBook (Intel Core i7 CPU) is -9223372036854775808. But when I specify it (as
-9223372036854775808ll) I got warning "Integer constant is larger than the
largest signed integer type" and integer is converted into usnigned long long
with value 9223372036854775808.

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