[llvm-bugs] [Bug 50761] New: Cherry-pick 71e4d434dc83b02a853712a5cb026ee2fa9ba67f to release/12.x

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jun 17 13:13:36 PDT 2021


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

            Bug ID: 50761
           Summary: Cherry-pick 71e4d434dc83b02a853712a5cb026ee2fa9ba67f
                    to release/12.x
           Product: libc++
           Version: 12.0
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: ldionne at apple.com
                CC: llvm-bugs at lists.llvm.org, mclow.lists at gmail.com
            Blocks: 49317

Please cherry-pick this to the 12.x releases:

commit 71e4d434dc83b02a853712a5cb026ee2fa9ba67f
Author: Louis Dionne <ldionne.2 at gmail.com>
Date:   Wed Jun 16 12:35:00 2021 -0400

    [libc++] Make sure std::allocator<void> is always trivial

    When we removed the allocator<void> specialization, the triviality of
    std::allocator<void> changed because the primary template had a
    non-trivial default constructor and the specialization didn't
    (so std::allocator<void> went from trivial to non-trivial).

    This commit fixes that oversight by giving a trivial constructor to
    the primary template when instantiated on cv-void.

    This was reported in https://llvm.org/PR50299.

    Differential Revision: https://reviews.llvm.org/D104398


Referenced Bugs:

https://bugs.llvm.org/show_bug.cgi?id=49317
[Bug 49317] [meta] 12.0.1 Release Blockers
-- 
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/20210617/8cd76ae8/attachment.html>


More information about the llvm-bugs mailing list