aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.h
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2007-02-12 21:01:33 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2007-02-12 21:01:33 +0000
commit6170a99877476a4af173c3a6a27a69590457ab15 (patch)
tree7ba2251e6039eacb4bbf44e7e7ebd743914b4d81 /gcc/tree.h
parentb9a8f075b650714eaa4a7f182302d8dc715dd50e (diff)
downloadgcc-6170a99877476a4af173c3a6a27a69590457ab15.zip
gcc-6170a99877476a4af173c3a6a27a69590457ab15.tar.gz
gcc-6170a99877476a4af173c3a6a27a69590457ab15.tar.bz2
tree.h (DECL_IGNORED_P): Document further effect for FUNCTION_DECL.
* tree.h (DECL_IGNORED_P): Document further effect for FUNCTION_DECL. * cgraphunit.c (cgraph_expand_function): If DECL_IGNORED_P is set on the function, temporarily point the debug interface to the null one. From-SVN: r121861
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 c672d94..50b0149 100644
--- a/gcc/tree.h
+++ b/gcc/tree.h
@@ -2540,7 +2540,8 @@ struct tree_memory_partition_tag GTY(())
(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