[llvm-bugs] [Bug 38266] taking address of temporary array

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Jul 22 21:00:40 PDT 2018


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

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 #2 from Richard Smith <richard-llvm at metafoo.co.uk> ---
The code is fine, array to pointer decay is permitted on array temporaries.

-- 
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/20180723/3fa4c65a/attachment.html>


More information about the llvm-bugs mailing list