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

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Jan 17 18:07:45 2018
New Revision: 256806

URL: https://gcc.gnu.org/viewcvs?rev=256806&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:
    branches/gcc-7-branch/gcc/testsuite/g++.dg/cpp1z/aligned-new8.C
Modified:
    branches/gcc-7-branch/gcc/cp/ChangeLog
    branches/gcc-7-branch/gcc/cp/call.c

Reply via email to