[llvm-bugs] [Bug 49323] New: deque::insert doesn't cleanup if exception is fired by an element copy constructor
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Feb 22 16:51:02 PST 2021
https://bugs.llvm.org/show_bug.cgi?id=49323
Bug ID: 49323
Summary: deque::insert doesn't cleanup if exception is fired by
an element copy constructor
Product: libc++
Version: 10.0
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: Standards Issues
Assignee: unassignedclangbugs at nondot.org
Reporter: pickensd at synopsys.com
CC: llvm-bugs at lists.llvm.org, mclow.lists at gmail.com
Created attachment 24562
--> https://bugs.llvm.org/attachment.cgi?id=24562&action=edit
compile the test case for any target and execute it. It will display "FAIL"
The "deque::insert()" of multiple elements does not properly clean up if a copy
constructor of one of the elements fires an exception.
See attached test case.
--
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/20210223/c3e33e6f/attachment.html>
More information about the llvm-bugs
mailing list