3c3
< 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
---
> 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
26a27
> #include "ggc.h"
41a43
> STMT_EXPR_WARN_UNUSED_RESULT (in STMT_EXPR)
61c63
< RID_BOUNDED, RID_UNBOUNDED, RID_COMPLEX, RID_THREAD,
---
> RID_COMPLEX, RID_THREAD,
89,91c91,94
< RID_NEW, RID_OPERATOR, RID_THIS,
< RID_THROW, RID_TRUE, RID_TRY,
< RID_TYPENAME, RID_TYPEID, RID_USING,
---
> RID_NEW, RID_OFFSETOF, RID_OPERATOR,
> RID_THIS, RID_THROW, RID_TRUE,
> RID_TRY, RID_TYPENAME, RID_TYPEID,
> RID_USING,
100c103,106
< RID_AT_PROTOCOL, RID_AT_SELECTOR, RID_AT_INTERFACE,
---
> RID_AT_PROTOCOL, RID_AT_SELECTOR,
> RID_AT_THROW, RID_AT_TRY, RID_AT_CATCH,
> RID_AT_FINALLY, RID_AT_SYNCHRONIZED,
> RID_AT_INTERFACE,
124c130
< extern tree *ridpointers;
---
> extern GTY ((length ("(int)RID_MAX"))) tree *ridpointers;
148,154c154,157
< CTI_BOOLEAN_TYPE,
< CTI_BOOLEAN_TRUE,
< CTI_BOOLEAN_FALSE,
< /* C99's _Bool type. */
< CTI_C_BOOL_TYPE,
< CTI_C_BOOL_TRUE,
< CTI_C_BOOL_FALSE,
---
> CTI_TRUTHVALUE_TYPE,
> CTI_TRUTHVALUE_TRUE,
> CTI_TRUTHVALUE_FALSE,
>
180c183
< struct cpp_hashnode GTY ((skip (""))) node;
---
> struct cpp_hashnode node;
194,196c197,199
< #define boolean_type_node c_global_trees[CTI_BOOLEAN_TYPE]
< #define boolean_true_node c_global_trees[CTI_BOOLEAN_TRUE]
< #define boolean_false_node c_global_trees[CTI_BOOLEAN_FALSE]
---
> #define truthvalue_type_node c_global_trees[CTI_TRUTHVALUE_TYPE]
> #define truthvalue_true_node c_global_trees[CTI_TRUTHVALUE_TRUE]
> #define truthvalue_false_node c_global_trees[CTI_TRUTHVALUE_FALSE]
198,201d200
< #define c_bool_type_node c_global_trees[CTI_C_BOOL_TYPE]
< #define c_bool_true_node c_global_trees[CTI_C_BOOL_TRUE]
< #define c_bool_false_node c_global_trees[CTI_C_BOOL_FALSE]
<
225a225,232
> /* In a RECORD_TYPE, a sorted array of the fields of the type, not a
> tree for size reasons. */
> struct sorted_fields_type GTY(())
> {
> int len;
> tree GTY((length ("%h.len"))) elts[1];
> };
>
236,237c243,246
< clk_c = 0, /* A dialect of C: K&R C, ANSI/ISO C89, C2000, etc. */
< clk_cplusplus /* ANSI/ISO C++ */
---
> clk_c = 0, /* C90, C94 or C99 */
> clk_objc = 1, /* clk_c with ObjC features. */
> clk_cxx = 2, /* ANSI/ISO C++ */
> clk_objcxx = 3 /* clk_cxx with ObjC features. */
240a250,256
> /* To test for a specific language use c_language, defined by each
> front end. For "ObjC features" or "not C++" use the macros. */
> extern c_language_kind c_language;
>
> #define c_dialect_cxx() (c_language & clk_cxx)
> #define c_dialect_objc() (c_language & clk_objc)
>
308,312c324,326
< extern int (*lang_statement_code_p) PARAMS ((enum tree_code));
< extern void (*lang_expand_stmt) PARAMS ((tree));
< extern void (*lang_expand_decl_stmt) PARAMS ((tree));
< extern void (*lang_expand_function_end) PARAMS ((void));
< extern tree gettags PARAMS ((void));
---
> extern void (*lang_expand_stmt) (tree);
> extern void (*lang_expand_decl_stmt) (tree);
> extern void (*lang_expand_function_end) (void);
316c330
< extern int (*lang_missing_noreturn_ok_p) PARAMS ((tree));
---
> extern int (*lang_missing_noreturn_ok_p) (tree);
318,319c332,339
< extern int yyparse PARAMS ((void));
< extern void free_parser_stacks PARAMS ((void));
---
> extern int yyparse (void);
> extern stmt_tree current_stmt_tree (void);
> extern tree *current_scope_stmt_stack (void);
> extern void begin_stmt_tree (tree *);
> extern tree add_stmt (tree);
> extern void add_decl_stmt (tree);
> extern tree add_scope_stmt (int, int);
> extern void finish_stmt_tree (tree *);
321,327c341,346
< extern stmt_tree current_stmt_tree PARAMS ((void));
< extern tree *current_scope_stmt_stack PARAMS ((void));
< extern void begin_stmt_tree PARAMS ((tree *));
< extern tree add_stmt PARAMS ((tree));
< extern void add_decl_stmt PARAMS ((tree));
< extern tree add_scope_stmt PARAMS ((int, int));
< extern void finish_stmt_tree PARAMS ((tree *));
---
> extern tree walk_stmt_tree (tree *, walk_tree_fn, void *);
> extern void prep_stmt (tree);
> extern void expand_stmt (tree);
> extern tree c_begin_if_stmt (void);
> extern tree c_begin_while_stmt (void);
> extern void c_finish_while_stmt_cond (tree, tree);
329,339c348,352
< extern int statement_code_p PARAMS ((enum tree_code));
< extern tree walk_stmt_tree PARAMS ((tree *,
< walk_tree_fn,
< void *));
< extern void prep_stmt PARAMS ((tree));
< extern void expand_stmt PARAMS ((tree));
< extern void shadow_warning PARAMS ((const char *,
< tree, tree));
< extern tree c_begin_if_stmt PARAMS ((void));
< extern tree c_begin_while_stmt PARAMS ((void));
< extern void c_finish_while_stmt_cond PARAMS ((tree, tree));
---
> extern int field_decl_cmp (const void *, const void *);
> extern void resort_sorted_fields (void *, void *, gt_pointer_operator,
> void *);
>
> /* Switches common to the C front ends. */
340a354
> /* Nonzero if prepreprocessing only. */
342,345c356
< /* Extra information associated with a DECL. Other C dialects extend
< this structure in various ways. The C front-end only uses this
< structure for FUNCTION_DECLs; all other DECLs have a NULL
< DECL_LANG_SPECIFIC field. */
---
> extern int flag_preprocess_only;
347,349c358,361
< struct c_lang_decl GTY(()) {
< unsigned declared_inline : 1;
< };
---
> /* Zero means that faster, ...NonNil variants of objc_msgSend...
> calls will be used in ObjC; passing nil receivers to such calls
> will most likely result in crashes. */
> extern int flag_nil_receivers;
351,356c363,365
< /* In a FUNCTION_DECL for which DECL_BUILT_IN does not hold, this is
< the approximate number of statements in this function. There is
< no need for this number to be exact; it is only used in various
< heuristics regarding optimization. */
< #define DECL_NUM_STMTS(NODE) \
< (FUNCTION_DECL_CHECK (NODE)->decl.u1.i)
---
> /* Nonzero means that we will allow new ObjC exception syntax (@throw,
> @try, etc.) in source code. */
> extern int flag_objc_exceptions;
358,359c367,370
< /* The variant of the C language being processed. Each C language
< front-end defines this variable. */
---
> /* Nonzero means that code generation will be altered to support
> "zero-link" execution. This currently affects ObjC only, but may
> affect other languages in the future. */
> extern int flag_zero_link;
361c372,375
< extern c_language_kind c_language;
---
> /* Nonzero means emit an '__OBJC, __image_info' for the current translation
> unit. It will inform the ObjC runtime that class definition(s) herein
> contained are to replace one(s) previously loaded. */
> extern int flag_replace_objc_classes;
363c377
< /* Switches common to the C front ends. */
---
> /* Nonzero means don't output line number information. */
365,366c379
< /* Nonzero if prepreprocessing only. */
< extern int flag_preprocess_only;
---
> extern char flag_no_line_commands;
367a381,399
> /* Nonzero causes -E output not to be done, but directives such as
> #define that have side effects are still obeyed. */
>
> extern char flag_no_output;
>
> /* Nonzero means dump macros in some fashion; contains the 'D', 'M' or
> 'N' of the command line switch. */
>
> extern char flag_dump_macros;
>
> /* Nonzero means pass #include lines through to the output. */
>
> extern char flag_dump_includes;
>
> /* The file name to which we should write a precompiled header, or
> NULL if no header will be written in this compile. */
>
> extern const char *pch_file;
>
369a402
>
372,374d404
< /* Nonzero whenever Objective-C functionality is being used. */
< extern int flag_objc;
<
376a407
>
408,411d438
< /* Nonzero means `$' can be in an identifier. */
<
< extern int dollars_in_ident;
<
533c560
< /* Nonzero means that we have builtin functions, and main is an int */
---
> /* Nonzero means that we have builtin functions, and main is an int. */
537,541d563
< /* Nonzero means add default format_arg attributes for functions not
< in ISO C. */
<
< extern int flag_noniso_default_format_attributes;
<
551a574,577
> /* Nonzero means warn for a declaration found after a statement. */
>
> extern int warn_declaration_after_statement;
>
577a604,609
> /* Nonzero means warn about uninitialized variable when it is initialized with itself.
> For example: int i = i;, GCC will not warn about this when warn_init_self is nonzero. */
>
> extern int warn_init_self;
>
>
589a622
> /* Warn about old-style parameter declaration. */
590a624,626
> extern int warn_old_style_definition;
>
>
645,655d680
< /* Nonzero means do emit exported implementations of templates, instead of
< multiple static copies in each file that needs a definition. */
<
< extern int flag_external_templates;
<
< /* Nonzero means that the decision to emit or not emit the implementation of a
< template depends on where the template is instantiated, rather than where
< it is defined. */
<
< extern int flag_alt_external_templates;
<
720a746,752
> /* 0 means we want the preprocessor to not emit line directives for
> the current working directory. 1 means we want it to do it. -1
> means we should decide depending on whether debugging information
> is being emitted or not. */
>
> extern int flag_working_directory;
>
726,729d757
< /* Nonzero means output .vtable_{entry,inherit} for use in doing vtable gc. */
<
< extern int flag_vtable_gc;
<
742,756d769
< /* The version of the C++ ABI in use. The following values are
< allowed:
<
< 0: The version of the ABI believed most conformant with the
< C++ ABI specification. This ABI may change as bugs are
< discovered and fixed. Therefore, 0 will not necessarily
< indicate the same ABI in different versions of G++.
<
< 1: The version of the ABI first used in G++ 3.2.
<
< Additional positive integers will be assigned as new versions of
< the ABI become the default version of the ABI. */
<
< extern int flag_abi_version;
<
761a775,778
> /* Nonzero means warn about invalid uses of offsetof. */
>
> extern int warn_invalid_offsetof;
>
857c874
< extern tree (*make_fname_decl) PARAMS ((tree, int));
---
> extern tree (*make_fname_decl) (tree, int);
859,867c876,882
< extern tree identifier_global_value PARAMS ((tree));
< extern void record_builtin_type PARAMS ((enum rid,
< const char *, tree));
< extern tree build_void_list_node PARAMS ((void));
< extern void start_fname_decls PARAMS ((void));
< extern void finish_fname_decls PARAMS ((void));
< extern const char *fname_as_string PARAMS ((int));
< extern tree fname_decl PARAMS ((unsigned, tree));
< extern const char *fname_string PARAMS ((unsigned));
---
> extern tree identifier_global_value (tree);
> extern void record_builtin_type (enum rid, const char *, tree);
> extern tree build_void_list_node (void);
> extern void start_fname_decls (void);
> extern void finish_fname_decls (void);
> extern const char *fname_as_string (int);
> extern tree fname_decl (unsigned, tree);
869,892c884,904
< extern void check_function_arguments PARAMS ((tree, tree));
< extern void check_function_arguments_recurse PARAMS ((void (*) (void *,
< tree,
< unsigned HOST_WIDE_INT),
< void *, tree,
< unsigned HOST_WIDE_INT));
< extern void check_function_format PARAMS ((int *, tree, tree));
< extern void set_Wformat PARAMS ((int));
< extern tree handle_format_attribute PARAMS ((tree *, tree, tree,
< int, bool *));
< extern tree handle_format_arg_attribute PARAMS ((tree *, tree, tree,
< int, bool *));
< extern void c_common_insert_default_attributes PARAMS ((tree));
< extern int c_common_decode_option PARAMS ((int, char **));
< extern tree c_common_type_for_mode PARAMS ((enum machine_mode,
< int));
< extern tree c_common_type_for_size PARAMS ((unsigned int, int));
< extern tree c_common_unsigned_type PARAMS ((tree));
< extern tree c_common_signed_type PARAMS ((tree));
< extern tree c_common_signed_or_unsigned_type PARAMS ((int, tree));
< extern tree c_common_truthvalue_conversion PARAMS ((tree));
< extern void c_apply_type_quals_to_decl PARAMS ((int, tree));
< extern tree c_sizeof_or_alignof_type PARAMS ((tree, enum tree_code, int));
< extern tree c_alignof_expr PARAMS ((tree));
---
> extern void check_function_arguments (tree, tree);
> extern void check_function_arguments_recurse (void (*)
> (void *, tree,
> unsigned HOST_WIDE_INT),
> void *, tree,
> unsigned HOST_WIDE_INT);
> extern void check_function_format (int *, tree, tree);
> extern void set_Wformat (int);
> extern tree handle_format_attribute (tree *, tree, tree, int, bool *);
> extern tree handle_format_arg_attribute (tree *, tree, tree, int, bool *);
> extern int c_common_handle_option (size_t code, const char *arg, int value);
> extern bool c_common_missing_argument (const char *opt, size_t code);
> extern tree c_common_type_for_mode (enum machine_mode, int);
> extern tree c_common_type_for_size (unsigned int, int);
> extern tree c_common_unsigned_type (tree);
> extern tree c_common_signed_type (tree);
> extern tree c_common_signed_or_unsigned_type (int, tree);
> extern tree c_common_truthvalue_conversion (tree);
> extern void c_apply_type_quals_to_decl (int, tree);
> extern tree c_sizeof_or_alignof_type (tree, enum tree_code, int);
> extern tree c_alignof_expr (tree);
895c907
< extern void binary_op_error PARAMS ((enum tree_code));
---
> extern void binary_op_error (enum tree_code);
899,904c911,916
< extern tree c_expand_expr_stmt PARAMS ((tree));
< extern void c_expand_start_cond PARAMS ((tree, int, tree));
< extern void c_finish_then PARAMS ((void));
< extern void c_expand_start_else PARAMS ((void));
< extern void c_finish_else PARAMS ((void));
< extern void c_expand_end_cond PARAMS ((void));
---
> extern tree c_expand_expr_stmt (tree);
> extern void c_expand_start_cond (tree, int, tree);
> extern void c_finish_then (void);
> extern void c_expand_start_else (void);
> extern void c_finish_else (void);
> extern void c_expand_end_cond (void);
906,907c918,919
< extern tree check_case_value PARAMS ((tree));
< extern tree fix_string_type PARAMS ((tree));
---
> extern tree check_case_value (tree);
> extern tree fix_string_type (tree);
909,913c921,924
< extern tree combine_strings PARAMS ((struct varray_head_tag *));
< extern void constant_expression_warning PARAMS ((tree));
< extern tree convert_and_check PARAMS ((tree, tree));
< extern void overflow_warning PARAMS ((tree));
< extern void unsigned_conversion_warning PARAMS ((tree, tree));
---
> extern void constant_expression_warning (tree);
> extern tree convert_and_check (tree, tree);
> extern void overflow_warning (tree);
> extern void unsigned_conversion_warning (tree, tree);
916c927
< extern char *get_directive_line PARAMS ((void));
---
> extern char *get_directive_line (void);
924c935
< extern tree shorten_compare PARAMS ((tree *, tree *, tree *, enum tree_code *));
---
> extern tree shorten_compare (tree *, tree *, tree *, enum tree_code *);
926,927c937,938
< extern tree pointer_int_sum PARAMS ((enum tree_code, tree, tree));
< extern unsigned int min_precision PARAMS ((tree, int));
---
> extern tree pointer_int_sum (enum tree_code, tree, tree);
> extern unsigned int min_precision (tree, int);
930c941
< extern tree c_build_qualified_type PARAMS ((tree, int));
---
> extern tree c_build_qualified_type (tree, int);
934c945
< extern void c_common_nodes_and_builtins PARAMS ((void));
---
> extern void c_common_nodes_and_builtins (void);
936c947
< extern void disable_builtin_function PARAMS ((const char *));
---
> extern void disable_builtin_function (const char *);
938c949
< extern tree build_va_arg PARAMS ((tree, tree));
---
> extern tree build_va_arg (tree, tree);
940,948c951,961
< extern void c_common_init_options PARAMS ((enum c_language_kind));
< extern bool c_common_post_options PARAMS ((void));
< extern const char *c_common_init PARAMS ((const char *));
< extern void c_common_finish PARAMS ((void));
< extern void c_common_parse_file PARAMS ((int));
< extern HOST_WIDE_INT c_common_get_alias_set PARAMS ((tree));
< extern bool c_promoting_integer_type_p PARAMS ((tree));
< extern int self_promoting_args_p PARAMS ((tree));
< extern tree strip_array_types PARAMS ((tree));
---
> extern unsigned int c_common_init_options (unsigned int, const char **);
> extern bool c_common_post_options (const char **);
> extern bool c_common_init (void);
> extern void c_common_finish (void);
> extern void c_common_parse_file (int);
> extern HOST_WIDE_INT c_common_get_alias_set (tree);
> extern void c_register_builtin_type (tree, const char*);
> extern bool c_promoting_integer_type_p (tree);
> extern int self_promoting_args_p (tree);
> extern tree strip_array_types (tree);
> extern tree strip_pointer_operator (tree);
949a963,970
> /* This function resets the parsers' state in preparation for parsing
> a new file. */
> extern void c_reset_state (void);
> /* This is the basic parsing function. */
> extern void c_parse_file (void);
> /* This is misnamed, it actually performs end-of-compilation processing. */
> extern void finish_file (void);
>
1008c1029
< /* True for goto created artifically by the compiler. */
---
> /* True for goto created artificially by the compiler. */
1037a1059,1063
> /* Nonzero if this statement-expression should cause warning if its result
> is not used. */
> #define STMT_EXPR_WARN_UNUSED_RESULT(NODE) \
> TREE_LANG_FLAG_3 (STMT_EXPR_CHECK (NODE))
>
1131,1152c1157,1163
< extern void genrtl_do_pushlevel PARAMS ((void));
< extern void genrtl_goto_stmt PARAMS ((tree));
< extern void genrtl_expr_stmt PARAMS ((tree));
< extern void genrtl_expr_stmt_value PARAMS ((tree, int, int));
< extern void genrtl_decl_stmt PARAMS ((tree));
< extern void genrtl_if_stmt PARAMS ((tree));
< extern void genrtl_while_stmt PARAMS ((tree));
< extern void genrtl_do_stmt PARAMS ((tree));
< extern void genrtl_return_stmt PARAMS ((tree));
< extern void genrtl_for_stmt PARAMS ((tree));
< extern void genrtl_break_stmt PARAMS ((void));
< extern void genrtl_continue_stmt PARAMS ((void));
< extern void genrtl_scope_stmt PARAMS ((tree));
< extern void genrtl_switch_stmt PARAMS ((tree));
< extern void genrtl_case_label PARAMS ((tree));
< extern void genrtl_compound_stmt PARAMS ((tree));
< extern void genrtl_asm_stmt PARAMS ((tree, tree,
< tree, tree,
< tree, int));
< extern void genrtl_decl_cleanup PARAMS ((tree));
< extern int stmts_are_full_exprs_p PARAMS ((void));
< extern int anon_aggr_type_p PARAMS ((tree));
---
> #define c_common_stmt_codes \
> CLEANUP_STMT, EXPR_STMT, COMPOUND_STMT, \
> DECL_STMT, IF_STMT, FOR_STMT, \
> WHILE_STMT, DO_STMT, RETURN_STMT, \
> BREAK_STMT, CONTINUE_STMT, SCOPE_STMT, \
> SWITCH_STMT, GOTO_STMT, LABEL_STMT, \
> ASM_STMT, FILE_STMT, CASE_LABEL
1153a1165,1199
> /* TRUE if a code represents a statement. The front end init
> langhook should take care of initialization of this array. */
> extern bool statement_code_p[MAX_TREE_CODES];
>
> #define STATEMENT_CODE_P(CODE) statement_code_p[(int) (CODE)]
>
> #define INIT_STATEMENT_CODES(STMT_CODES) \
> do { \
> unsigned int i; \
> memset (&statement_code_p, 0, sizeof (statement_code_p)); \
> for (i = 0; i < ARRAY_SIZE (STMT_CODES); i++) \
> statement_code_p[STMT_CODES[i]] = true; \
> } while (0)
>
> extern void genrtl_do_pushlevel (void);
> extern void genrtl_goto_stmt (tree);
> extern void genrtl_expr_stmt (tree);
> extern void genrtl_expr_stmt_value (tree, int, int);
> extern void genrtl_decl_stmt (tree);
> extern void genrtl_if_stmt (tree);
> extern void genrtl_while_stmt (tree);
> extern void genrtl_do_stmt (tree);
> extern void genrtl_return_stmt (tree);
> extern void genrtl_for_stmt (tree);
> extern void genrtl_break_stmt (void);
> extern void genrtl_continue_stmt (void);
> extern void genrtl_scope_stmt (tree);
> extern void genrtl_switch_stmt (tree);
> extern void genrtl_case_label (tree);
> extern void genrtl_compound_stmt (tree);
> extern void genrtl_asm_stmt (tree, tree, tree, tree, tree, int);
> extern void genrtl_cleanup_stmt (tree);
> extern int stmts_are_full_exprs_p (void);
> extern int anon_aggr_type_p (tree);
>
1170,1179c1216,1225
< extern void emit_local_var PARAMS ((tree));
< extern void make_rtl_for_local_static PARAMS ((tree));
< extern tree expand_cond PARAMS ((tree));
< extern tree c_expand_return PARAMS ((tree));
< extern tree do_case PARAMS ((tree, tree));
< extern tree build_stmt PARAMS ((enum tree_code, ...));
< extern tree build_case_label PARAMS ((tree, tree, tree));
< extern tree build_continue_stmt PARAMS ((void));
< extern tree build_break_stmt PARAMS ((void));
< extern tree build_return_stmt PARAMS ((tree));
---
> extern void emit_local_var (tree);
> extern void make_rtl_for_local_static (tree);
> extern tree expand_cond (tree);
> extern tree c_expand_return (tree);
> extern tree do_case (tree, tree);
> extern tree build_stmt (enum tree_code, ...);
> extern tree build_case_label (tree, tree, tree);
> extern tree build_continue_stmt (void);
> extern tree build_break_stmt (void);
> extern tree build_return_stmt (tree);
1187c1233
< extern void c_expand_asm_operands PARAMS ((tree, tree, tree, tree, int, const char *, int));
---
> extern void c_expand_asm_operands (tree, tree, tree, tree, int, location_t);
1192,1197c1238,1241
< extern tree build_unary_op PARAMS ((enum tree_code,
< tree, int));
< extern tree build_binary_op PARAMS ((enum tree_code,
< tree, tree, int));
< extern int lvalue_p PARAMS ((tree));
< extern tree default_conversion PARAMS ((tree));
---
> extern tree build_unary_op (enum tree_code, tree, int);
> extern tree build_binary_op (enum tree_code, tree, tree, int);
> extern int lvalue_p (tree);
> extern tree default_conversion (tree);
1202c1246
< extern tree common_type PARAMS ((tree, tree));
---
> extern tree common_type (tree, tree);
1204c1248
< extern tree expand_tree_builtin PARAMS ((tree, tree, tree));
---
> extern tree expand_tree_builtin (tree, tree, tree);
1206c1250
< extern tree decl_constant_value PARAMS ((tree));
---
> extern tree decl_constant_value (tree);
1209,1210c1253
< extern tree boolean_increment PARAMS ((enum tree_code,
< tree));
---
> extern tree boolean_increment (enum tree_code, tree);
1214c1257
< extern void extract_interface_info PARAMS ((void));
---
> extern void extract_interface_info (void);
1216,1217c1259
< extern int case_compare PARAMS ((splay_tree_key,
< splay_tree_key));
---
> extern int case_compare (splay_tree_key, splay_tree_key);
1219,1221c1261
< extern tree c_add_case_label PARAMS ((splay_tree,
< tree, tree,
< tree));
---
> extern tree c_add_case_label (splay_tree, tree, tree, tree);
1223c1263
< extern tree build_function_call PARAMS ((tree, tree));
---
> extern tree build_function_call (tree, tree);
1225c1265
< extern tree finish_label_address_expr PARAMS ((tree));
---
> extern tree finish_label_address_expr (tree);
1229c1269
< extern tree lookup_label PARAMS ((tree));
---
> extern tree lookup_label (tree);
1231,1233c1271
< extern rtx c_expand_expr PARAMS ((tree, rtx,
< enum machine_mode,
< int));
---
> extern rtx c_expand_expr (tree, rtx, enum machine_mode, int, rtx *);
1235c1273
< extern int c_safe_from_p PARAMS ((rtx, tree));
---
> extern int c_safe_from_p (rtx, tree);
1237c1275
< extern int c_staticp PARAMS ((tree));
---
> extern int c_staticp (tree);
1239c1277
< extern int c_common_unsafe_for_reeval PARAMS ((tree));
---
> extern int c_common_unsafe_for_reeval (tree);
1241c1279
< extern const char *init_c_lex PARAMS ((const char *));
---
> extern void init_c_lex (void);
1243c1281
< extern void cb_register_builtins PARAMS ((cpp_reader *));
---
> extern void c_cpp_builtins (cpp_reader *);
1244a1283,1286
> /* Positive if an implicit `extern "C"' scope has just been entered;
> negative if such a scope has just been exited. */
> extern int pending_lang_change;
>
1254,1255c1296,1297
< struct c_fileinfo *get_fileinfo PARAMS ((const char *));
< extern void dump_time_statistics PARAMS ((void));
---
> struct c_fileinfo *get_fileinfo (const char *);
> extern void dump_time_statistics (void);
1257c1299
< extern int c_dump_tree PARAMS ((void *, tree));
---
> extern bool c_dump_tree (void *, tree);
1258a1301,1332
> extern void pch_init (void);
> extern int c_common_valid_pch (cpp_reader *pfile, const char *name, int fd);
> extern void c_common_read_pch (cpp_reader *pfile, const char *name, int fd,
> const char *orig);
> extern void c_common_write_pch (void);
> extern void c_common_no_more_pch (void);
> extern void builtin_define_with_value (const char *, const char *, int);
> extern void c_stddef_cpp_builtins (void);
> extern void fe_file_change (const struct line_map *);
> extern int c_estimate_num_insns (tree decl);
> extern bool c_decl_uninit (tree t);
> extern void c_parse_error (const char *, enum cpp_ttype, tree);
>
> /* The following have been moved here from c-tree.h, since they're needed
> in the ObjC++ world, too. What is more, stub-objc.c could use a few
> prototypes. */
> extern tree lookup_interface (tree);
> extern tree is_class_name (tree);
> extern tree objc_is_object_ptr (tree);
> extern void objc_check_decl (tree);
> extern int objc_comptypes (tree, tree, int);
> extern tree objc_message_selector (void);
> extern tree lookup_objc_ivar (tree);
> extern void *get_current_scope (void);
> extern void objc_mark_locals_volatile (void *);
>
> /* In c-ppoutput.c */
> extern void init_pp_output (FILE *);
> extern void preprocess_file (cpp_reader *);
> extern void pp_file_change (const struct line_map *);
> extern void pp_dir_change (cpp_reader *, const char *);
>
< 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
---
> 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
26a27
> #include "ggc.h"
41a43
> STMT_EXPR_WARN_UNUSED_RESULT (in STMT_EXPR)
61c63
< RID_BOUNDED, RID_UNBOUNDED, RID_COMPLEX, RID_THREAD,
---
> RID_COMPLEX, RID_THREAD,
89,91c91,94
< RID_NEW, RID_OPERATOR, RID_THIS,
< RID_THROW, RID_TRUE, RID_TRY,
< RID_TYPENAME, RID_TYPEID, RID_USING,
---
> RID_NEW, RID_OFFSETOF, RID_OPERATOR,
> RID_THIS, RID_THROW, RID_TRUE,
> RID_TRY, RID_TYPENAME, RID_TYPEID,
> RID_USING,
100c103,106
< RID_AT_PROTOCOL, RID_AT_SELECTOR, RID_AT_INTERFACE,
---
> RID_AT_PROTOCOL, RID_AT_SELECTOR,
> RID_AT_THROW, RID_AT_TRY, RID_AT_CATCH,
> RID_AT_FINALLY, RID_AT_SYNCHRONIZED,
> RID_AT_INTERFACE,
124c130
< extern tree *ridpointers;
---
> extern GTY ((length ("(int)RID_MAX"))) tree *ridpointers;
148,154c154,157
< CTI_BOOLEAN_TYPE,
< CTI_BOOLEAN_TRUE,
< CTI_BOOLEAN_FALSE,
< /* C99's _Bool type. */
< CTI_C_BOOL_TYPE,
< CTI_C_BOOL_TRUE,
< CTI_C_BOOL_FALSE,
---
> CTI_TRUTHVALUE_TYPE,
> CTI_TRUTHVALUE_TRUE,
> CTI_TRUTHVALUE_FALSE,
>
180c183
< struct cpp_hashnode GTY ((skip (""))) node;
---
> struct cpp_hashnode node;
194,196c197,199
< #define boolean_type_node c_global_trees[CTI_BOOLEAN_TYPE]
< #define boolean_true_node c_global_trees[CTI_BOOLEAN_TRUE]
< #define boolean_false_node c_global_trees[CTI_BOOLEAN_FALSE]
---
> #define truthvalue_type_node c_global_trees[CTI_TRUTHVALUE_TYPE]
> #define truthvalue_true_node c_global_trees[CTI_TRUTHVALUE_TRUE]
> #define truthvalue_false_node c_global_trees[CTI_TRUTHVALUE_FALSE]
198,201d200
< #define c_bool_type_node c_global_trees[CTI_C_BOOL_TYPE]
< #define c_bool_true_node c_global_trees[CTI_C_BOOL_TRUE]
< #define c_bool_false_node c_global_trees[CTI_C_BOOL_FALSE]
<
225a225,232
> /* In a RECORD_TYPE, a sorted array of the fields of the type, not a
> tree for size reasons. */
> struct sorted_fields_type GTY(())
> {
> int len;
> tree GTY((length ("%h.len"))) elts[1];
> };
>
236,237c243,246
< clk_c = 0, /* A dialect of C: K&R C, ANSI/ISO C89, C2000, etc. */
< clk_cplusplus /* ANSI/ISO C++ */
---
> clk_c = 0, /* C90, C94 or C99 */
> clk_objc = 1, /* clk_c with ObjC features. */
> clk_cxx = 2, /* ANSI/ISO C++ */
> clk_objcxx = 3 /* clk_cxx with ObjC features. */
240a250,256
> /* To test for a specific language use c_language, defined by each
> front end. For "ObjC features" or "not C++" use the macros. */
> extern c_language_kind c_language;
>
> #define c_dialect_cxx() (c_language & clk_cxx)
> #define c_dialect_objc() (c_language & clk_objc)
>
308,312c324,326
< extern int (*lang_statement_code_p) PARAMS ((enum tree_code));
< extern void (*lang_expand_stmt) PARAMS ((tree));
< extern void (*lang_expand_decl_stmt) PARAMS ((tree));
< extern void (*lang_expand_function_end) PARAMS ((void));
< extern tree gettags PARAMS ((void));
---
> extern void (*lang_expand_stmt) (tree);
> extern void (*lang_expand_decl_stmt) (tree);
> extern void (*lang_expand_function_end) (void);
316c330
< extern int (*lang_missing_noreturn_ok_p) PARAMS ((tree));
---
> extern int (*lang_missing_noreturn_ok_p) (tree);
318,319c332,339
< extern int yyparse PARAMS ((void));
< extern void free_parser_stacks PARAMS ((void));
---
> extern int yyparse (void);
> extern stmt_tree current_stmt_tree (void);
> extern tree *current_scope_stmt_stack (void);
> extern void begin_stmt_tree (tree *);
> extern tree add_stmt (tree);
> extern void add_decl_stmt (tree);
> extern tree add_scope_stmt (int, int);
> extern void finish_stmt_tree (tree *);
321,327c341,346
< extern stmt_tree current_stmt_tree PARAMS ((void));
< extern tree *current_scope_stmt_stack PARAMS ((void));
< extern void begin_stmt_tree PARAMS ((tree *));
< extern tree add_stmt PARAMS ((tree));
< extern void add_decl_stmt PARAMS ((tree));
< extern tree add_scope_stmt PARAMS ((int, int));
< extern void finish_stmt_tree PARAMS ((tree *));
---
> extern tree walk_stmt_tree (tree *, walk_tree_fn, void *);
> extern void prep_stmt (tree);
> extern void expand_stmt (tree);
> extern tree c_begin_if_stmt (void);
> extern tree c_begin_while_stmt (void);
> extern void c_finish_while_stmt_cond (tree, tree);
329,339c348,352
< extern int statement_code_p PARAMS ((enum tree_code));
< extern tree walk_stmt_tree PARAMS ((tree *,
< walk_tree_fn,
< void *));
< extern void prep_stmt PARAMS ((tree));
< extern void expand_stmt PARAMS ((tree));
< extern void shadow_warning PARAMS ((const char *,
< tree, tree));
< extern tree c_begin_if_stmt PARAMS ((void));
< extern tree c_begin_while_stmt PARAMS ((void));
< extern void c_finish_while_stmt_cond PARAMS ((tree, tree));
---
> extern int field_decl_cmp (const void *, const void *);
> extern void resort_sorted_fields (void *, void *, gt_pointer_operator,
> void *);
>
> /* Switches common to the C front ends. */
340a354
> /* Nonzero if prepreprocessing only. */
342,345c356
< /* Extra information associated with a DECL. Other C dialects extend
< this structure in various ways. The C front-end only uses this
< structure for FUNCTION_DECLs; all other DECLs have a NULL
< DECL_LANG_SPECIFIC field. */
---
> extern int flag_preprocess_only;
347,349c358,361
< struct c_lang_decl GTY(()) {
< unsigned declared_inline : 1;
< };
---
> /* Zero means that faster, ...NonNil variants of objc_msgSend...
> calls will be used in ObjC; passing nil receivers to such calls
> will most likely result in crashes. */
> extern int flag_nil_receivers;
351,356c363,365
< /* In a FUNCTION_DECL for which DECL_BUILT_IN does not hold, this is
< the approximate number of statements in this function. There is
< no need for this number to be exact; it is only used in various
< heuristics regarding optimization. */
< #define DECL_NUM_STMTS(NODE) \
< (FUNCTION_DECL_CHECK (NODE)->decl.u1.i)
---
> /* Nonzero means that we will allow new ObjC exception syntax (@throw,
> @try, etc.) in source code. */
> extern int flag_objc_exceptions;
358,359c367,370
< /* The variant of the C language being processed. Each C language
< front-end defines this variable. */
---
> /* Nonzero means that code generation will be altered to support
> "zero-link" execution. This currently affects ObjC only, but may
> affect other languages in the future. */
> extern int flag_zero_link;
361c372,375
< extern c_language_kind c_language;
---
> /* Nonzero means emit an '__OBJC, __image_info' for the current translation
> unit. It will inform the ObjC runtime that class definition(s) herein
> contained are to replace one(s) previously loaded. */
> extern int flag_replace_objc_classes;
363c377
< /* Switches common to the C front ends. */
---
> /* Nonzero means don't output line number information. */
365,366c379
< /* Nonzero if prepreprocessing only. */
< extern int flag_preprocess_only;
---
> extern char flag_no_line_commands;
367a381,399
> /* Nonzero causes -E output not to be done, but directives such as
> #define that have side effects are still obeyed. */
>
> extern char flag_no_output;
>
> /* Nonzero means dump macros in some fashion; contains the 'D', 'M' or
> 'N' of the command line switch. */
>
> extern char flag_dump_macros;
>
> /* Nonzero means pass #include lines through to the output. */
>
> extern char flag_dump_includes;
>
> /* The file name to which we should write a precompiled header, or
> NULL if no header will be written in this compile. */
>
> extern const char *pch_file;
>
369a402
>
372,374d404
< /* Nonzero whenever Objective-C functionality is being used. */
< extern int flag_objc;
<
376a407
>
408,411d438
< /* Nonzero means `$' can be in an identifier. */
<
< extern int dollars_in_ident;
<
533c560
< /* Nonzero means that we have builtin functions, and main is an int */
---
> /* Nonzero means that we have builtin functions, and main is an int. */
537,541d563
< /* Nonzero means add default format_arg attributes for functions not
< in ISO C. */
<
< extern int flag_noniso_default_format_attributes;
<
551a574,577
> /* Nonzero means warn for a declaration found after a statement. */
>
> extern int warn_declaration_after_statement;
>
577a604,609
> /* Nonzero means warn about uninitialized variable when it is initialized with itself.
> For example: int i = i;, GCC will not warn about this when warn_init_self is nonzero. */
>
> extern int warn_init_self;
>
>
589a622
> /* Warn about old-style parameter declaration. */
590a624,626
> extern int warn_old_style_definition;
>
>
645,655d680
< /* Nonzero means do emit exported implementations of templates, instead of
< multiple static copies in each file that needs a definition. */
<
< extern int flag_external_templates;
<
< /* Nonzero means that the decision to emit or not emit the implementation of a
< template depends on where the template is instantiated, rather than where
< it is defined. */
<
< extern int flag_alt_external_templates;
<
720a746,752
> /* 0 means we want the preprocessor to not emit line directives for
> the current working directory. 1 means we want it to do it. -1
> means we should decide depending on whether debugging information
> is being emitted or not. */
>
> extern int flag_working_directory;
>
726,729d757
< /* Nonzero means output .vtable_{entry,inherit} for use in doing vtable gc. */
<
< extern int flag_vtable_gc;
<
742,756d769
< /* The version of the C++ ABI in use. The following values are
< allowed:
<
< 0: The version of the ABI believed most conformant with the
< C++ ABI specification. This ABI may change as bugs are
< discovered and fixed. Therefore, 0 will not necessarily
< indicate the same ABI in different versions of G++.
<
< 1: The version of the ABI first used in G++ 3.2.
<
< Additional positive integers will be assigned as new versions of
< the ABI become the default version of the ABI. */
<
< extern int flag_abi_version;
<
761a775,778
> /* Nonzero means warn about invalid uses of offsetof. */
>
> extern int warn_invalid_offsetof;
>
857c874
< extern tree (*make_fname_decl) PARAMS ((tree, int));
---
> extern tree (*make_fname_decl) (tree, int);
859,867c876,882
< extern tree identifier_global_value PARAMS ((tree));
< extern void record_builtin_type PARAMS ((enum rid,
< const char *, tree));
< extern tree build_void_list_node PARAMS ((void));
< extern void start_fname_decls PARAMS ((void));
< extern void finish_fname_decls PARAMS ((void));
< extern const char *fname_as_string PARAMS ((int));
< extern tree fname_decl PARAMS ((unsigned, tree));
< extern const char *fname_string PARAMS ((unsigned));
---
> extern tree identifier_global_value (tree);
> extern void record_builtin_type (enum rid, const char *, tree);
> extern tree build_void_list_node (void);
> extern void start_fname_decls (void);
> extern void finish_fname_decls (void);
> extern const char *fname_as_string (int);
> extern tree fname_decl (unsigned, tree);
869,892c884,904
< extern void check_function_arguments PARAMS ((tree, tree));
< extern void check_function_arguments_recurse PARAMS ((void (*) (void *,
< tree,
< unsigned HOST_WIDE_INT),
< void *, tree,
< unsigned HOST_WIDE_INT));
< extern void check_function_format PARAMS ((int *, tree, tree));
< extern void set_Wformat PARAMS ((int));
< extern tree handle_format_attribute PARAMS ((tree *, tree, tree,
< int, bool *));
< extern tree handle_format_arg_attribute PARAMS ((tree *, tree, tree,
< int, bool *));
< extern void c_common_insert_default_attributes PARAMS ((tree));
< extern int c_common_decode_option PARAMS ((int, char **));
< extern tree c_common_type_for_mode PARAMS ((enum machine_mode,
< int));
< extern tree c_common_type_for_size PARAMS ((unsigned int, int));
< extern tree c_common_unsigned_type PARAMS ((tree));
< extern tree c_common_signed_type PARAMS ((tree));
< extern tree c_common_signed_or_unsigned_type PARAMS ((int, tree));
< extern tree c_common_truthvalue_conversion PARAMS ((tree));
< extern void c_apply_type_quals_to_decl PARAMS ((int, tree));
< extern tree c_sizeof_or_alignof_type PARAMS ((tree, enum tree_code, int));
< extern tree c_alignof_expr PARAMS ((tree));
---
> extern void check_function_arguments (tree, tree);
> extern void check_function_arguments_recurse (void (*)
> (void *, tree,
> unsigned HOST_WIDE_INT),
> void *, tree,
> unsigned HOST_WIDE_INT);
> extern void check_function_format (int *, tree, tree);
> extern void set_Wformat (int);
> extern tree handle_format_attribute (tree *, tree, tree, int, bool *);
> extern tree handle_format_arg_attribute (tree *, tree, tree, int, bool *);
> extern int c_common_handle_option (size_t code, const char *arg, int value);
> extern bool c_common_missing_argument (const char *opt, size_t code);
> extern tree c_common_type_for_mode (enum machine_mode, int);
> extern tree c_common_type_for_size (unsigned int, int);
> extern tree c_common_unsigned_type (tree);
> extern tree c_common_signed_type (tree);
> extern tree c_common_signed_or_unsigned_type (int, tree);
> extern tree c_common_truthvalue_conversion (tree);
> extern void c_apply_type_quals_to_decl (int, tree);
> extern tree c_sizeof_or_alignof_type (tree, enum tree_code, int);
> extern tree c_alignof_expr (tree);
895c907
< extern void binary_op_error PARAMS ((enum tree_code));
---
> extern void binary_op_error (enum tree_code);
899,904c911,916
< extern tree c_expand_expr_stmt PARAMS ((tree));
< extern void c_expand_start_cond PARAMS ((tree, int, tree));
< extern void c_finish_then PARAMS ((void));
< extern void c_expand_start_else PARAMS ((void));
< extern void c_finish_else PARAMS ((void));
< extern void c_expand_end_cond PARAMS ((void));
---
> extern tree c_expand_expr_stmt (tree);
> extern void c_expand_start_cond (tree, int, tree);
> extern void c_finish_then (void);
> extern void c_expand_start_else (void);
> extern void c_finish_else (void);
> extern void c_expand_end_cond (void);
906,907c918,919
< extern tree check_case_value PARAMS ((tree));
< extern tree fix_string_type PARAMS ((tree));
---
> extern tree check_case_value (tree);
> extern tree fix_string_type (tree);
909,913c921,924
< extern tree combine_strings PARAMS ((struct varray_head_tag *));
< extern void constant_expression_warning PARAMS ((tree));
< extern tree convert_and_check PARAMS ((tree, tree));
< extern void overflow_warning PARAMS ((tree));
< extern void unsigned_conversion_warning PARAMS ((tree, tree));
---
> extern void constant_expression_warning (tree);
> extern tree convert_and_check (tree, tree);
> extern void overflow_warning (tree);
> extern void unsigned_conversion_warning (tree, tree);
916c927
< extern char *get_directive_line PARAMS ((void));
---
> extern char *get_directive_line (void);
924c935
< extern tree shorten_compare PARAMS ((tree *, tree *, tree *, enum tree_code *));
---
> extern tree shorten_compare (tree *, tree *, tree *, enum tree_code *);
926,927c937,938
< extern tree pointer_int_sum PARAMS ((enum tree_code, tree, tree));
< extern unsigned int min_precision PARAMS ((tree, int));
---
> extern tree pointer_int_sum (enum tree_code, tree, tree);
> extern unsigned int min_precision (tree, int);
930c941
< extern tree c_build_qualified_type PARAMS ((tree, int));
---
> extern tree c_build_qualified_type (tree, int);
934c945
< extern void c_common_nodes_and_builtins PARAMS ((void));
---
> extern void c_common_nodes_and_builtins (void);
936c947
< extern void disable_builtin_function PARAMS ((const char *));
---
> extern void disable_builtin_function (const char *);
938c949
< extern tree build_va_arg PARAMS ((tree, tree));
---
> extern tree build_va_arg (tree, tree);
940,948c951,961
< extern void c_common_init_options PARAMS ((enum c_language_kind));
< extern bool c_common_post_options PARAMS ((void));
< extern const char *c_common_init PARAMS ((const char *));
< extern void c_common_finish PARAMS ((void));
< extern void c_common_parse_file PARAMS ((int));
< extern HOST_WIDE_INT c_common_get_alias_set PARAMS ((tree));
< extern bool c_promoting_integer_type_p PARAMS ((tree));
< extern int self_promoting_args_p PARAMS ((tree));
< extern tree strip_array_types PARAMS ((tree));
---
> extern unsigned int c_common_init_options (unsigned int, const char **);
> extern bool c_common_post_options (const char **);
> extern bool c_common_init (void);
> extern void c_common_finish (void);
> extern void c_common_parse_file (int);
> extern HOST_WIDE_INT c_common_get_alias_set (tree);
> extern void c_register_builtin_type (tree, const char*);
> extern bool c_promoting_integer_type_p (tree);
> extern int self_promoting_args_p (tree);
> extern tree strip_array_types (tree);
> extern tree strip_pointer_operator (tree);
949a963,970
> /* This function resets the parsers' state in preparation for parsing
> a new file. */
> extern void c_reset_state (void);
> /* This is the basic parsing function. */
> extern void c_parse_file (void);
> /* This is misnamed, it actually performs end-of-compilation processing. */
> extern void finish_file (void);
>
1008c1029
< /* True for goto created artifically by the compiler. */
---
> /* True for goto created artificially by the compiler. */
1037a1059,1063
> /* Nonzero if this statement-expression should cause warning if its result
> is not used. */
> #define STMT_EXPR_WARN_UNUSED_RESULT(NODE) \
> TREE_LANG_FLAG_3 (STMT_EXPR_CHECK (NODE))
>
1131,1152c1157,1163
< extern void genrtl_do_pushlevel PARAMS ((void));
< extern void genrtl_goto_stmt PARAMS ((tree));
< extern void genrtl_expr_stmt PARAMS ((tree));
< extern void genrtl_expr_stmt_value PARAMS ((tree, int, int));
< extern void genrtl_decl_stmt PARAMS ((tree));
< extern void genrtl_if_stmt PARAMS ((tree));
< extern void genrtl_while_stmt PARAMS ((tree));
< extern void genrtl_do_stmt PARAMS ((tree));
< extern void genrtl_return_stmt PARAMS ((tree));
< extern void genrtl_for_stmt PARAMS ((tree));
< extern void genrtl_break_stmt PARAMS ((void));
< extern void genrtl_continue_stmt PARAMS ((void));
< extern void genrtl_scope_stmt PARAMS ((tree));
< extern void genrtl_switch_stmt PARAMS ((tree));
< extern void genrtl_case_label PARAMS ((tree));
< extern void genrtl_compound_stmt PARAMS ((tree));
< extern void genrtl_asm_stmt PARAMS ((tree, tree,
< tree, tree,
< tree, int));
< extern void genrtl_decl_cleanup PARAMS ((tree));
< extern int stmts_are_full_exprs_p PARAMS ((void));
< extern int anon_aggr_type_p PARAMS ((tree));
---
> #define c_common_stmt_codes \
> CLEANUP_STMT, EXPR_STMT, COMPOUND_STMT, \
> DECL_STMT, IF_STMT, FOR_STMT, \
> WHILE_STMT, DO_STMT, RETURN_STMT, \
> BREAK_STMT, CONTINUE_STMT, SCOPE_STMT, \
> SWITCH_STMT, GOTO_STMT, LABEL_STMT, \
> ASM_STMT, FILE_STMT, CASE_LABEL
1153a1165,1199
> /* TRUE if a code represents a statement. The front end init
> langhook should take care of initialization of this array. */
> extern bool statement_code_p[MAX_TREE_CODES];
>
> #define STATEMENT_CODE_P(CODE) statement_code_p[(int) (CODE)]
>
> #define INIT_STATEMENT_CODES(STMT_CODES) \
> do { \
> unsigned int i; \
> memset (&statement_code_p, 0, sizeof (statement_code_p)); \
> for (i = 0; i < ARRAY_SIZE (STMT_CODES); i++) \
> statement_code_p[STMT_CODES[i]] = true; \
> } while (0)
>
> extern void genrtl_do_pushlevel (void);
> extern void genrtl_goto_stmt (tree);
> extern void genrtl_expr_stmt (tree);
> extern void genrtl_expr_stmt_value (tree, int, int);
> extern void genrtl_decl_stmt (tree);
> extern void genrtl_if_stmt (tree);
> extern void genrtl_while_stmt (tree);
> extern void genrtl_do_stmt (tree);
> extern void genrtl_return_stmt (tree);
> extern void genrtl_for_stmt (tree);
> extern void genrtl_break_stmt (void);
> extern void genrtl_continue_stmt (void);
> extern void genrtl_scope_stmt (tree);
> extern void genrtl_switch_stmt (tree);
> extern void genrtl_case_label (tree);
> extern void genrtl_compound_stmt (tree);
> extern void genrtl_asm_stmt (tree, tree, tree, tree, tree, int);
> extern void genrtl_cleanup_stmt (tree);
> extern int stmts_are_full_exprs_p (void);
> extern int anon_aggr_type_p (tree);
>
1170,1179c1216,1225
< extern void emit_local_var PARAMS ((tree));
< extern void make_rtl_for_local_static PARAMS ((tree));
< extern tree expand_cond PARAMS ((tree));
< extern tree c_expand_return PARAMS ((tree));
< extern tree do_case PARAMS ((tree, tree));
< extern tree build_stmt PARAMS ((enum tree_code, ...));
< extern tree build_case_label PARAMS ((tree, tree, tree));
< extern tree build_continue_stmt PARAMS ((void));
< extern tree build_break_stmt PARAMS ((void));
< extern tree build_return_stmt PARAMS ((tree));
---
> extern void emit_local_var (tree);
> extern void make_rtl_for_local_static (tree);
> extern tree expand_cond (tree);
> extern tree c_expand_return (tree);
> extern tree do_case (tree, tree);
> extern tree build_stmt (enum tree_code, ...);
> extern tree build_case_label (tree, tree, tree);
> extern tree build_continue_stmt (void);
> extern tree build_break_stmt (void);
> extern tree build_return_stmt (tree);
1187c1233
< extern void c_expand_asm_operands PARAMS ((tree, tree, tree, tree, int, const char *, int));
---
> extern void c_expand_asm_operands (tree, tree, tree, tree, int, location_t);
1192,1197c1238,1241
< extern tree build_unary_op PARAMS ((enum tree_code,
< tree, int));
< extern tree build_binary_op PARAMS ((enum tree_code,
< tree, tree, int));
< extern int lvalue_p PARAMS ((tree));
< extern tree default_conversion PARAMS ((tree));
---
> extern tree build_unary_op (enum tree_code, tree, int);
> extern tree build_binary_op (enum tree_code, tree, tree, int);
> extern int lvalue_p (tree);
> extern tree default_conversion (tree);
1202c1246
< extern tree common_type PARAMS ((tree, tree));
---
> extern tree common_type (tree, tree);
1204c1248
< extern tree expand_tree_builtin PARAMS ((tree, tree, tree));
---
> extern tree expand_tree_builtin (tree, tree, tree);
1206c1250
< extern tree decl_constant_value PARAMS ((tree));
---
> extern tree decl_constant_value (tree);
1209,1210c1253
< extern tree boolean_increment PARAMS ((enum tree_code,
< tree));
---
> extern tree boolean_increment (enum tree_code, tree);
1214c1257
< extern void extract_interface_info PARAMS ((void));
---
> extern void extract_interface_info (void);
1216,1217c1259
< extern int case_compare PARAMS ((splay_tree_key,
< splay_tree_key));
---
> extern int case_compare (splay_tree_key, splay_tree_key);
1219,1221c1261
< extern tree c_add_case_label PARAMS ((splay_tree,
< tree, tree,
< tree));
---
> extern tree c_add_case_label (splay_tree, tree, tree, tree);
1223c1263
< extern tree build_function_call PARAMS ((tree, tree));
---
> extern tree build_function_call (tree, tree);
1225c1265
< extern tree finish_label_address_expr PARAMS ((tree));
---
> extern tree finish_label_address_expr (tree);
1229c1269
< extern tree lookup_label PARAMS ((tree));
---
> extern tree lookup_label (tree);
1231,1233c1271
< extern rtx c_expand_expr PARAMS ((tree, rtx,
< enum machine_mode,
< int));
---
> extern rtx c_expand_expr (tree, rtx, enum machine_mode, int, rtx *);
1235c1273
< extern int c_safe_from_p PARAMS ((rtx, tree));
---
> extern int c_safe_from_p (rtx, tree);
1237c1275
< extern int c_staticp PARAMS ((tree));
---
> extern int c_staticp (tree);
1239c1277
< extern int c_common_unsafe_for_reeval PARAMS ((tree));
---
> extern int c_common_unsafe_for_reeval (tree);
1241c1279
< extern const char *init_c_lex PARAMS ((const char *));
---
> extern void init_c_lex (void);
1243c1281
< extern void cb_register_builtins PARAMS ((cpp_reader *));
---
> extern void c_cpp_builtins (cpp_reader *);
1244a1283,1286
> /* Positive if an implicit `extern "C"' scope has just been entered;
> negative if such a scope has just been exited. */
> extern int pending_lang_change;
>
1254,1255c1296,1297
< struct c_fileinfo *get_fileinfo PARAMS ((const char *));
< extern void dump_time_statistics PARAMS ((void));
---
> struct c_fileinfo *get_fileinfo (const char *);
> extern void dump_time_statistics (void);
1257c1299
< extern int c_dump_tree PARAMS ((void *, tree));
---
> extern bool c_dump_tree (void *, tree);
1258a1301,1332
> extern void pch_init (void);
> extern int c_common_valid_pch (cpp_reader *pfile, const char *name, int fd);
> extern void c_common_read_pch (cpp_reader *pfile, const char *name, int fd,
> const char *orig);
> extern void c_common_write_pch (void);
> extern void c_common_no_more_pch (void);
> extern void builtin_define_with_value (const char *, const char *, int);
> extern void c_stddef_cpp_builtins (void);
> extern void fe_file_change (const struct line_map *);
> extern int c_estimate_num_insns (tree decl);
> extern bool c_decl_uninit (tree t);
> extern void c_parse_error (const char *, enum cpp_ttype, tree);
>
> /* The following have been moved here from c-tree.h, since they're needed
> in the ObjC++ world, too. What is more, stub-objc.c could use a few
> prototypes. */
> extern tree lookup_interface (tree);
> extern tree is_class_name (tree);
> extern tree objc_is_object_ptr (tree);
> extern void objc_check_decl (tree);
> extern int objc_comptypes (tree, tree, int);
> extern tree objc_message_selector (void);
> extern tree lookup_objc_ivar (tree);
> extern void *get_current_scope (void);
> extern void objc_mark_locals_volatile (void *);
>
> /* In c-ppoutput.c */
> extern void init_pp_output (FILE *);
> extern void preprocess_file (cpp_reader *);
> extern void pp_file_change (const struct line_map *);
> extern void pp_dir_change (cpp_reader *, const char *);
>