aboutsummaryrefslogtreecommitdiff
path: root/gcc/java
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
parent31cdd4996b4223793a65643fcbf69163c3623258 (diff)
downloadgcc-94aca342987fa4c024f4aaa32c72715787ab84e5.zip
gcc-94aca342987fa4c024f4aaa32c72715787ab84e5.tar.gz
gcc-94aca342987fa4c024f4aaa32c72715787ab84e5.tar.bz2
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')
-rw-r--r--gcc/java/ChangeLog5
-rw-r--r--gcc/java/lex.h5
2 files changed, 5 insertions, 5 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index 7924574..0356cb7a2 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -1,3 +1,8 @@
+2001-08-11 Zack Weinberg <zackw@panix.com>
+
+ * lex.h: Don't include setjmp.h. Don't define
+ SET_FLOAT_HANDLER or prototype set_float_handler.
+
2001-08-09 Richard Henderson <rth@redhat.com>
* Make-lang.in (class.o): Depend on TARGET_H.
diff --git a/gcc/java/lex.h b/gcc/java/lex.h
index e5d217d..ef9e6e4 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)