[llvm-bugs] [Bug 45593] bad literal and implicit cast inserted for aarch32 unsigned long literal
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Apr 17 17:09:58 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=45593
Nick Desaulniers <ndesaulniers at google.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|NEW |RESOLVED
--- Comment #1 from Nick Desaulniers <ndesaulniers at google.com> ---
Ah, sorry, I did some bad math (and forgot my rules for ILP32 vs LP64).
0x5346434e49 > ULONG_MAX (4294967295). This literal should be 0x5346434e49ull,
or better yet "INCFS" as an unsigned long that's compatible for ILP32 targets.
https://lore.kernel.org/linux-fsdevel/20190502040331.81196-2-ezemtsov@google.com/
--
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/20200418/44e5808a/attachment.html>
More information about the llvm-bugs
mailing list