diff options
author | Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | 2001-02-24 13:15:55 +0000 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 2001-02-24 08:15:55 -0500 |
commit | bd015d378330fc78f85d28ed8c094837e23baca8 (patch) | |
tree | dba8fc1b41b606bab2b832ed5473057759474521 /gcc/tree.h | |
parent | f900ecd8a7df281db0041ea1b9702a677147fe25 (diff) | |
download | gcc-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.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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; |