This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Print in-constant-pool in print_node


This patch prints out "in-constant-pool" in print_node as we do for "in-text-section". Is it OK?


Regards, -- Jie Zhang CodeSourcery
	* print-tree.c (print_node): Print in-constant-pool.

Index: print-tree.c
===================================================================
--- print-tree.c	(revision 164619)
+++ print-tree.c	(working copy)
@@ -439,6 +439,8 @@ print_node (FILE *file, const char *pref
 
       if (code == VAR_DECL && DECL_IN_TEXT_SECTION (node))
 	fputs (" in-text-section", file);
+      if (code == VAR_DECL && DECL_IN_CONSTANT_POOL (node))
+	fputs (" in-constant-pool", file);
       if (code == VAR_DECL && DECL_COMMON (node))
 	fputs (" common", file);
       if (code == VAR_DECL && DECL_THREAD_LOCAL_P (node))

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]