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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at gcc dot gnu.org
   Target Milestone|---                         |9.2
            Summary|Return type of explicit     |[9/10 Regression] Return
                   |destructor call wrong       |type of explicit destructor
                   |                            |call wrong

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The regression was caused by r259772

            PR c++/61982 - dead stores to destroyed objects.

    gcc/cp/
            * call.c (build_trivial_dtor_call): New, assigns a clobber.
            (build_over_call, build_special_member_call): Use it.
            * cp-tree.h: Declare it.
            * init.c (build_delete): Remove trivial path.
    gcc/
            * gimplify.c (gimplify_modify_expr): Simplify complex lvalue on LHS
            of clobber.

Reply via email to