1. 23 Jul, 2000 1 commit
    • law's avatar
      · f8cb9479
      law authored
      	* bitmap.c (debug_bitmap_file): Cast pointers to PTR for printing
      	with %p.
      	* ggc-page.c (debug_print_page_list, alloc_page, free_page,
      	ggc_alloc): Likewise.
      	* bb-reorder.c (dump_scope_forest_1): Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35201 138bc75d-0d04-0410-961f-82ee72b054a4
      f8cb9479
  2. 19 May, 2000 1 commit
    • kenner's avatar
      * cse.c (cse_basic_block): Only call find_reg_note if REG_NOTES not 0. · d6cb6164
      kenner authored
      	* reload.c (find_equiv_reg): Likewise.
      	* alias.c (init_alias_analysis): Likewise.
      	Only call prologue_epilogue_contains on insns.
      	* basic-block.h (REG_SET_TO_HARD_REG_SET): Call new function.
      	* bb-reorder.c (hard-reg-set.h): Include earlier.
      	* haifa-sched.c (hard-reg-set.h): Likewise.
      	* ifcvt.c (hard-reg-set.h): Likewise.
      	* local-alloc.c (hard-reg-set.h): Likewise.
      	* loop.c (hard-reg-set.h): Likewise.
      	* predict.c (hard-reg-set.h): Likewise.
      	* regrename.c (hard-reg-set.h): Likewise.
      	* flow.c (hard-reg-set.h): Likewise.
      	(reg_set_to_hard_reg_set): New function.
      	* bitmap.c (regs.h, basic-block.h): No longer include.
      	(bitmap.h): Now include.
      	* conflict.c (hard-reg-set.h): Include.
      	* profile.c (hard-reg-set.h): Likewise.
      	* print-rtl.c (hard-reg-set.h): Likewise.
      	* sbitmap.c (hard-reg-set.h): Likewise.
      	* toplev.c (hard-reg-set.h): Likewise.
      	* unroll.c (hard-reg-set.h, basic-block.h): Likewise.
      	* hard-reg-set.h (reg_names): Now constant.
      	* regs.h (reg_names): Likewise.
      	* regclass.c (reg_names): Likewise.
      	* loop.h (basic-block.h): No longer include.
      	(bitmap.h): Now include.
      	* reload1.c (order_regs_for_reload): Avoid loop over reg sets.
      	* Makefile.in (LOOP_H, sbitmap.o, profile.o): Reflect above changes.
      	(toplev.o, print-rtl.o, conflict.o, unroll.o, bitmap.o): Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@34039 138bc75d-0d04-0410-961f-82ee72b054a4
      d6cb6164
  3. 19 Feb, 2000 1 commit
    • kenner's avatar
      * bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned. · 29768226
      kenner authored
      	* cppinit.c (new_pending_define): Add cast to avoid warning.
      	* expmed.c (extract_bit_field): Likewise.
      	* flow.c (enum reorder_skip_type): New type.
      	(skip_insns_between_blcok): New it.
      	Rework to avoid warning about possibly undefined variable.
      	* function.c (assign_parms): Make thisparm_boundary unsigned.
      	* genrecog.c (write_switch): Cast XWINT result to int.
      	* lcm.c: Many static fcns and vars now #ifdef OPTIMIZE_MODE_SWITCHING.
      	* mips-tfile.c (init_file): Make two versions of FDR intializer:
      	one for MIPS and one for Alpha.
      	(get_tag, copy_object): Add casts to avoid warnings.
      	* optabs.c (init_one_libfunc): Cast NAME to (char *).
      	* reload.c (find_reloads): Make TYPE enum reload_type.
      	* sbitmap.c (dump_sbitmap): J is unsigned; don't use "1L".
      	* unroll.c (unroll_loop): Initialize UNROLL_NUMBER.
      	* varasm.c (compare_constant_1): Add cast to avoid warning.
      	* config/alpha/alpha.c (alpha_emit_xfloating_libcall): Cast FUNC
      	to (char *).
      	(alpha_expand_unaligned_load, alpha_expand_unaligned_store):
       	Cast switch operand of size to int.
      	(alpha_expand_epilogue): Always initialize fp_offset and sa_reg.
      	* config/alpha/alpha.h (INITIAL_ELIMINATION_OFFSET): Add abort
      	in unhandled case.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32060 138bc75d-0d04-0410-961f-82ee72b054a4
      29768226
  4. 17 Feb, 2000 1 commit
  5. 11 Jan, 2000 1 commit
  6. 04 Oct, 1999 1 commit
  7. 03 Oct, 1999 2 commits
  8. 20 Sep, 1999 1 commit
  9. 07 Sep, 1999 1 commit
  10. 18 Feb, 1999 1 commit
    • ghazi's avatar
      * bitmap.c (bitmap_print): Qualify a char* with the `const' keyword. · ba1d8f67
      ghazi authored
              * bitmap.h (bitmap_print): Likewise.
              * c-decl.c (builtin_function, grokdeclarator, grokfield): Likewise.
              * c-lang.c (build_objc_string): Likewise.
              * c-lex.c (yyerror, extend_token_buffer): Likewise.  Don't include
              limits.h or ctype.h.  Remove unused variable `p'.
              * c-lex.h (yyerror): Qualify a char* with the `const' keyword.
              * c-pragma.c (handle_pragma_token): Likewise.
              * c-pragma.h (handle_pragma_token): Likewise.
              * c-tree.h (build_objc_string, builtin_function, grokfield,
              build_indirect_ref, lvalue_or_else, readonly_warning, error_init,
              pedwarn_init): Likewise.
              * c-typeck.c (convert_for_assignment, warn_for_assignment,
              push_string, warning_init, incomplete_type_error,
              build_indirect_ref, lvalue_or_else, readonly_warning,
              build_c_cast, spelling, push_member_name, print_spelling,
              error_init, pedwarn_init, start_init): Likewise.
              * objc/objc-act.c (build_objc_string): Likewise.
              * print-tree.c (print_node_brief, print_node): Likewise.
              * tree.h (lvalue_or_else, print_node, print_node_brief): Likewise.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25296 138bc75d-0d04-0410-961f-82ee72b054a4
      ba1d8f67
  11. 08 Apr, 1998 1 commit
  12. 20 Mar, 1998 1 commit
    • ghazi's avatar
      Major cutover to using system.h: · 405711de
      ghazi authored
              * Makefile.in (alias.o, bitmap.o, c-aux-info.o, c-common.o,
              c-decl.o, c-iterate.o, c-lang.o, c-lex.o, c-pragma.o, c-typeck.o,
              caller-save.o, calls.o, collect2.o, combine.o, cse.o, dbxout.o,
              dwarf2out.o, dwarfout.o, emit-rtl.o, except.o, explow.o, expmed.o,
              expr.o, final.o, flow.o, function.o, getpwd.o, global.o,
              integrate.o, jump.o, local-alloc.o, loop.o, optabs.o, pexecute.o,
              prefix.o, print-rtl.o, print-tree.o, profile.o, real.o, recog.o,
              reg-stack.o, regclass.o, regmove.o, reload.o, reload1.o, reorg.o,
              rtl.o, rtlanal.o, sdbout.o, stmt.o, stor-layout.o, stupid.o,
              tlink.o, toplev.o, tree.o, unroll.o, varasm.o, xcoffout.o): Depend
              on system.h.
              * alias.c, bitmap.c, c-aux-info.c, c-common.c, c-decl.c,
              c-iterate.c, c-lang.c, c-lex.c, c-pragma.c, c-typeck.c,
              caller-save.c, calls.c, collect2.c, combine.c, cse.c, dbxout.c,
              dwarf2out.c, dwarfout.c, emit-rtl.c, except.c, explow.c, expmed.c,
              expr.c, final.c, flow.c, function.c, gcc.c, getpwd.c, global.c,
              integrate.c, jump.c, local-alloc.c, loop.c, optabs.c, pexecute.c,
              prefix.c, print-rtl.c, print-tree.c, profile.c, real.c, recog.c,
              reg-stack.c, regclass.c, regmove.c, reload.c, reload1.c, reorg.c,
              rtl.c, rtlanal.c, sched.c, sdbout.c, stmt.c, stor-layout.c,
              stupid.c, tlink.c, toplev.c, tree.c, unroll.c, varasm.c,
              xcoffout.c: Include system.h.  Organize include ordering so
              that stdarg/varargs comes before other system headers.  Remove
              spurious casts of functions assured of a prototype in system.h.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18726 138bc75d-0d04-0410-961f-82ee72b054a4
      405711de
  13. 12 Mar, 1998 1 commit
    • manfred's avatar
      d · a02dfde2
      manfred authored
      In gcc/:
      	* bitmap.c (bitmap_element_allocate): Remove unused parameter;
      	change callers accordingly.
      	* cplus-dem.c (arm_special): Remove unused parameter work in prototype
      	and definition; change all callers accordingly.
      	* except.c (init_eh): Avoid assignment of unused return value of
      	build_pointer_type; cast it to void, instead, and remove unused
      	variable type.
      	* gcc.c (lang_specific_driver): Define prototype only #ifdef
      	LANG_SPECIFIC_DRIVER.
      	(temp_names): Define only #ifdef MKTEMP_EACH_FILE.
      	* genoutput.c (output_epilogue): Initialize next_name to 0.
      	* real.c (efrexp): #if 0 prototype and function definition.
      	(eremain): Likewise.
      	(uditoe): Likewise.
      	(ditoe): Likewise.
      	(etoudi): Likewise.
      	(etodi): Likewise.
      	(esqrt): Likewise.
      	* reload.c (push_secondary_reload): Define prototype only
      	#ifdef HAVE_SECONDARY_RELOADS.
      	* varasm.c (assemble_static_space): Define rounded only
      	#ifndef ASM_OUTPUT_ALIGNED_LOCAL.
      In gcc/cp/:
      	* call.c (default_parm_conversions): Remove prototype definition.
      	(build_method_call): Remove unused variable result.
      	* cvt.c (ocp_convert): Remove unused variable conversion.
      	* decl2.c (ambiguous_decl): Add explicit parameter definition for name.
      	* except.c (do_unwind): #if 0 definition of unused variables fcall
      	and next_pc.
      	* expr.c (extract_scalar_init): #if 0 prototype and function definition.
      	* init.c (expand_aggr_init_1): Remove unused variable init_type.
      	(build_new_1): Remove unused variable t.
      	* pt.c (instantiate_class_template): Remove unused variable newtag;
      	cast called function return value to void.
      	(do_decl_instantiation): Remove unused variables name and fn.
      	* tree.c (get_type_decl): Add default return to shut up compiler from
      	complaining control reaches end of non-void function.
      	* typeck.c (build_x_conditional_expr): Remove unused variable rval.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18498 138bc75d-0d04-0410-961f-82ee72b054a4
      a02dfde2
  14. 14 Feb, 1998 1 commit
    • law's avatar
      * varasm.c (output_constant_pool): Bring back 'done' label inside · 7bd36830
      law authored
              an appropriate #ifdef.
              * bitmap.c (bitmap_element_allocate): Wrap variable 'i' in an
              appropriate #ifdef.
              (bitmap_copy, bitmap_operation): Likewise.
              * combine.c (combinable_i3pat): Similarly for 'src'.
              * function.c (fixup_var_refs_1): Similarly for 'outerdest'.
              (locate_and_pad_parm): Similarly for 'reg_parm_stack_space'.
              * regclass.c (copy_cost): Similarly for 'secondary_class'.
              * reload.c (make_memloc): Simliarly for 'i'.
              (find_reloads_address_1): Similarly for 'link'.
              * reload1.c (reload): Similarly for 'previous_frame_pointer_needed'.
              (emit_reload_insns): Similarly for 'second_reloadreg'.
              * unroll.c (iteration_info): Similarly for 'v'.
              * caller-save.c (insert_save_restore): Remove unused variable 'i'.
              * calls.c (expand_call): Similarly for 'i'.
              (emit_library_call, emit_library_call_value): Similarly for 'mode'.
              * fold-const.c (strip_compund_expr): Similarly for 'type'.
              * function.c (fixup_var_refs_1): Similarly  for 'width'.
              (fixup_memory_subreg): Similarly for 'saved'.
              (locate_and_pad_parm): Similarly for 'boundary_in_bytes.'
              (setjmp_protect): Similarly for 'sub'.
              (thread_prologue_and_epilogue_insns): Similarly for 'insn'.
              * loop.c (record_giv): Similarly for 'p'.
              (combine_givs): Similarly for 'temp_iv'.
              (indirect_jump_in_function_p): Similarly for 'is_indirect_jump'.
              * recog.c (validate_replace_rtx_1): Similarly for 'width'.
              * tree.c (get_set_constructor_bytes): Similarly for 'vals'.
              * unroll.c (unroll_loop): Similarly for 'copy'.
              (iteration_info): Similarly for 'b'.
              * varasm.c (assemble_string): Similarly for 'i'.
              * i386.h (LEGITIMIZE_ADDRESS): Similarly for 'orig_x'.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17973 138bc75d-0d04-0410-961f-82ee72b054a4
      7bd36830
  15. 08 Feb, 1998 1 commit
  16. 20 Dec, 1997 1 commit
    • law's avatar
      * bitmap.c (bitmap_clear): Ensure `inline' is at the beginning · 99c14947
      law authored
              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
      99c14947
  17. 02 Nov, 1997 1 commit
  18. 04 Sep, 1997 2 commits
  19. 25 Jul, 1997 1 commit
  20. 14 Jul, 1997 1 commit