aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorRichard Kenner <kenner@vlsi1.ultra.nyu.edu>2001-02-24 13:15:55 +0000
committerRichard Kenner <kenner@gcc.gnu.org>2001-02-24 08:15:55 -0500
commitbd015d378330fc78f85d28ed8c094837e23baca8 (patch)
treedba8fc1b41b606bab2b832ed5473057759474521 /gcc/tree.h
parentf900ecd8a7df281db0041ea1b9702a677147fe25 (diff)
downloadgcc-bd015d378330fc78f85d28ed8c094837e23baca8.zip
gcc-bd015d378330fc78f85d28ed8c094837e23baca8.tar.gz
gcc-bd015d378330fc78f85d28ed8c094837e23baca8.tar.bz2
tree.h (BLOCK_DEAD): New macro.
* 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. From-SVN: r40039
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index 3d2e384..45252dd 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -829,6 +829,10 @@ struct tree_exp
listed in the BLOCK_VARS slot. */
#define BLOCK_HANDLER_BLOCK(NODE) (BLOCK_CHECK (NODE)->block.handler_block_flag)
+/* Nonzero means the block was deleted as dead and should not be copied
+ when a function is inlined. */
+#define BLOCK_DEAD(NODE) (BLOCK_CHECK (NODE)->block.dead_flag)
+
/* An index number for this block. These values are not guaranteed to
be unique across functions -- whether or not they are depends on
the debugging output format in use. */
@@ -840,7 +844,8 @@ struct tree_block
unsigned handler_block_flag : 1;
unsigned abstract_flag : 1;
- unsigned block_num : 30;
+ unsigned dead_flag : 1;
+ unsigned block_num : 29;
union tree_node *vars;
union tree_node *subblocks;