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: unassignedclangb...@nondot.org
          Reporter: picke...@synopsys.com
                CC: llvm-bugs@lists.llvm.org, mclow.li...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to