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

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Nov 29 21:01:23 2017
New Revision: 255253

URL: https://gcc.gnu.org/viewcvs?rev=255253&root=gcc&view=rev
Log:
        PR c++/82760 - memory corruption with aligned new.

        * call.c (build_operator_new_call): Update *args if we add the
        align_arg.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1z/aligned-new8.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/call.c

Reply via email to