aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Dos Reis <gdr@integrable-solutions.net>2005-12-08 09:01:22 +0000
committerGabriel Dos Reis <gdr@gcc.gnu.org>2005-12-08 09:01:22 +0000
commit9783dd389a02fdd570f04597e424e1482ff60760 (patch)
tree40b538fc3161e9b7a1b73e9e7869037429265408
parent4989e88a3f50d66dc805d984f1c5b2e9a5f6cf31 (diff)
downloadgcc-9783dd389a02fdd570f04597e424e1482ff60760.zip
gcc-9783dd389a02fdd570f04597e424e1482ff60760.tar.gz
gcc-9783dd389a02fdd570f04597e424e1482ff60760.tar.bz2
* tree.h (DECL_EXTERNAL): Clarify documentation.
From-SVN: r108221
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/tree.h7
2 files changed, 10 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6113f45..e67b713 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2005-12-08 Gabriel Dos Reis <gdr@integrable-solutions.net>
+
+ * tree.h (DECL_EXTERNAL): Clarify documentation.
+
2005-12-08 Andreas Krebbel <krebbel1@de.ibm.com>
Jakub Jelinek <jakub@redhat.com>
diff --git a/gcc/tree.h b/gcc/tree.h
index 99c18f4..01e086d 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