+2019-08-08 Martin Liska <mliska@suse.cz>
+
+ * cgraphclones.c (set_new_clone_decl_and_node_flags): Drop
+ IS_OPERATOR_NEW and IS_OPERATOR_DELETE.
+ (create_version_clone_with_body): Likewise.
+
2019-08-08 Jakub Jelinek <jakub@redhat.com>
* gimplify.c (omp_add_variable): Use GOVD_PRIVATE | GOVD_EXPLICIT
DECL_VIRTUAL_P (new_node->decl) = 0;
DECL_STATIC_CONSTRUCTOR (new_node->decl) = 0;
DECL_STATIC_DESTRUCTOR (new_node->decl) = 0;
+ DECL_SET_IS_OPERATOR_NEW (new_node->decl, 0);
+ DECL_SET_IS_OPERATOR_DELETE (new_node->decl, 0);
new_node->externally_visible = 0;
new_node->local.local = 1;
/* When the old decl was a con-/destructor make sure the clone isn't. */
DECL_STATIC_CONSTRUCTOR (new_decl) = 0;
DECL_STATIC_DESTRUCTOR (new_decl) = 0;
+ DECL_SET_IS_OPERATOR_NEW (new_decl, 0);
+ DECL_SET_IS_OPERATOR_DELETE (new_decl, 0);
/* Create the new version's call-graph node.
and update the edges of the new node. */