aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJie Zhang <jie@codesourcery.com>2010-09-27 10:16:44 +0000
committerJie Zhang <jiez@gcc.gnu.org>2010-09-27 10:16:44 +0000
commit1689205518958ea0c3c1aa95af41f47e1bf650dc (patch)
tree30de2e6869d2c9d201f306e147fcb8c1e7821bcb /gcc
parentbda38d2ec113f033da46131143e0b3f395070134 (diff)
downloadgcc-1689205518958ea0c3c1aa95af41f47e1bf650dc.zip
gcc-1689205518958ea0c3c1aa95af41f47e1bf650dc.tar.gz
gcc-1689205518958ea0c3c1aa95af41f47e1bf650dc.tar.bz2
* print-tree.c (print_node): Print in-constant-pool.
From-SVN: r164647
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/print-tree.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3128865..58e8f2b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/print-tree.c b/gcc/print-tree.c
index 5ca762e..dfd3589 100644
--- a/gcc/print-tree.c
+++ b/gcc/print-tree.c
@@ -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))