[llvm-bugs] [Bug 24597] constexpr: Read of object whose lifetime has ended
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Aug 27 10:00:39 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=24597
Richard Smith <richard-llvm at metafoo.co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |richard-llvm at metafoo.co.uk
Resolution|--- |INVALID
--- Comment #2 from Richard Smith <richard-llvm at metafoo.co.uk> ---
The code has undefined behavior because it is accessing an object outside its
lifetime, so is not a constant expression.
--
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/20150827/e24945c0/attachment-0001.html>
More information about the llvm-bugs
mailing list