diff options
Diffstat (limited to 'gcc/varpool.c')
-rw-r--r-- | gcc/varpool.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/varpool.c b/gcc/varpool.c index dbf519e..e3ad22b 100644 --- a/gcc/varpool.c +++ b/gcc/varpool.c @@ -86,6 +86,10 @@ dump_varpool_node (FILE *f, struct varpool_node *node) fprintf (f, " finalized"); if (node->output) fprintf (f, " output"); + if (TREE_READONLY (node->symbol.decl)) + fprintf (f, " read-only"); + if (const_value_known_p (node->symbol.decl)) + fprintf (f, " const-value-known"); fprintf (f, "\n"); } |