diff options
Diffstat (limited to 'gcc/print-tree.c')
-rw-r--r-- | gcc/print-tree.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/gcc/print-tree.c b/gcc/print-tree.c index 14a70218fc6..2fe09967d74 100644 --- a/gcc/print-tree.c +++ b/gcc/print-tree.c @@ -255,8 +255,6 @@ print_node (FILE *file, const char *prefix, tree node, int indent) fputs (" addressable", file); if (TREE_THIS_VOLATILE (node)) fputs (" volatile", file); - if (TREE_UNSIGNED (node)) - fputs (" unsigned", file); if (TREE_ASM_WRITTEN (node)) fputs (" asm_written", file); if (TREE_USED (node)) @@ -295,6 +293,8 @@ print_node (FILE *file, const char *prefix, tree node, int indent) case 'd': mode = DECL_MODE (node); + if (DECL_UNSIGNED (node)) + fputs (" unsigned", file); if (DECL_IGNORED_P (node)) fputs (" ignored", file); if (DECL_ABSTRACT (node)) @@ -455,6 +455,9 @@ print_node (FILE *file, const char *prefix, tree node, int indent) break; case 't': + if (TYPE_UNSIGNED (node)) + fputs (" unsigned", file); + /* The no-force-blk flag is used for different things in different types. */ if ((TREE_CODE (node) == RECORD_TYPE @@ -576,6 +579,10 @@ print_node (FILE *file, const char *prefix, tree node, int indent) case '2': case 'r': case 's': + if (TREE_CODE (node) == BIT_FIELD_REF && BIT_FIELD_REF_UNSIGNED (node)) + fputs (" unsigned", file); + else if (TREE_CODE (node) == SAVE_EXPR && SAVE_EXPR_NOPLACEHOLDER (node)) + fputs (" noplaceholder", file); if (TREE_CODE (node) == BIND_EXPR) { print_node (file, "vars", TREE_OPERAND (node, 0), indent + 4); |