[llvm-bugs] [Bug 31350] New: Containers should diagnose swapping with non-POCS non-equal allocators

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Dec 11 01:10:23 PST 2016


https://llvm.org/bugs/show_bug.cgi?id=31350

            Bug ID: 31350
           Summary: Containers should diagnose swapping with non-POCS
                    non-equal allocators
           Product: libc++
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: eric at efcs.ca
                CC: llvm-bugs at lists.llvm.org, mclow.lists at gmail.com
    Classification: Unclassified

r289358 fixed a bunch of undefined behavior in the container swap tests where
we were swapping non-equal non-POCS allocators. Instead of accepting these
cases like we previously had we should add _LIBCPP_DEBUG checks to assert when
they occur.

-- 
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/20161211/cfa82e08/attachment.html>


More information about the llvm-bugs mailing list