* print-tree.c (print_node): Print in-constant-pool.
authorjiez <jiez@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 27 Sep 2010 10:16:44 +0000 (10:16 +0000)
committerjiez <jiez@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 27 Sep 2010 10:16:44 +0000 (10:16 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164647 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/print-tree.c

index 3128865..58e8f2b 100644 (file)
@@ -1,3 +1,7 @@
+2010-09-27  Jie Zhang  <jie@codesourcery.com>
+
+       * print-tree.c (print_node): Print in-constant-pool.
+
 2010-09-27  Uros Bizjak  <ubizjak@gmail.com>
 
        * config/i386/i386.h (CLASS_MAX_NREGS): Also handle XCmode.
index 5ca762e..dfd3589 100644 (file)
@@ -439,6 +439,8 @@ print_node (FILE *file, const char *prefix, tree node, int indent)
 
       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))