[llvm-bugs] [Bug 43646] variant converting constructor fails for primitives
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Oct 11 10:35:02 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=43646
Marshall Clow (home) <mclow.lists at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Marshall Clow (home) <mclow.lists at gmail.com> ---
This is the same bug as you reported to libstdc++:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92057
I worked with Jonathan in his analysis, and I concur with his conclusion that
this *is* a narrowing conversion, and should be rejected.
The `double x[] = {600};` is a red herring because 600 is a constant.
Resolving as invalid.
--
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/20191011/fa8c2930/attachment-0001.html>
More information about the llvm-bugs
mailing list