aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@gcc.gnu.org>2009-09-13 10:46:11 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2009-09-13 10:46:11 +0000
commit725730f272e7ef4d05a6af48313c3cbdac636a5d (patch)
treeccd535803458c5e9c5296cc0d263b63525bbd580 /gcc/tree.h
parent75152bcb194ff350853ac5cc13a1e04ff82c7f81 (diff)
downloadgcc-725730f272e7ef4d05a6af48313c3cbdac636a5d.zip
gcc-725730f272e7ef4d05a6af48313c3cbdac636a5d.tar.gz
gcc-725730f272e7ef4d05a6af48313c3cbdac636a5d.tar.bz2
tree.h (DECL_IGNORED_P): Document further effect for FUNCTION_DECL.
* tree.h (DECL_IGNORED_P): Document further effect for FUNCTION_DECL. * dbxout.c (dbxout_function_end): Do not test DECL_IGNORED_P. (dbxout_begin_function): Likewise. * final.c (dwarf2_debug_info_emitted_p): New predicate. (final_start_function): Do not emit debug info if DECL_IGNORED_P is set on the function. (final_end_function): Likewise. (final_scan_insn): Likewise. (rest_of_handle_final): Likewise. * varasm.c (assemble_start_function): Likewise. * config/rs6000/xcoff.h (ASM_DECLARE_FUNCTION_NAME): Likewise. From-SVN: r151670
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 7b431af..45391d3 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -2539,7 +2539,8 @@ struct GTY(()) tree_decl_minimal {
(DECL_COMMON_CHECK (NODE)->decl_common.debug_expr_is_from)
/* Nonzero for a given ..._DECL node means that the name of this node should
- be ignored for symbolic debug purposes. */
+ be ignored for symbolic debug purposes. Moreover, for a FUNCTION_DECL,
+ the body of the function should also be ignored. */
#define DECL_IGNORED_P(NODE) (DECL_COMMON_CHECK (NODE)->decl_common.ignored_flag)
/* Nonzero for a given ..._DECL node means that this node represents an