summaryrefslogtreecommitdiff
path: root/gcc/java/lex.h
diff options
context:
space:
mode:
authorZack Weinberg <zackw@panix.com>2001-08-12 01:56:10 +0000
committerZack Weinberg <zack@gcc.gnu.org>2001-08-12 01:56:10 +0000
commit94aca342987fa4c024f4aaa32c72715787ab84e5 (patch)
tree7e0d274b9d7e3a3888aa3d22cd6cba4854e43f24 /gcc/java/lex.h
parent31cdd4996b4223793a65643fcbf69163c3623258 (diff)
downloadgcc-94aca342987fa4c024f4aaa32c72715787ab84e5.tar.gz
toplev.c (set_float_handler): Make static.
* toplev.c (set_float_handler): Make static. * toplev.h: Don't prototype set_float_handler. * simplify-rtx.c: Don't include setjmp.h. (simplify_unary_real, simplify_binary_real, simplify_binary_is2orm1): New functions. (simplify_unary_operation, simplify_binary_operation): Use them, via do_float_handler. * fold-const.c: Don't include setjmp.h. (exact_real_inverse_1): New function. (exact_real_inverse): Use it, via do_float_handler. * varasm.c: Don't include setjmp.h. (assemble_real_1): New function. (assemble_real): Use it, via do_float_handler. Call internal_error if we get a trap here. * c-parse.in, cse.c, cselib.c, ch/lex.c, config/i386/i386.c, config/pj/pj.c, config/s390/s390.c: Don't include setjmp.h. * java/lex.h: Don't include setjmp.h. Don't define SET_FLOAT_HANDLER or prototype set_float_handler. From-SVN: r44815
Diffstat (limited to 'gcc/java/lex.h')
-rw-r--r--gcc/java/lex.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/java/lex.h b/gcc/java/lex.h
index e5d217deb1e..ef9e6e40174 100644
--- a/gcc/java/lex.h
+++ b/gcc/java/lex.h
@@ -26,8 +26,6 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
#ifndef GCC_JAVA_LEX_H
#define GCC_JAVA_LEX_H
-#include <setjmp.h> /* set_float_handler argument uses it */
-
/* Extern global variables declarations */
extern FILE *finput;
extern int lineno;
@@ -172,7 +170,6 @@ extern void java_destroy_lexer PARAMS ((java_lexer *));
#define DCONST0 0
#define REAL_VALUE_TYPE int
-#define SET_FLOAT_HANDLER(H)
#define GET_IDENTIFIER(S) xstrdup ((S))
#define REAL_VALUE_ATOF(LIT,MODE) 0
#define REAL_VALUE_ISINF(VALUE) 0
@@ -192,8 +189,6 @@ extern void java_destroy_lexer PARAMS ((java_lexer *));
#else
-extern void set_float_handler PARAMS ((jmp_buf));
-#define SET_FLOAT_HANDLER(H) set_float_handler ((H))
#define DCONST0 dconst0
#define GET_IDENTIFIER(S) get_identifier ((S))
#define SET_REAL_VALUE_ATOF(TARGET,SOURCE) (TARGET) = (SOURCE)