diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-09-06 05:56:20 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-09-06 05:56:20 +0000 |
commit | 742736930112612726d6bc153288ad1a136bba76 (patch) | |
tree | 56a1b6f86c53492b61290c511a46e98e66967820 /gcc/toplev.h | |
parent | f3e2ae004030f66353e7f43b6cc436e6bc739555 (diff) | |
download | gcc-742736930112612726d6bc153288ad1a136bba76.tar.gz |
* Makefile.in (toplev.o): Depend on $(EXPR_H).
(insn-extract.o, insn-attrtab.o): Depend on toplev.h.
* gansidecl.h: Define ATTRIBUTE_NORETURN.
* genattrtab.c: Have insn-attrtab.c include toplev.h.
* genextract.c: Have insn-extract.c include toplev.h.
* rtl.h: Don't prototype `fatal_insn_not_found' and `fatal_insn'.
* toplev.c: Include expr.h.
(really_sorry, fancy_abort): Remove prototypes.
(set_target_switch): Add argument in prototype.
(vfatal): Mark prototype with ATTRIBUTE_NORETURN.
(v_really_sorry): Likewise.
(print_version, print_single_switch, print_switch_values): Make
static and add prototype arguments.
(decl_printable_name): Add prototype arguments.
(lang_expand_expr_t): New typedef.
(lang_expand_expr): Declare as a lang_expand_expr_t.
(incomplete_decl_finalize_hook): Add prototype argument.
(decl_name): Mark variable `verbosity' with ATTRIBUTE_UNUSED.
(botch): Likewise for variable `s'.
(rest_of_type_compilation): Mark variables `type' and `toplev'
with ATTRIBUTE_UNUSED if none of DBX_DEBUGGING_INFO,
XCOFF_DEBUGGING_INFO or SDB_DEBUGGING_INFO are defined.
(display_help): Make variable `i' an `unsigned long'.
(main): Remove unused parameter `envp'.
Cast assignment to `lang_expand_expr' to a `lang_expand_expr_t'.
Cast -1 when comparing it with a `size_t'.
* toplev.h (fatal, fatal_io_error, pfatal_with_name): Mark
prototype with ATTRIBUTE_NORETURN.
(fatal_insn_not_found, fatal_insn, really_sorry,
push_float_handler, pop_float_handler): Add prototypes.
(fancy_abort): Mark prototype with ATTRIBUTE_NORETURN.
(do_abort, botch): Add prototypes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22293 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/toplev.h')
-rw-r--r-- | gcc/toplev.h | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/gcc/toplev.h b/gcc/toplev.h index d206000df06..740dda12c31 100644 --- a/gcc/toplev.h +++ b/gcc/toplev.h @@ -19,9 +19,13 @@ extern void debug_end_source_file PROTO ((unsigned)); extern void debug_define PROTO ((unsigned, char *)); extern void debug_undef PROTO ((unsigned, char *)); extern void fatal PVPROTO ((char *, ...)) - ATTRIBUTE_PRINTF_1; -extern void fatal_io_error PROTO ((char *)); -extern void pfatal_with_name PROTO ((char *)); + ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN; +extern void fatal_io_error PROTO ((char *)) ATTRIBUTE_NORETURN; +extern void pfatal_with_name PROTO ((char *)) ATTRIBUTE_NORETURN; +extern void fatal_insn_not_found PROTO ((struct rtx_def *)) + ATTRIBUTE_NORETURN; +extern void fatal_insn PROTO ((char *, struct rtx_def *)) + ATTRIBUTE_NORETURN; extern void warning PVPROTO ((char *, ...)) ATTRIBUTE_PRINTF_1; extern void error PVPROTO ((char *, ...)) @@ -36,6 +40,8 @@ extern void error_with_file_and_line PVPROTO ((char *, int, char *, ...)) ATTRIBUTE_PRINTF_3; extern void sorry PVPROTO ((char *s, ...)) ATTRIBUTE_PRINTF_1; +extern void really_sorry PVPROTO((char *s, ...)) + ATTRIBUTE_PRINTF_1 ATTRIBUTE_NORETURN; extern void default_print_error_function PROTO ((char *)); extern void report_error_function PROTO ((char *)); @@ -53,6 +59,8 @@ extern void warning_for_asm PVPROTO((struct rtx_def *, char *, ...)) ATTRIBUTE_PRINTF_2; #ifdef _JBLEN extern void set_float_handler PROTO((jmp_buf)); +extern int push_float_handler PROTO((jmp_buf, jmp_buf)); +extern void pop_float_handler PROTO((int, jmp_buf)); #endif #ifdef BUFSIZ @@ -60,6 +68,8 @@ extern void output_quoted_string PROTO ((FILE *, char *)); extern void output_file_directive PROTO ((FILE *, char *)); #endif -extern void fancy_abort PROTO ((void)); +extern void fancy_abort PROTO ((void)) ATTRIBUTE_NORETURN; +extern void do_abort PROTO ((void)) ATTRIBUTE_NORETURN; +extern void botch PROTO ((char *)) ATTRIBUTE_NORETURN; #endif /* __GCC_TOPLEV_H */ |