summaryrefslogtreecommitdiff
path: root/gcc/gcov.c
Commit message (Collapse)AuthorAgeFilesLines
* * flow.c (allocate_for_life_analysis, init_regset_vector):law1998-06-201-0/+1
| | | | | | | | | | | | | | | Remove declaration. * function.h (get_first_block_beg): New declaration. * gbl-ctors.h (__do_global_dtors): Add prototype. * gcov-io.h (__fetch_long): New declaration. (__store_long): Likewise. (__read_long): Likewise. (__write_long): Likewise. * gcov.c (print_usage): New declaration. * Makefile.in (c-iterate.o): Depend on insn-codes.h too. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20631 138bc75d-0d04-0410-961f-82ee72b054a4
* More cutover to system.h:ghazi1998-03-301-24/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.in (cppalloc.o, cpperror.o, cppexp.o, cpphash.o, cpplib.o, cppmain.o, fix-header.o, gcov.o, gen-protos.o, gengenrtl.o, halfpic.o, hash.o, scan-decls.o, scan.o): Depend on system.h. * cpphash.c: Include config.h. * cppalloc.c: Include system.h. Add parameters to various function prototypes. * cpperror.c: Likewise. * cppexp.c: Likewise. * cpphash.c: Likewise. * cpplib.c: Likewise. * cppmain.c: Likewise. * fix-header.c: Likewise. * gcov.c: Likewise. * gen-protos.c: Likewise. * gengenrtl.c: Likewise. * halfpic.c: Likewise. * hash.c: Likewise. * scan-decls.c: Likewise. * scan.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18911 138bc75d-0d04-0410-961f-82ee72b054a4
* * bitmap.c (bitmap_clear): Ensure `inline' is at the beginninglaw1997-12-201-26/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | of the declaration. * c-decl.c (finish_decl): Use parentheses around && within ||. * rtl.c: Include stdlib.h. (read_skip_spaces): Add parentheses around assignments used as truth values. (read_rtx): Initialize list_rtx. * cppexp.c (parse_number): Use || when operands are truth values. * alias.c (find_base_value): Add default case. (memrefs_conflict): Likewise. * combine.c (sets_function_arg_p): Likewise. * genemit.c (gen_exp): Likewise. * local-alloc.c (contains_replace_regs): Likewise. * rtlanal.c (jmp_uses_reg_or_mem): Likewise. * fold-const.c (fold_convert): Use "&&" for truth values. (fold): Add default case. * sdbout.c (sdbout_field_types): Fix typo in declaration. (sdbout_one_type): Add default case. * alpha.c (alpha_sa_mask): Prototype only if OPEN_VMS. (some_operand): Add default case. (input_operand): Likewise. (signed_comparison_operator): Likewise. (divmod_operator): Likewise. (alpha_set_memflags_1): Likewise. * reload1.c (reload_cse_simplify_operands): Ensure function always returns a value. * scan-decls.c (scan_decls): Likewise. * c-lex.c (skip_white_space): Fix typo in declaraion. * c-typeck.c (comp_target_types): Add parentheses around assignment used as truth value. (print_spelling): Likewise. (constructor_implicit, constructor_result): Remove unused variables. * collect2.c (scan_library): Protect prototype with #ifdef SCAN_LIBRARIES. * emit-rtl.c (find_line_note): Fix typo in declaration. * final.c (asm_insn_count): Protect prototype with #ifdef HAVE_ATTR_length. * flow.c (find_auto_inc): Protect prototype with #ifdef AUTO_INC_DEC. (try_pre_increment_1, try_pre_increment): Likewise. * regclass.c (auto_inc_dec_reg_p): Protect prototype with #ifdef FORBIDDEN_INC_DEC_CLASSES. Make return type explicit. * gcov-io.h (__store_long, __write_long, __read_long): Fix unsigned/signed comparisons. * gcov.c (read_files): Remove unused "first_type" variable. (scan _for_source_files): Initialize s_ptr. (function_summary): Eliminate "%lf" formatting, use %ld for longs. (output_data): Initialize branch_probs and last_line_num. Eliminate "%lf" formatting, use "%ld" for longs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17158 138bc75d-0d04-0410-961f-82ee72b054a4
* reformat a little to match GNU coding standards.mrs1997-05-061-4/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14024 138bc75d-0d04-0410-961f-82ee72b054a4
* Use symbolic codes for exit.kenner1997-04-201-3/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13938 138bc75d-0d04-0410-961f-82ee72b054a4
* (print_usage, open_files): Use FATAL_EXIT_CODE.kenner1997-04-131-4/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13884 138bc75d-0d04-0410-961f-82ee72b054a4
* Initial revisiondje1997-03-281-0/+1380
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13824 138bc75d-0d04-0410-961f-82ee72b054a4