[llvm-bugs] [Bug 38140] Size of array is not checked

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jul 11 19:05:10 PDT 2018


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

Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED
                 CC|                            |richard-llvm at metafoo.co.uk

--- Comment #1 from Richard Smith <richard-llvm at metafoo.co.uk> ---
[dcl.array] says "If the constant-expression is present, it shall be a
converted constant expression of type std​::​size_­t", so this is a GCC bug.

-- 
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/20180712/8ccaf4d1/attachment-0001.html>


More information about the llvm-bugs mailing list