Age | Commit message (Collapse) | Author | Files | Lines |
|
* 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
|
|
From-SVN: r16987
|
|
From-SVN: r16278
|
|
in fact packed when...
* c-decl.c (start_struct): Ensure that structs with forward
declarations are in fact packed when -fpack-struct is given.
* stor-layout.c (layout_record): Ignore STRUCTURE_SIZE_BOUNDARY if
we are packing a structure. This allows a structure with only
bytes to be aligned on a byte boundary and have no padding on a
m68k.
From-SVN: r15939
|
|
* c-decl.c (init_decl_processing): Add __builtin_dwarf_reg_size.
* tree.h (built_in_function): Likewise.
* expr.c (expand_builtin): Likewise.
* except.h: Likewise.
* dwarf2out.c (expand_builtin_dwarf_reg_size): New fn.
* libgcc2.c (copy_reg): New fn.
(__throw): Use it.
From-SVN: r15750
|
|
* c-typeck.c (build_binary_op): Warn about comparing signed vs
unsigned if -W is specified and -Wno-sign-compare is not.
* c-decl.c (warn_sign_compare): Initialize to -1.
(c_decode_option): -Wall no longer implies -Wsign-compare.
From-SVN: r15739
|
|
From-SVN: r15255
|
|
* pa.md (reload_peepholes): Make sure operand is a REG before
examining REGNO. Allow general registers too.
Fixes sporatic c-torture failure.
Remove last change to fold-const.c and c-decl.c
From-SVN: r15000
|
|
issue an error.
* c-decl.c (grokdeclarator): If array index or size calculations
overflow, issue an error.
* fold-const.c (int_const_binop): New static function.
(const_binop, size_binop): Call it.
Brought over from the fsf.
From-SVN: r14967
|
|
From-SVN: r14764
|
|
From-SVN: r14638
|
|
From-SVN: r14609
|
|
function and not new definition.
* c-decl.c (duplicate_decls): Set DECL_ABSTRACT_ORIGIN to olddecl
if inline function and not new definition.
From-SVN: r14480
|
|
From-SVN: r14197
|
|
From-SVN: r13979
|
|
From-SVN: r13875
|
|
From-SVN: r13802
|
|
From-SVN: r13581
|
|
From-SVN: r13537
|
|
(c_decode_option): Add -fhosted, -ffreestanding, and -Wmain.
From-SVN: r13517
|
|
not set.
From-SVN: r13224
|
|
From-SVN: r13209
|
|
From-SVN: r13208
|
|
was already generated by -Wreturn-type.
From-SVN: r13135
|
|
From-SVN: r13130
|
|
(c_decode_option): -fdollars-in-identifiers is now independent of -ansi,
of -traditional, and of DOLLARS_IN_IDENTIFIERS.
From-SVN: r12930
|
|
From-SVN: r12853
|
|
(finish_struct): Check PCC_BITFIELD_TYPE_MATTERS value. arbitrary
expression.
From-SVN: r12828
|
|
implicit external vs.
(pushdecl): Check new declaration actually conflicts before warning
about implicit external vs. static declarations.
From-SVN: r12772
|
|
members.
From-SVN: r12612
|
|
From-SVN: r12390
|
|
builtin functions.
From-SVN: r12362
|
|
TYPE_DECL.
From-SVN: r12178
|
|
From-SVN: r12158
|
|
(start_enum): Likewise but from flag_short_enums.
(finish_enum): Test TYPE_PACKED, not flag_short_enums.
From-SVN: r12140
|
|
From-SVN: r12041
|
|
From-SVN: r11940
|
|
(pushdecl): Call it for function body blocks.
From-SVN: r11828
|
|
From-SVN: r11771
|
|
From-SVN: r11674
|
|
to new.
From-SVN: r11439
|
|
From-SVN: r11298
|
|
to...
(finish_decl): TREE_ASM_WRITTEN says if duplicate_decls modified
declaration to match an outside file scope declaration.
From-SVN: r11264
|
|
* c-decl.c (pushdecl): Set DECL_ORIGINAL_TYPE for typedef origin.
From-SVN: r11215
|
|
From-SVN: r11161
|
|
__builtin_longjmp.
From-SVN: r11113
|
|
extern.
(finish_incomplete_decl): Warn if completing an array that wasn't
declared extern. Simplify test for whether completion is needed.
From-SVN: r11003
|
|
values of that type.
From-SVN: r10928
|
|
From-SVN: r10857
|
|
From-SVN: r10673
|