[llvm-bugs] [Bug 45535] __builtin_constant_p with statement expression leaks destructor calls

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Apr 20 21:25:04 PDT 2020


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Richard Smith <richard-llvm at metafoo.co.uk> ---
Not actually a __builtin_constant_p bug; rather, our detection of side-effects
in statement expressions was broken and didn't consider side-effects from
destructors. Fixed in llvmorg-11-init-12498-ge128f710ea8.

-- 
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/20200421/3543a7da/attachment.html>


More information about the llvm-bugs mailing list