aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorDaniel Berlin <dberlin@dberlin.org>2005-01-06 14:49:34 +0000
committerDaniel Berlin <dberlin@gcc.gnu.org>2005-01-06 14:49:34 +0000
commit9acf766fe1b9fbdda3e7997f408912bfccfaf5fd (patch)
tree1ddf91f92e5dc4124c2a4d437f06fbfc711097b7 /gcc/tree.h
parent56ffd9b3ba4aabf87ccea018096abf64ac7a1fba (diff)
downloadgcc-9acf766fe1b9fbdda3e7997f408912bfccfaf5fd.zip
gcc-9acf766fe1b9fbdda3e7997f408912bfccfaf5fd.tar.gz
gcc-9acf766fe1b9fbdda3e7997f408912bfccfaf5fd.tar.bz2
Fix PR middle-end/19286 Fix PR debug/19267
2005-01-05 Daniel Berlin <dberlin@dberlin.org> Fix PR middle-end/19286 Fix PR debug/19267 * dwarf2out.c (gen_subprogram_die): If we've already tried to output this subprogram, simply ignore this attempt to do it again. (add_abstract_origin_attribute): Don't abort trying to add the abstract origin attribute if it's not possible. (gen_block_die): Don't ignore subblocks of "unused" blocks. (decls_for_scope): Ditto. * gimple-low.c (mark_blocks_with_used_subblocks): Remove. (mark_used_blocks): Don't call mark_blocks_with_used_subblocks. From-SVN: r92991
Diffstat (limited to 'gcc/tree.h')
-rw-r--r--gcc/tree.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/tree.h b/gcc/tree.h
index 0858670..4bdf2b3 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -966,7 +966,8 @@ extern void tree_operand_check_failed (int, enum tree_code,
/* Nonzero in a _DECL if the name is used in its scope.
Nonzero in an expr node means inhibit warning if value is unused.
In IDENTIFIER_NODEs, this means that some extern decl for this name
- was used. */
+ was used.
+ In a BLOCK, this means that the block contains variables that are used. */
#define TREE_USED(NODE) ((NODE)->common.used_flag)
/* In a FUNCTION_DECL, nonzero means a call to the function cannot throw