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/lex.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'gcc/java/lex.h') 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 /* 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.2.1