aboutsummaryrefslogtreecommitdiff
path: root/gcc/genattr.c
AgeCommit message (Collapse)AuthorFilesLines
1998-05-11genattr.c: Include stdarg.h/varargs.h.Kaveh R. Ghazi1-4/+20
* genattr.c: Include stdarg.h/varargs.h. Change function `fatal' to use variable arguments instead of faking it with integer parameters. Provide a prototype which also checks the format specifiers using ATTRIBUTE_PRINTF_1. * genattrtab.c: Likewise. * gencodes.c: Likewise. * genconfig.c: Likewise. * genemit.c: Likewise. * genextract.c: Likewise. * genflags.c: Likewise. * genopinit.c: Likewise. * genpeep.c: Likewise. * genrecog.c: Likewise. * genoutput.c: Likewise. Similarly for function `error'. From-SVN: r19661
1998-04-16loop.c (regs_patch_p): Add prototype.Jeff Law1-0/+1
* loop.c (regs_patch_p): Add prototype. (add_label_notes, count_nonfixed_reads): Likewise. (find_single_use_in_loop): Likewise. (express_from): Surround prototype with #ifdef. (giv_sort): Similarly. * jump.c (mark_modified_reg): Add prototype. * haifa-sched.c (is_prisky): Add prototype. (queue_to_ready): Likewise. * genextract.c (gen_insn): Add prototype. * genemit.c (max_operand_1): Add prototype. (max_operand_vec, print_code, gen_exp, gen_insn): Likewise. (gen_expand, gen_explit, output_add_clobbers): Likewise. (output_init_mov_optab): Likewise. * genattrtab.c (attr_hash_add_rtx): Add prototype. (attr_hash_add_string, write_length_unit_log): Likewise. * genattr.c (init_range): Add prototype. * combine.c (sets_function_arg_p): Add prototype. From-SVN: r19251
1998-04-15Link in print-rtl.o to all gen* programs except gengenrtlMichael Meissner1-0/+3
From-SVN: r19222
1998-04-07c-lex.c (is_class_name): Delete declaration.Bernd Schmidt1-0/+6
* c-lex.c (is_class_name): Delete declaration. (whitespace_cr): Make static and add prototype. * c-lex.h (make_pointer_declarator, reinit_parse_for_function, yylex, get_directive_line): Turn declarations into prototypes. (position_after_whitespace, check_newline, yyerror,, is_class_name, forget_protocol_qualifiers, remember_protocol_qualifiers): Add prototypes. * genattr.c (extend_range, write_upcase, gen_attr, write_units): Add prototypes. * gencodes.c (gen_insn): Add prototype. * genconfig.c (walk_insn, gen_insn, gen_expand, gen_split, gen_peephole): Add prototypes. * genflags.c (num_operands, gen_proto, gen_nonproto, gen_insn): Add prototypes. * gengenrtl.c (type_from_format, accessor_from_format, special_rtx, special_format, find_formats, gendecl, genmacro, gendef, genlegend, genheader, gencode): Add prototypes. * genopinit.c (gen_insn): Add prototype. * genoutput.c (output_prologue, output_epilogue, scan_operands, process_template, validate_insn_alternatives, gen_insn, gen_peephole, gen_expand, gen_split, n_occurrences): Add prototypes. * genpeep.c (gen_peephole): Add prototype. * loop.c (find_and_verify_loops, mark_loop_jump, prescan_loop, reg_in_basic_block_p, consec_sets_invariant_p, libcall_other_reg, labels_in_range_p, count_loop_regs_set, note_addr_stored, loop_reg_used_before_p, scan_loop, replace_call_address, skip_consec_insns, libcall_benefit, ignore_some_movables, force_movables, combine_movables, rtx_equal_for_loop_p, move_movables, strength_reduce, valid_initial_value_p, find_mem_givs, record_biv, check_final_value, record_giv, update_giv_derive, basic_induction_var, simplify_giv_expr, general_induction_var, consec_sets_giv, check_dbra_loop, express_from, combine_givs_p, combine_givs, product_cheap_p, maybe_eliminate_biv, maybe_eliminate_biv_1, last_use_this_basic_block, record_initial, update_reg_last_use, iteration_info, analyze_loop_iterations, insert_bct, instrument_loop_bct, indirect_jump_in_function_p): Turn declarations into prototypes. From-SVN: r19038
1998-03-24Cutover various gen*.c files to using system.h:Kaveh R. Ghazi1-10/+1
* Makefile.in (genconfig.o, genflags.o, gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o, genpeep.o, genattr.o, genattrtab.o, genoutput.o): Depend on system.h. * genattr.c: Include system.h. Add arguments to various function prototypes. Remove redundant prototype of read_rtx(). * genattrtab.c: Likewise. * gencodes.c: Likewise. * genconfig.c: Likewise. * genemit.c: Likewise. * genextract.c: Likewise. * genflags.c: Likewise. * genopinit.c: Likewise. * genoutput.c: Likewise. * genpeep.c: Likewise. * genrecog.c: Likewise. From-SVN: r18794
1998-02-27genattr.c: Wrap prototype of `free' in NEED_DECLARATION_FREE.Kaveh Ghazi1-1/+3
* genattr.c: Wrap prototype of `free' in NEED_DECLARATION_FREE. * genattrtab.c: Likewise. * genconfig.c: Likewise. * genemit.c: Likewise. * genextract.c: Likewise. * genflags.c: Likewise. * genopinit.c: Likewise. * genoutput.c: Likewise. * genpeep.c: Likewise. * genrecog.c: Likewise. * tlink.c: Likewise. Also wrap `getenv' in NEED_DECLARATION_GETENV. From-SVN: r18284
1998-02-07c-common.c: Include <stdlib.h> and <string.h>/<strings.h>.Robert Lipe1-0/+4
* c-common.c: Include <stdlib.h> and <string.h>/<strings.h>. * calls.c (expand_call): Remove unused variables funtree, n_regs, and tmpmode. * dbxout.c, except.c: Include <string.h>/<strings.h>. * explow.c: (plus_constant_for_output_wide) Removed unused variable all_constant. * c-decl.c, genattr.c, genattrtab.c, getconfig.c, genemit.c genextract.c, genflags.c, genopinit.c genoutput.c, genpeep.c, genrecog.c, global.c, integrate.c , stupid.c : Include <stdlib.h>. * genextract.c: (walk_rtx) Remove unused variable link. * genrecog.c: (concat) Remove unreferenced static function. * prefix.c: Include <string.h>/<strings.h>, <stdlib.h> * stmt.c: Include <stdlib.h>. (expand_asm_operands): Remove unused variable val1. (expand_return): Remove unused variable block. (pushcase): Remove unused variables l and n. (pushcaserange): Likewise. * unroll.c (unroll_loop): Remove unused variable temp. From-SVN: r17766
1996-04-15* genattr.c (main): Delete printing of "#define PROTO".Doug Evans1-9/+1
From-SVN: r11795
1995-06-15Update FSF address.Richard Kenner1-1/+2
From-SVN: r9961
1994-09-30(atoi): Remove declaration.Richard Kenner1-1/+0
From-SVN: r8179
1994-03-25(main): Remove decl of unused variable MAX_ISSUE_TIME.Richard Kenner1-3/+2
From-SVN: r6883
1993-03-28* genattr.c (main): Output ATTR_FLAG masks.Jeff Law1-1/+12
From-SVN: r3901
1993-03-19(gen_attr): Generate prototypes in header file.Jim Wilson1-14/+22
From-SVN: r3792
1992-10-13Include hconfig.h, not config.h.Richard Stallman1-1/+1
From-SVN: r2419
1992-09-10*** empty log message ***Timothy Moore1-5430/+228
From-SVN: r2100
1992-09-10(main) Write declaration for const_num_delay_slots ().Timothy Moore1-227/+5430
From-SVN: r2099
1992-08-25(extend_range, init_range): New functions.Tom Wood1-31/+147
(write_units): Add blockage_function, blockage_range_function, max_blockage and max_issue_delay fields to struct function_unit_desc. Drop max_busy_cost field. Write #defines for min/max blockage, issue delay, multiplicity, and simultaneity and for BLOCKAGE_BITS and INSN_QUEUE_SIZE. (main): Compute the new values. From-SVN: r1950
1992-08-14(write_units): Write #defines for the number of function units, the min/max ↵Tom Wood1-4/+50
ready cost and min/max busy delay. (write_units): Write #defines for the number of function units, the min/max ready cost and min/max busy delay. Add max_busy_cost field to struct function_unit_desc. From-SVN: r1844
1992-04-27entered into RCSRichard Stallman1-1/+1
From-SVN: r842
1992-01-17*** empty log message ***Richard Stallman1-1/+1
From-SVN: r202
1991-10-24Initial revisionTom Wood1-0/+251
From-SVN: r47