Commit 0da6f3db by Doug Evans

Document force_fit_type as an entry point in the file.

From-SVN: r14324
parent db2f7559
...@@ -27,7 +27,8 @@ Boston, MA 02111-1307, USA. */ ...@@ -27,7 +27,8 @@ Boston, MA 02111-1307, USA. */
@@ for cross-compilers. */ @@ 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. fold takes a tree as argument and returns a simplified tree.
...@@ -36,7 +37,10 @@ Boston, MA 02111-1307, USA. */ ...@@ -36,7 +37,10 @@ Boston, MA 02111-1307, USA. */
result, assuming the type comes from `sizetype'. result, assuming the type comes from `sizetype'.
size_int takes an integer value, and creates a tree constant 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 <stdio.h>
#include <setjmp.h> #include <setjmp.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment