[llvm-bugs] [Bug 13271] Overflow in array type bit size evaluation
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Apr 23 15:21:01 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=13271
Alexander Kornienko <alexfh at google.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |alexfh at google.com
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #5 from Alexander Kornienko <alexfh at google.com> ---
Not reproducible:
$ clang -cc1 -triple x86_64-unknown-linux-gnu jsinterp.ii
jsinterp.ii:33:16: error: array is too large (18446744073709437916 elements)
char padding[ChunkPadSize];
^~~~~~~~~~~~
jsinterp.ii:38:37: error: 'moz_static_assert41' declared as an array with a
negative size
typedef int moz_static_assert41[(sizeof(Chunk) == ChunkSize) ? 1 : -1];
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
--
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/20190423/1179fbfb/attachment.html>
More information about the llvm-bugs
mailing list