summaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
diff options
context:
space:
mode:
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>1997-06-26 17:07:38 +0000
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>1997-06-26 17:07:38 +0000
commit6e44befcab61a3232f0be8f71699eb80c13007af (patch)
treebcd762fc076f714ce28167e3338ede79093306b8 /gcc/fold-const.c
parent95b814019f790182b29fca06772bf7da667ba1cf (diff)
downloadgcc-6e44befcab61a3232f0be8f71699eb80c13007af.tar.gz
Document force_fit_type as an entry point in the file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14324 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fold-const.c')
-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 e8ef497176f..bc8c3482ad9 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"