aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDoug Evans <dje@gnu.org>1997-06-26 17:07:38 +0000
committerDoug Evans <dje@gnu.org>1997-06-26 17:07:38 +0000
commit0da6f3db7dbd26cbe2f8c106c9214b45da647f50 (patch)
treebcd762fc076f714ce28167e3338ede79093306b8 /gcc
parentdb2f7559b5938986a643d60152eac4b9f8b5433b (diff)
downloadgcc-0da6f3db7dbd26cbe2f8c106c9214b45da647f50.zip
gcc-0da6f3db7dbd26cbe2f8c106c9214b45da647f50.tar.gz
gcc-0da6f3db7dbd26cbe2f8c106c9214b45da647f50.tar.bz2
Document force_fit_type as an entry point in the file.
From-SVN: r14324
Diffstat (limited to 'gcc')
-rw-r--r--gcc/fold-const.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/gcc/fold-const.c b/gcc/fold-const.c
index e8ef497..bc8c348 100644
--- a/gcc/fold-const.c
+++ b/gcc/fold-const.c
@@ -27,7 +27,8 @@ Boston, MA 02111-1307, USA. */
@@ for cross-compilers. */
-/* The entry points in this file are fold, size_int and size_binop.
+/* The entry points in this file are fold, size_int, size_binop
+ and force_fit_type.
fold takes a tree as argument and returns a simplified tree.
@@ -36,8 +37,11 @@ Boston, MA 02111-1307, USA. */
result, assuming the type comes from `sizetype'.
size_int takes an integer value, and creates a tree constant
- with type from `sizetype'. */
-
+ with type from `sizetype'.
+
+ force_fit_type takes a constant and prior overflow indicator, and
+ forces the value to fit the type. It returns an overflow indicator. */
+
#include <stdio.h>
#include <setjmp.h>
#include "config.h"