https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102071

--- Comment #8 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Jason Merrill
<ja...@gcc.gnu.org>:

https://gcc.gnu.org/g:fd669a0613aaa23222977eecc9e7165aa3fd1bcf

commit r10-10728-gfd669a0613aaa23222977eecc9e7165aa3fd1bcf
Author: Jason Merrill <ja...@redhat.com>
Date:   Sun Mar 27 12:36:13 2022 -0400

    c++: low -faligned-new [PR102071]

    This test ICEd after the constexpr new patch (r10-3661) because alloc_call
    had a NOP_EXPR around it; fixed by moving the NOP_EXPR to alloc_expr.  And
    the PR pointed out that the size_t cookie might need more alignment, so I
    fix that as well.

            PR c++/102071

    gcc/cp/ChangeLog:

            * init.c (build_new_1): Include cookie in alignment.  Omit
            constexpr wrapper from alloc_call.

    gcc/testsuite/ChangeLog:

            * g++.dg/cpp1z/aligned-new9.C: New test.
  • [Bug c++/102071] [10 Regression... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to