This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Print in-constant-pool in print_node
- From: Jie Zhang <jie at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sat, 25 Sep 2010 23:05:39 +0800
- Subject: 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))