diff options
author | Jason Merrill <jason@redhat.com> | 2019-04-20 02:18:30 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2019-04-20 02:18:30 -0400 |
commit | d395d8e771fce88e46e5c3908e53669adb5b71c4 (patch) | |
tree | 76e47dc2a375b689c261b98bd13908eab3711885 /libphobos/src/std/outbuffer.d | |
parent | f9eff98e6fd81e72f662f721f31b99d6f8db5f7e (diff) | |
download | gcc-d395d8e771fce88e46e5c3908e53669adb5b71c4.zip gcc-d395d8e771fce88e46e5c3908e53669adb5b71c4.tar.gz gcc-d395d8e771fce88e46e5c3908e53669adb5b71c4.tar.bz2 |
PR c++/90171 - ICE with destroying delete with size_t parm.
The problem here was that "second parm is size_t" is false for a destroying
sized delete. So let's introduce sized_deallocation_fn_p when that's what
we're asking, and reserve second_parm_is_size_t for the specific case of
warning about possible confusion with placement delete.
* call.c (sized_deallocation_fn_p): New. Use it instead of
second_parm_is_size_t in most cases.
(second_parm_is_size_t): Don't check for aligned.
From-SVN: r270467
Diffstat (limited to 'libphobos/src/std/outbuffer.d')
0 files changed, 0 insertions, 0 deletions