PR c++/82760 - memory corruption with aligned new.
commitf8c7ac65a8828817981926cca7a6e582b7312db7
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 29 Nov 2017 21:01:23 +0000 (29 21:01 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 29 Nov 2017 21:01:23 +0000 (29 21:01 +0000)
tree723e990cac4187a1da2f93888fa2fe98694045f1
parenta26bb51cf8394ec58b4b538c57f4069e62bbc152
PR c++/82760 - memory corruption with aligned new.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@255253 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/g++.dg/cpp1z/aligned-new8.C [new file with mode: 0644]