aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
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))