From 94aca342987fa4c024f4aaa32c72715787ab84e5 Mon Sep 17 00:00:00 2001 From: Zack Weinberg Date: Sun, 12 Aug 2001 01:56:10 +0000 Subject: 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 --- gcc/java/ChangeLog | 5 +++++ gcc/java/lex.h | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'gcc/java') 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 + + * lex.h: Don't include setjmp.h. Don't define + SET_FLOAT_HANDLER or prototype set_float_handler. + 2001-08-09 Richard Henderson * 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 /* 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) -- cgit v1.1