https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90171

--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue May  7 22:37:24 2019
New Revision: 270986

URL: https://gcc.gnu.org/viewcvs?rev=270986&root=gcc&view=rev
Log:
        PR c++/90171 - reorganize usual_deallocation_fn_p

When fixing 90171 it struck me as undesirable to have so many separate
functions that all needed to know about the definition of a usual
deallocation function.  So this patch condenses them into one.  I left
destroying_delete_p because it is used by other files as well.

        * call.c (struct dealloc_info): New.
        (usual_deallocation_fn_p): Take a dealloc_info*.
        (aligned_deallocation_fn_p, sized_deallocation_fn_p): Remove.
        (build_op_delete_call): Adjust.

Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/call.c

Reply via email to