aboutsummaryrefslogtreecommitdiff
path: root/gcc/scan-decls.c
AgeCommit message (Collapse)AuthorFilesLines
1997-12-20bitmap.c (bitmap_clear): Ensure `inline' is at the beginning of the declaration.Kaveh R. Ghazi1-6/+8
* 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
1996-07-03formatting tweaksMike Stump1-6/+6
From-SVN: r12390
1995-06-19(scan_decls): Fix typo when resetting PREV_ID_START.Richard Kenner1-1/+1
From-SVN: r10008
1995-06-15Update header.Richard Kenner1-2/+1
From-SVN: r9965
1995-06-15Update FSF address.Richard Kenner1-1/+2
From-SVN: r9964
1995-06-09(scan_decls): Handle declarations with multiple comma-separatedRichard Kenner1-33/+84
declarators. From-SVN: r9912
1995-04-05Re-write fixproto/fix-header/etc to use cpplib.Per Bothner1-89/+88
From-SVN: r9316
1993-11-08(scan_decls): After seeing an extern variable declaration...Richard Stallman1-1/+1
(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-10-26Include hconfig.h.Richard Kenner1-3/+1
Remove unused #ifdef OLD. From-SVN: r5912
1993-10-26(scan_decls): When reading parameter list,Richard Stallman1-19/+27
handle whitespace differently, and keep track of line number. From-SVN: r5890
1993-10-12Re-write to be a subroutines of patch-header.Per Bothner1-34/+28
From-SVN: r5765
1993-08-09Merge. See ChangeLog.Per Bothner1-8/+40
From-SVN: r5125
1993-07-25Initial revisionPer Bothner1-0/+170
From-SVN: r4986