PR c++/82760 - memory corruption with aligned new.
authorJason Merrill <jason@redhat.com>
Wed, 29 Nov 2017 21:01:23 +0000 (16:01 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 29 Nov 2017 21:01:23 +0000 (16:01 -0500)
commite3704417fa5e3ab896ae766087783b098a2f2f8f
tree723e990cac4187a1da2f93888fa2fe98694045f1
parentedaa6eb53a331e71fe3e8826fc40f51683d01237
PR c++/82760 - memory corruption with aligned new.

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

From-SVN: r255253
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/g++.dg/cpp1z/aligned-new8.C [new file with mode: 0644]