diff options
author | gdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-12-08 09:01:22 +0000 |
---|---|---|
committer | gdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-12-08 09:01:22 +0000 |
commit | 65661e93c1b66010f5a14096fcb23305c4c69642 (patch) | |
tree | 40b538fc3161e9b7a1b73e9e7869037429265408 /gcc/tree.h | |
parent | 417cba42dc367ee9dae0449f2484dd4e9286d69a (diff) | |
download | gcc-65661e93c1b66010f5a14096fcb23305c4c69642.tar.gz |
* tree.h (DECL_EXTERNAL): Clarify documentation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108221 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree.h')
-rw-r--r-- | gcc/tree.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/tree.h b/gcc/tree.h index 99c18f4e1a6..01e086d1d4d 100644 --- a/gcc/tree.h +++ b/gcc/tree.h @@ -2144,7 +2144,12 @@ struct tree_memory_tag GTY(()) #define DECL_LANG_SPECIFIC(NODE) (DECL_COMMON_CHECK (NODE)->decl_common.lang_specific) /* In a VAR_DECL or FUNCTION_DECL, nonzero means external reference: - do not allocate storage, and refer to a definition elsewhere. */ + do not allocate storage, and refer to a definition elsewhere. Note that + this does not necessarily imply the entity represented by NODE + has no program source-level definition in this translation unit. For + example, for a FUNCTION_DECL, DECL_SAVED_TREE may be non-NULL and + DECL_EXTERNAL may be true simultaneously; that can be the case for + a C99 "extern inline" function. */ #define DECL_EXTERNAL(NODE) (DECL_COMMON_CHECK (NODE)->decl_common.decl_flag_2) /* In a VAR_DECL for a RECORD_TYPE, sets number for non-init_priority |