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
Richard Kenner
c9666c0180
(cpp_lex) New arg skip_evaluation.
...
(cpp_parse_expr): Pass skip_evaluation to cpp_lex.
Abort if cpp_lex returns NAME.
(cpp_lex): Optionally warn about undefined identifiers that evaluate to 0.
From-SVN: r13880
1997-04-13 12:50:58 -04:00
Richard Kenner
7c4033ff87
(parse_number): Invalid integer constants are errors if pedantic.
...
(cpp_lex): Invalid multibyte characters are errors if pedantic.
(cpp_parse_escape): Character constants that do not fit are errors if pedantic.
From-SVN: r13726
1997-03-17 17:08:27 -05:00
Mike Stump
0f41302f47
formatting tweaks
...
From-SVN: r12390
1996-07-03 22:07:53 +00:00
Per Bothner
52529158ea
cppexp.c (cpp_parse_expr): Set HAVE_VALUE flag for unary minus, even if skip_evaluation is true.
...
* cppexp.c (cpp_parse_expr): Set HAVE_VALUE flag for unary
minus, even if skip_evaluation is true.
From-SVN: r11085
1996-01-22 15:40:12 -08:00
Per Bothner
a4a315ef52
cppexp.c (cpp_lex): Do cpp_pop_buffer after CPP_POP so retried cpp_skip_hspace will actually work.
...
* cppexp.c (cpp_lex): Do cpp_pop_buffer after CPP_POP so retried
cpp_skip_hspace will actually work.
* cppexp.c (SKIP_OPERAND): New macro.
(cpp_parse_expr): Suppress evaluation and diagnostics in
unevaluated subexpressions.
From-SVN: r11034
1996-01-16 15:46:59 -08:00
Richard Kenner
ae17bedb18
(cpp_lex): Correctly parse character constants.
...
From-SVN: r10566
1995-11-07 09:58:29 -05:00
Richard Kenner
940d9d638b
Update FSF address.
...
From-SVN: r9959
1995-06-15 07:33:25 -04:00
Per Bothner
1519594d5a
cppexp.c (cpp_reader): Test for '#' (start of assertion) *after* skipping hspace, not before.
...
* cppexp.c (cpp_reader): Test for '#' (start of assertion) *after*
skipping hspace, not before.
From-SVN: r9687
1995-05-15 13:42:04 -07:00
Per Bothner
8f4686fad5
* cppexp.c (parse_number): Cleanup some Cygnus crud for MPW.
...
From-SVN: r9634
1995-05-11 19:18:36 -07:00
Richard Kenner
52112c7c0a
Add declarations of xmalloc and xrealloc.
...
(cpp_parse_expr): Cast args to bcopy to char *.
From-SVN: r9350
1995-04-10 09:22:19 -04:00
Per Bothner
7e1278231a
Merged in earlier cccp.c changes.
...
From-SVN: r9217
1995-03-21 17:05:16 -08:00
Per Bothner
7f2935c734
Initial revision
...
From-SVN: r9191
1995-03-16 13:59:07 -08:00