aboutsummaryrefslogtreecommitdiff
path: root/gcc/print-tree.c
diff options
context:
space:
mode:
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>2001-02-24 13:15:55 +0000
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>2001-02-24 13:15:55 +0000
commit53cca8463aaa78bfefe99e9a18414954d96d937e (patch)
treedba8fc1b41b606bab2b832ed5473057759474521 /gcc/print-tree.c
parent0ae3acac75896c224470b7bdbc380168ca501c17 (diff)
* tree.h (BLOCK_DEAD): New macro.
(struct tree_block): New flag, dead_flag. * print-tree.c (print_node, case 'b'): Print missing fields. * emit-rtl.c (remove_unnecessary_notes): Set BLOCK_DEAD. * function.c (identify_blocks): Enable test for misplaced notes. (all_blocks): Skip BLOCK_DEAD blocks. * integrate.c (integrate_decl_tree): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40039 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/print-tree.c')
-rw-r--r--gcc/print-tree.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/print-tree.c b/gcc/print-tree.c
index 3bbea3f52f0..7e49ee0f949 100644
--- a/gcc/print-tree.c
+++ b/gcc/print-tree.c
@@ -584,6 +584,14 @@ print_node (file, prefix, node, indent)
break;
case 'b':
+ if (BLOCK_ABSTRACT (node))
+ fprintf (file, " abstract");
+ if (BLOCK_HANDLER_BLOCK (node))
+ fprintf (file, " handler-block");
+ if (BLOCK_DEAD (node))
+ fprintf (file, " dead");
+ fprintf (file, " block-number %d", BLOCK_NUMBER (node));
+
print_node (file, "vars", BLOCK_VARS (node), indent + 4);
print_node (file, "supercontext", BLOCK_SUPERCONTEXT (node), indent + 4);
print_node (file, "subblocks", BLOCK_SUBBLOCKS (node), indent + 4);