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

--- Comment #13 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Martin Liska <mar...@gcc.gnu.org>:

https://gcc.gnu.org/g:d7a65edb629a010f7ef907d457343abcb569fab7

commit r10-7758-gd7a65edb629a010f7ef907d457343abcb569fab7
Author: Martin Liska <mli...@suse.cz>
Date:   Thu Apr 16 15:39:22 2020 +0200

    List valid pairs for new and delete operators.

            PR c++/94314
            * cgraphclones.c (set_new_clone_decl_and_node_flags): Drop
            DECL_IS_REPLACEABLE_OPERATOR during cloning.
            * tree-ssa-dce.c (valid_new_delete_pair_p): New function.
            (propagate_necessity): Check operator names.

            PR c++/94314
            * g++.dg/pr94314.C: Do not use dg-additional-options
            and remove not needed stdio.h include.
            * g++.dg/pr94314-2.C: Likewise.
            * g++.dg/pr94314-3.C: Likewise.
            * g++.dg/pr94314-4.C: New test.

    Co-Authored-By: Jakub Jelinek <ja...@redhat.com>

Reply via email to