diff options
author | Jim Wilson <wilson@cygnus.com> | 1998-08-24 19:46:49 +0000 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1998-08-24 12:46:49 -0700 |
commit | dce2e8c098ab361dd55940ce75ed653fadffc690 (patch) | |
tree | bbb20b3113f661e988d1654b84f77a28597a72df | |
parent | d8c4447d837d01e68fee9f34328b8472c6785149 (diff) | |
download | gcc-dce2e8c098ab361dd55940ce75ed653fadffc690.zip gcc-dce2e8c098ab361dd55940ce75ed653fadffc690.tar.gz gcc-dce2e8c098ab361dd55940ce75ed653fadffc690.tar.bz2 |
* tree.def (DECL_RESULT): Correct documentation.
From-SVN: r21954
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/tree.def | 9 |
2 files changed, 8 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 254f1b9..f14ad3e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Mon Aug 24 19:45:40 1998 Jim Wilson <wilson@cygnus.com> + + * tree.def (DECL_RESULT): Correct documentation. + Tue Aug 25 01:15:27 1998 J"orn Rennecke <amylaar@cygnus.co.uk> * reload1.c (reload_reg_free_before_p): New argument EQUIV; Changed 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. |