Commit Graph

13 Commits

Author SHA1 Message Date
Kaveh R. Ghazi
1d300e19b6 bitmap.c (bitmap_clear): Ensure `inline' is at the beginning of the declaration.
* bitmap.c (bitmap_clear): Ensure `inline' is at the beginning
        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.

Co-Authored-By: Jeffrey A Law <law@cygnus.com>

From-SVN: r17158
1997-12-20 04:31:54 -07:00
Mike Stump
0f41302f47 formatting tweaks
From-SVN: r12390
1996-07-03 22:07:53 +00:00
Richard Kenner
7b15e61e6d (scan_decls): Fix typo when resetting PREV_ID_START.
From-SVN: r10008
1995-06-19 14:19:07 -04:00
Richard Kenner
95d8369827 Update header.
From-SVN: r9965
1995-06-15 08:05:01 -04:00
Richard Kenner
e99215a3b5 Update FSF address.
From-SVN: r9964
1995-06-15 08:04:37 -04:00
Richard Kenner
7a208c0b67 (scan_decls): Handle declarations with multiple comma-separated
declarators.

From-SVN: r9912
1995-06-09 17:28:52 -04:00
Per Bothner
b3ca463cda Re-write fixproto/fix-header/etc to use cpplib.
From-SVN: r9316
1995-04-05 14:16:26 -07:00
Richard Stallman
db025de86e (scan_decls): After seeing an extern variable declaration...
(scan_decls):  After seeing an extern variable
declaration, goto new_statement to read a new token, rather
than going to handle_statement (which uses the current token).

From-SVN: r6037
1993-11-08 03:09:05 +00:00
Richard Kenner
ffde73b0c9 Include hconfig.h.
Remove unused #ifdef OLD.

From-SVN: r5912
1993-10-26 21:53:30 -04:00
Richard Stallman
e174accc45 (scan_decls): When reading parameter list,
handle whitespace differently, and keep track of line number.

From-SVN: r5890
1993-10-26 02:56:57 +00:00
Per Bothner
ba7ff9f9fe Re-write to be a subroutines of patch-header.
From-SVN: r5765
1993-10-12 16:01:18 -07:00
Per Bothner
e9cd0b2518 Merge. See ChangeLog.
From-SVN: r5125
1993-08-09 18:59:37 -07:00
Per Bothner
7936052fe6 Initial revision
From-SVN: r4986
1993-07-25 17:11:20 -07:00