[llvm-bugs] [Bug 47422] New: Avoiding the destructor in C++17 mode miscompilation
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Sep 4 10:58:22 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=47422
Bug ID: 47422
Summary: Avoiding the destructor in C++17 mode miscompilation
Product: new-bugs
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: kutdanila at yandex.ru
CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org
https://godbolt.org/z/5WTvox
After "1" in the output the destructor is called only twice in C++17 mode. This
leads to a lead
In <=C++14 and in gcc it works. I don't see any violations of the standard
there
Probably it was like this since C++17 support
--
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/20200904/3b481ffb/attachment-0001.html>
More information about the llvm-bugs
mailing list