[llvm-bugs] [Bug 45087] implicit copy construction of recursively empty class object rejected in constant expression evaluation
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Mar 3 16:00:11 PST 2020
https://bugs.llvm.org/show_bug.cgi?id=45087
Richard Smith <richard-llvm at metafoo.co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Fixed By Commit(s)| |ad18665e377824fd545ca81117b
| |4953e60e2823c
Status|NEW |RESOLVED
--- Comment #1 from Richard Smith <richard-llvm at metafoo.co.uk> ---
Confirmed. This is the trivial-copy optimization kicking in and trying to read
from 'a', despite the fact that the 'A' copy constructor doesn't do so.
Fixed for Clang 11.
--
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/20200304/899a05d6/attachment.html>
More information about the llvm-bugs
mailing list