Call fatal_insn_not_found instead of abort
[official-gcc.git] / gcc / toplev.h
blobd206000df06487ff6582f197064338335ed0d1a7
1 /* toplev.h - Various declarations for functions found in toplev.c
2 Copyright (C) 1998 Free Software Foundation, Inc.
3 */
5 #ifndef __GCC_TOPLEV_H__
6 #define __GCC_TOPLEV_H__
8 #ifdef __STDC__
9 union tree_node;
10 struct rtx_def;
11 #endif
13 extern int count_error PROTO ((int));
14 extern void strip_off_ending PROTO ((char *, int));
15 extern void print_time PROTO ((char *, int));
16 extern int get_run_time PROTO ((void));
17 extern void debug_start_source_file PROTO ((char *));
18 extern void debug_end_source_file PROTO ((unsigned));
19 extern void debug_define PROTO ((unsigned, char *));
20 extern void debug_undef PROTO ((unsigned, char *));
21 extern void fatal PVPROTO ((char *, ...))
22 ATTRIBUTE_PRINTF_1;
23 extern void fatal_io_error PROTO ((char *));
24 extern void pfatal_with_name PROTO ((char *));
25 extern void warning PVPROTO ((char *, ...))
26 ATTRIBUTE_PRINTF_1;
27 extern void error PVPROTO ((char *, ...))
28 ATTRIBUTE_PRINTF_1;
29 extern void pedwarn PVPROTO ((char *, ...))
30 ATTRIBUTE_PRINTF_1;
31 extern void pedwarn_with_file_and_line PVPROTO ((char *, int, char *, ...))
32 ATTRIBUTE_PRINTF_3;
33 extern void warning_with_file_and_line PVPROTO ((char *, int, char *, ...))
34 ATTRIBUTE_PRINTF_3;
35 extern void error_with_file_and_line PVPROTO ((char *, int, char *, ...))
36 ATTRIBUTE_PRINTF_3;
37 extern void sorry PVPROTO ((char *s, ...))
38 ATTRIBUTE_PRINTF_1;
39 extern void default_print_error_function PROTO ((char *));
40 extern void report_error_function PROTO ((char *));
42 extern void rest_of_decl_compilation PROTO ((union tree_node *, char *, int, int));
43 extern void rest_of_type_compilation PROTO ((union tree_node *, int));
44 extern void rest_of_compilation PROTO ((union tree_node *));
45 extern void pedwarn_with_decl PVPROTO ((union tree_node *, char *, ...));
46 extern void warning_with_decl PVPROTO ((union tree_node *, char *, ...));
47 extern void error_with_decl PVPROTO ((union tree_node *, char *, ...));
48 extern void announce_function PROTO ((union tree_node *));
50 extern void error_for_asm PVPROTO((struct rtx_def *, char *, ...))
51 ATTRIBUTE_PRINTF_2;
52 extern void warning_for_asm PVPROTO((struct rtx_def *, char *, ...))
53 ATTRIBUTE_PRINTF_2;
54 #ifdef _JBLEN
55 extern void set_float_handler PROTO((jmp_buf));
56 #endif
58 #ifdef BUFSIZ
59 extern void output_quoted_string PROTO ((FILE *, char *));
60 extern void output_file_directive PROTO ((FILE *, char *));
61 #endif
63 extern void fancy_abort PROTO ((void));
65 #endif /* __GCC_TOPLEV_H */