decl.c (grok_op_properties): Don't complain about size_t placement delete here.
authorJason Merrill <jason@redhat.com>
Wed, 20 May 2015 21:32:46 +0000 (17:32 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Wed, 20 May 2015 21:32:46 +0000 (17:32 -0400)
commit1210105350eff9956347a4c0a3ae09d0514b81d0
treeb96971c70160c7e2f7a222ef037214dd9673be82
parentfa5cc2db547120c41a1f1708039ad54b9dd171ea
decl.c (grok_op_properties): Don't complain about size_t placement delete here.

* decl.c (grok_op_properties): Don't complain about size_t
placement delete here.
* call.c (second_parm_is_size_t): Split out from...
(non_placement_deallocation_fn_p): ...here.
(build_op_delete_call): Warn about size_t placement delete with
-Wc++14-compat.

From-SVN: r223460
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/cp/decl.c
gcc/testsuite/g++.dg/cpp1y/sized-dealloc2.C
gcc/testsuite/g++.dg/init/placement5.C