aboutsummaryrefslogtreecommitdiff
path: root/libphobos/src/std/outbuffer.d
diff options
context:
space:
mode:
authorJason Merrill <jason@redhat.com>2019-04-20 02:18:30 -0400
committerJason Merrill <jason@gcc.gnu.org>2019-04-20 02:18:30 -0400
commitd395d8e771fce88e46e5c3908e53669adb5b71c4 (patch)
tree76e47dc2a375b689c261b98bd13908eab3711885 /libphobos/src/std/outbuffer.d
parentf9eff98e6fd81e72f662f721f31b99d6f8db5f7e (diff)
downloadgcc-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