diff options
Diffstat (limited to 'gcc/tree-dfa.c')
-rw-r--r-- | gcc/tree-dfa.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/gcc/tree-dfa.c b/gcc/tree-dfa.c index 4880e83..65a32d9 100644 --- a/gcc/tree-dfa.c +++ b/gcc/tree-dfa.c @@ -287,7 +287,9 @@ dump_subvars_for (FILE *file, tree var) for (i = 0; VEC_iterate (tree, sv, i, subvar); ++i) { print_generic_expr (file, subvar, dump_flags); - fprintf (file, "@" HOST_WIDE_INT_PRINT_UNSIGNED " ", SFT_OFFSET (subvar)); + fprintf (file, "@" HOST_WIDE_INT_PRINT_UNSIGNED, SFT_OFFSET (subvar)); + fprintf (file, "[%u]", SFT_NESTING_LEVEL (subvar)); + fprintf (file, " "); } fprintf (file, "}"); @@ -417,6 +419,15 @@ dump_variable (FILE *file, tree var) fprintf (file, ", partition symbols: "); dump_decl_set (file, MPT_SYMBOLS (var)); } + + if (TREE_CODE (var) == STRUCT_FIELD_TAG) + { + fprintf (file, ", offset: " HOST_WIDE_INT_PRINT_UNSIGNED, + SFT_OFFSET (var)); + fprintf (file, ", nesting: %u", SFT_NESTING_LEVEL (var)); + fprintf (file, ", partitionable: %s", + SFT_UNPARTITIONABLE_P (var) ? "NO" : "YES"); + } } fprintf (file, "\n"); |