Message ID | 4C9E0FC3.2050706@codesourcery.com |
---|---|
State | New |
Headers | show |
On Sat, Sep 25, 2010 at 5:05 PM, Jie Zhang <jie@codesourcery.com> wrote: > This patch prints out "in-constant-pool" in print_node as we do for > "in-text-section". Is it OK? Ok. Thanks, Richard. > > Regards, > -- > Jie Zhang > CodeSourcery >
On 09/27/2010 05:31 PM, Richard Guenther wrote: > On Sat, Sep 25, 2010 at 5:05 PM, Jie Zhang<jie@codesourcery.com> wrote: >> This patch prints out "in-constant-pool" in print_node as we do for >> "in-text-section". Is it OK? > > Ok. > Committed on trunk. Thanks.
* 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))