[llvm-bugs] [Bug 30405] New: support __uint128_t literals

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Sep 15 16:15:47 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=30405

            Bug ID: 30405
           Summary: support __uint128_t literals
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: ahatanak at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

When compiling the following code, clang prints the error message "error:
integer literal is too large to be represented in any integer type".

__int128_t value = (__uint128_t) 0x00000600000000000000000000000000;

It would be nice to support add support for 128-bit literals to clang.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160915/136e75ec/attachment.html>


More information about the llvm-bugs mailing list