Add operator new/delete to cgraph_node::dump.
authorMartin Liska <mliska@suse.cz>
Tue, 6 Aug 2019 07:38:16 +0000 (09:38 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Tue, 6 Aug 2019 07:38:16 +0000 (07:38 +0000)
2019-08-06  Martin Liska  <mliska@suse.cz>

* cgraph.c (cgraph_node::dump): Dump DECL_IS_OPERATOR_NEW_P
and DECL_IS_OPERATOR_DELETE_P.

From-SVN: r274139

gcc/ChangeLog
gcc/cgraph.c

index ccb7253c4804ca6d266a33aec2cd3dafbb7ae569..11ae775a719f8973e08d69b1e0f4cee63bfcc2ff 100644 (file)
@@ -1,3 +1,8 @@
+2019-08-06  Martin Liska  <mliska@suse.cz>
+
+       * cgraph.c (cgraph_node::dump): Dump DECL_IS_OPERATOR_NEW_P
+       and DECL_IS_OPERATOR_DELETE_P.
+
 2019-08-06  Jakub Jelinek  <jakub@redhat.com>
 
        * tree.h (OMP_CLAUSE_LASTPRIVATE_TASKLOOP_IV): Rename to ...
index bed407e5766fef4c590a23f3142a62e8da851f89..ed46d81a5131f2966ea0aae8576d33b661a11d8e 100644 (file)
@@ -2080,6 +2080,11 @@ cgraph_node::dump (FILE *f)
     fprintf (f, " optimize_size");
   if (parallelized_function)
     fprintf (f, " parallelized_function");
+  if (DECL_IS_OPERATOR_NEW_P (decl))
+    fprintf (f, " operator_new");
+  if (DECL_IS_OPERATOR_DELETE_P (decl))
+    fprintf (f, " operator_delete");
+
 
   fprintf (f, "\n");