aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.def
diff options
context:
space:
mode:
authorJim Wilson <wilson@cygnus.com>1998-08-24 19:46:49 +0000
committerJim Wilson <wilson@gcc.gnu.org>1998-08-24 12:46:49 -0700
commitdce2e8c098ab361dd55940ce75ed653fadffc690 (patch)
treebbb20b3113f661e988d1654b84f77a28597a72df /gcc/tree.def
parentd8c4447d837d01e68fee9f34328b8472c6785149 (diff)
downloadgcc-dce2e8c098ab361dd55940ce75ed653fadffc690.zip
gcc-dce2e8c098ab361dd55940ce75ed653fadffc690.tar.gz
gcc-dce2e8c098ab361dd55940ce75ed653fadffc690.tar.bz2
* tree.def (DECL_RESULT): Correct documentation.
From-SVN: r21954
Diffstat (limited to 'gcc/tree.def')
-rw-r--r--gcc/tree.def9
1 files changed, 4 insertions, 5 deletions
diff --git a/gcc/tree.def b/gcc/tree.def
index c434dbb..86b60fa 100644
--- a/gcc/tree.def
+++ b/gcc/tree.def
@@ -306,11 +306,10 @@ DEFTREECODE (STRING_CST, "string_cst", 'c', 3)
DECL_RESULT holds a RESULT_DECL node for the value of a function,
or it is 0 for a function that returns no value.
(C functions returning void have zero here.)
- DECL_RESULT_TYPE holds the type in which the result is actually
- returned. This is usually the same as the type of DECL_RESULT,
- but (1) it may be a wider integer type and
- (2) it remains valid, for the sake of inlining, even after the
- function's compilation is done.
+ The TREE_TYPE field is the type in which the result is actually
+ returned. This is usually the same as the return type of the
+ FUNCTION_DECL, but it may be a wider integer type because of
+ promotion.
DECL_FUNCTION_CODE is a code number that is nonzero for
built-in functions. Its value is an enum built_in_function
that says which built-in function it is.