aboutsummaryrefslogtreecommitdiff
path: root/gcc/bitmap.h
AgeCommit message (Collapse)Author
2005-04-02This commit was manufactured by cvs2svn to create tagapple/gcc-5003no-author
'apple-gcc-5003'. git-svn-id: https://gcc.gnu.org/svn/gcc/tags/apple-gcc-5003@97467 138bc75d-0d04-0410-961f-82ee72b054a4
2005-02-15 * bitmap.c, bitmap.h, lambda-code.c, tree-dfa.c, tree-dump.c,Kazu Hirata
tree-dump.h, tree-ssa-loop-manip.c, value-prof.c, config/mips/mips.md, config/rs6000/aix.h, config/rs6000/beos.h, config/rs6000/sysv4.h: Update copyright. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@95064 138bc75d-0d04-0410-961f-82ee72b054a4
2005-02-14 * bitmap.h (bitmap_and_compl_into): Return bool.Nathan Sidwell
* bitmap.c (bitmap_and_compl_into): Return changed flag. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@95004 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-262004-11-25 Andrew Pinski <pinskia@physics.uc.edu>Andrew Pinski
* bitmap.h (BITMAP_XMALLOC): Use BITMAP_ALLOC and not BITMAP_OBSTACK_ALLOC. (BITMAP_XFREE): Use BITMAP_FREE and not BITMAP_OBSTACK_FREE. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@91309 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-25 * bitmap.c (bitmap_malloc_alloc, bitmap_malloc_free): Remove.Nathan Sidwell
* bitmap.h (bitmap_malloc_alloc, bitmap_malloc_free): Remove. (BITMAP_XMALLOC): Forward to BITMAP_OBSTACK_ALLOC. (BITMAP_XFREE): Forward to BITMAP_OBSTACK_FREE. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@91306 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-25 * basic-block.h (OBSTACK_ALLOC_REG_SET): Adjust.Nathan Sidwell
(FREE_REG_SET): Adjust. * bitmap.c (bitmap_obstack_free): Cope with NULL bitmap. * bitmap.h (BITMAP_OBSTACK_ALLOC): Rename to ... (BITMAP_ALLOC): ... here. (BITMAP_OBSTACK_FREE): Rename to ... (BITMAP_FREE): Don't check for NULL bitmap here. * tree-ssa-pre.c (value_insert_into_set_bitmap, bitmap_set_new): Use new names. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@91281 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-22 * bitmap.h (struct bitmap_obstack): New obstack type.Nathan Sidwell
(struct bitmap_head_def): Replace using_obstack with obstack pointer. (bitmap_default_obstack): New. (bitmap_initialize): Make inline, does not do allocation. (bitmap_release_memory): Remove. (bitmap_obstack_initialize, bitmap_obstack_release): Declare. (bitmap_obstack_alloc, bitmap_malloc_alloc, bitmap_gc_alloc, bitmap_obstack_free, bitmap_malloc_free): Declare. (BITMAP_OBSTACK_ALLOC, BITMAP_GGC_ALLOC, BITMAP_XMALLOC): Adjust. (BITMAP_FREE): Replace with ... (BITMAP_OBSTACK_FREE): ... this. (BITMAP_XFREE): Adjust. (BITMAP_INIT_ONCE): Remove. * bitmap.c (bitmap_obstack, bitmap_obstack_init, bitmap_free: Remove. (bitmap_default_obstack): New. (bitmap_elem_to_freelist): Adjust. (bitmap_element_allocate): Adjust. Break initialization into ... (bitmap_obstack_initialize): ... here. (bitmap_release_memory): Replace with ... (bitmap_obstack_release): ... this. (bitmap_obstack_alloc, bitmap_malloc_alloc, bitmap_gc_alloc, bitmap_obstack_free, bitmap_malloc_free): New. (bitmap_ior_and_compl, bitmap_ior_and_compl_into): Use bitmap_initialize. (bitmap_initialize): Move to bitmap.h. * gengtype.c (open_base_files): Add obstack.h to ifiles. * Makefile.in (BASIC_BLOCK_H, REGS_H): Add obstack.h. * basic-block.h (INIT_REG_SET): Allocate from reg_obstack. (INITIALIZE_REG_SET): Remove. (FREE_REG_SET): Use BITMAP_OBSTACK_FREE. (INIT_ONCE_REG_SET, MAX_REGNO_REG_SET): Remove. (flow_obstack): Do not declare. (reg_obstack): Declare. * regs.h: Include obstack.h. * tree-optimize.c (tree_rest_of_compilation): Initialize and release bitmap obstack here. * bb-reorder.c: #include regs, not basic-block. (fix_crossing_conditional_branches): Allocate regsets from reg_obstack. * bt-load.c: Do not inlude bitmap.h, sbitmap.h, basic-block.h or obstack.h. * caller-save.c: Include regs.h earlier. * cfg.c: Do not include basic-block.h or obstack.h. (reg_obstack): Define. * cfganal.c: Include obstack.h * cfgcleanyp.c: Do not include basic-block.h. Include regs.h earlier. * cfglayout.c: Do not include obstack.h. (flow_obstack): Remove declaration. (cfg_layout_duplicate_bb): Use reg_obstack. * cfgloop.c, cfgloopanal.c, cfgloopmanip.c: Include obstack.h. * cfgrtl.c (rtl_split_block): Use reg_obstack. (force_nonfallthru_and_redirect, rtl_split_edge): Likewise. (safe_insert_insn_on_edge): Use OBSTACK_ALLOC_REG_SET, adjust. (cfg_layout_split_edge): Use reg_obstack. * cse.c: Include regs.h earlier. * ddg.c: Do not include basic-block.h. * dominance.c: Inlude obstack.h. * flow.c (update_life_info): Use OBSTACK_ALLOC_REG_SET, adjust. (calculate_global_regs_live): Likewise. (allocate_bb_life_data): Use reg_obstack. (init_propagate_block_info): Use OBSTACK_ALLOC_REGSET. * global.c: Do not include basic-block.h. (build_insn_chain): Use OBSTACK_ALLOC_REG_SET, adjust. * graph.c: Include obstack.h. * haifa-sched.c: Do not include basic-block.h. * ifcvt.c: Use OBSTACK_ALLOC_REG_SET, adjust. * local-alloc.c: Do not include basic-block.h. * loop-init.c, loop-invariant.c: Include obstack.h. * loop-iv.c: Likewise. (simplify_using_initial_values): Use OBSTACK_ALLOC_REG_SET, adjust. * loop-unroll.c, loop-unswitch.c: Inlude obstack.h. * modulo-sched.c: Do not include basic-block.h. * passes.c (rest_of_handle_final): Do not call regset_release_memory. * ra-debug.c: Include regs.h earlier. Do not include basic-block.h. * recog.c (peephole2_optimize): Use OBSTACK_ALLOC_REG_SET, adjust. * regclass.c (init_reg_sets): Do not call INIT_ONCE_REG_SET. (allocate_reg_info): Do not call MAX_REGNO_REG_SET. (regset_release_memory): Remove. * resource.c: Do not include basic-block.h. * rtlanal.c: Do not include basic-block.h. * sbitmap.c: Include obstack.h. * sched-deps.c: Do not include basic-block.h. (reg_pending_sets_head, reg_pending_clobbers_head, reg_pending_uses_head): Remove. (init_deps_global): Use OBSTACK_ALLOC_REG_SET. * sched-ebb.c: Do not include basic-block.h. * sched-rgn.c: Likewise. * tree-if-conv.c (get_loop_body_in_if_conv_order): Use BITMAP_XFREE. * tree-outof-ssa.c (perform_edge_inserts): Use BITMAP_XFREE. * tree-sra.c (decide_instantiations): Adjust bitmap initialization. * tree-ssa-dce.c: Include obstack.h. * tree-ssa-pre.c (grand_bitmap_obstack): Make a bitmap_obstack. (value_insert_into_set_bitmap): Remove useless bitmap_clear. (bitmap_set_new): Likewise. (init_pre): Initialize bitmap obstack. (fini_pre): Release bitmap obstack. * tree-ssanames.c (ssa_names_to_rewrite): Make static. (marked_for_rewrite_p): ssa_names_to_rewrite is never NULL. (mark_for_rewrite, unmark_for_rewrite): Likewise. (marked_ssa_names): Likewise. (init_ssanames): Use BITMAP_XMALLOC. (fini_ssanames): Use BITMAP_XFREE. * web.c: Include obstack.h git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@91009 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-13 * bitmap.c, bitmap.h, expmed.c, tree-cfg.c: Fix commentKazu Hirata
formatting. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@90595 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-11 * bitmap.h (nBITMAP_WORD_BITS): Remove.Nathan Sidwell
(BITMAP_WORD_BITS): Force unsigned by use of 1u. (BITMAP_ELEMENT_WORDS, BITMAP_ELEMENT_ALL_BITS): Remove unnecessary casts. (bitmap_first_set_bit): Return unsigned, use ctzl. (bitmap_last_set_bit): Remove. * bitmap.c (bitmap_element_zerop, bitmap_copy): Make iterator unsigned. (bitmap_first_set_bit): Return unsigned, require non-empty bitmap, remove special case code for two word elements. (bitmap_last_set_bit): Remove. * ra-build.c (livethrough_conflicts_bb): Replace unnecessary use of bitmap_first_set_bit with bitmap_empty_p. * tree-outof-ssa.c (analyze_edges_for_bb): Likewise. * tree-ssa-pre.c (bitmap_print_value): Use simple flag rather than bitmap_last_bit_set. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@90478 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-05 * bitmap.h (enum bitmap_bits): Remove.Nathan Sidwell
(bitmap_operation): Remove. (bitmap_and, bitmap_and_into, bitmap_and_compl, bitmap_and_compl_into, bitmap_ior, bitmap_ior_into, bitmap_xor, bitmap_xor_into): Prototype. * bitmap.c (bitmap_elt_insert_after, bitmap_elt_clear_from): New. (bitmap_operation): Remove. (bitmap_and, bitmap_and_into, bitmap_and_compl, bitmap_and_compl_into, bitmap_ior, bitmap_ior_into, bitmap_xor, bitmap_xor_into): New. (bitmap_ior_and_compl, bitmap_ior_and_compl_into): Adjust. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@90121 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-04 * bitmap.h: Fix a comment typo. Follow spelling conventions.Kazu Hirata
* tree-vectorizer.c: Fix a comment typo. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@90062 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-04 * bitmap.h (bitmap_iterator): Remove word_bit and bitNathan Sidwell
fields. Rename others. (bmp_iter_common_next_1, bmp_iter_single_next_1, bmp_iter_single_init, bmp_iter_end_p, bmp_iter_single_next, bmp_iter_and_not_next_1, bmp_iter_and_not_init, bmp_iter_and_not_next, bmp_iter_and_next_1, bmp_iter_and_init, bmp_iter_and_next): Remove. (bmp_iter_set_init, bmp_iter_and_init, bmp_iter_and_compl_init, bmp_iter_next, bmp_iter_set, bmp_iter_and, bmp_iter_and_compl): New. (EXECUTE_IF_SET_IN_BITMAP, EXECUTE_IF_AND_IN_BITMAP, EXECUTE_IF_AND_COMPL_IN_BITMAP): Adjust. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@90055 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-04 * bitmap.h (bitmap_a_or_b, bitmap_a_and_b): Remove.Nathan Sidwell
* df.c (dataflow_set_a_op_b): Use bitmap_and, bitmap_ior, bitmap_and_into, bitmap_ior_into as appropriate. * except.c (remove_eh_handler): Likewise. * global.c (modify_bb_reg_pav, make_accurate_live_analysis): Likewise. * tree-dfa.c (mark_new_vars_to_rename): Likewise. * tree-ssa-alias.c (merge_pointed_to_info): Likewise. * tree-ssa-live.h (live_merge_and_clear): Likewise. * tree-ssa-loop-ivopts.c (find_best_candidate, try_add_cand_for): Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@90054 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-03 * bitmap.h, dbxout.c, tree-mudflap.c: Fix comment formatting.Kazu Hirata
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@90019 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-02 * bitmap.h (bitmap_and, bitmap_and_into, bitmap_and_compl,Nathan Sidwell
bitmap_and_compl_into, bitmap_ior, bitmap_iot_into, bitmap_ior_compl, bitmap_xor, bitmap_xor_into): Produce void. (bitmap_ior_and_compl_into): Produce bool. (bitmap_union_of_diff): Rename to ... (bitmap_ior_and_compl): ... here. Produce bool. * bitmap.c (bitmap_ior_and_compl_into): Return bool. Use bitmap_operation directly. (bitmap_union_of_diff): Rename to ... (bitmap_ior_and_compl): ... here. Return bool, use bitmap_operation directly. * df.c (df_rd_transfer_function): Use bitmap_ior_and_compl. (df_ru_transfer_function, df_lr_transfer_function): Likewise. * global.c (modify_bb_reg_pav): Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@89982 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-02 * bitmap.h (bitmap_equal_p): Return bool.Nathan Sidwell
(bitmap_intersect_p, bitmap_intersect_compl_p): Declare. * bitmap.c (bitmap_equal_p): Return bool. Compare directly. (bitmap_intersect_p, bitmap_intersect_compl_p): New. * flow.c (calculate_global_regs_live): Use bitmap_intersect_p and bitmap_intersect_compl_p. * ifcvt (dead_or_predicable): Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@89981 138bc75d-0d04-0410-961f-82ee72b054a4
2004-11-012004-11-01 Andrew Pinski <pinskia@physics.uc.edu>Andrew Pinski
PR bootstrap/18232 * bitmap.h (bmp_iter_end_p): Take a const pointer instead of a struct. (EXECUTE_IF_SET_IN_BITMAP): Update call to bmp_iter_end_p. (EXECUTE_IF_AND_COMPL_IN_BITMAP): Likewise. (EXECUTE_IF_AND_IN_BITMAP): Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@89961 138bc75d-0d04-0410-961f-82ee72b054a4
2004-10-29 * bitmap.h (bitmap_empty_p): New.Nathan Sidwell
(bitmap_and, bitmap_and_into, bitmap_and_compl, bitmap_and_compl_into, bitmap_ior, bitmap_ior_into, bitmap_ior_compl, bitmap_xor, bitmap_xor_into): New bitmap operation macros. (bitmap_ior_and_compl): Rename to ... (bitmap_ior_and_compl_into): ... here. * bitmap.c (bitmap_equal_p): Use bitmap_xor. (bitmap_ior_and_compl): Rename to ... (bitmap_ior_and_compl_into): ... here. Adjust. Return changed flag. (bitmap_union_of_diff): Use renamed bitmap functions. * basic-block.h (AND_REG_SET, AND_COMPL_REG_SET, IOR_REG_SET, XOR_REG_SET, IOR_AND_COMPL_REG_SET): Likewise. * cfgrtl.c (safe_insert_insn_on_edge): Likewise. * df.c (df_bb_rd_local_compute) * flow.c (calculate_global_regs_live, init_propagate_block_info): Likewise. * ifcvt.c (find_if_case_1, find_if_case_2, dead_or_predicable): Likewise. * ra-build.c (union_web_part_roots, livethrough_conflicts_bb, reset_conflicts, conflicts_between_webs): Likewise. * ra-rewrite.c (reloads_to_loads, rewrite_program2, detect_web_parts_to_rebuild): Likewise. * sched-ebb.c (compute_jump_reg_dependencies): Likewise. * tree-int-ssa.c (insert_phi_nodes_for, rewrite_into_ssa): Likewise. * tree-sra.c (decide_instantiations): Likewise. * tree-ssa-alias.c (create_name_tags, merge_pointed_to_info): Likewise. * tree-ssa-dom.c (tree_ssa_dominator_optimize): Likewise. * tree-ssa-loop-im.c (move_computations): Likewise. * tree-ssa-operands.c (get_call_expr_operands): Likewise. * tree-ssa-pre.c (fini_pre): Likewise. * tree-ssa.c (verify_flow_sensitive_alias_info): Likewise. * tree-ssanames.c (any_marked_for_rewrite_p): Likewise. * tree-vectorizer.c (vectorize_loops): Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@89827 138bc75d-0d04-0410-961f-82ee72b054a4
2004-10-15 * bitmap.c, bitmap.h, builtin-attrs.def, cfglayout.h,Kazu Hirata
collect2.h, conflict.c, coretypes.h, coverage.h, errors.h, gcc.h, gcov-dump.c, gen-protos.c, gencheck.c, gencodes.c, genconstants.c, gengenrtl.c, genmodes.c, genpeep.c, gensupport.h, graph.h, gthr-gnat.c, gthr-gnat.h, gthr-posix.c, gthr-posix.h, hard-reg-set.h, hwint.h, integrate.h, libgcc2.c, lists.c, machmode.def, mips-tdump.c, opts.h, params.c, predict.def, predict.h, protoize.c, reload.h, resource.h, rtl-error.c, sbitmap.c, sbitmap.h, sreal.c, tlink.c, tree-dump.h, tree-inline.h, unwind-dw2-fde.c, unwind-dw2.c, unwind-sjlj.c, value-prof.h: Update copyright. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@89097 138bc75d-0d04-0410-961f-82ee72b054a4
2004-09-28Fix formatting.David Edelsohn
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@88218 138bc75d-0d04-0410-961f-82ee72b054a4
2004-09-272004-09-27 Michael Matz <matz@suse.de>Michael Matz
PR bootstrap/17698 PR bootstrap/17702 * bitmap.h (bmp_iter_single_init, bmp_iter_and_not_init, bmp_iter_and_init): Shift by bit_in_word. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@88201 138bc75d-0d04-0410-961f-82ee72b054a4
2004-09-27 * bitmap.h: Fix a comment typo.Kazu Hirata
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@88168 138bc75d-0d04-0410-961f-82ee72b054a4
2004-09-26 * bitmap.h (EXECUTE_IF_SET_IN_BITMAP, EXECUTE_IF_AND_COMPL_IN_BITMAP,Zdenek Dvorak
EXECUTE_IF_AND_IN_BITMAP): Changed to iterator style. (bitmap_iterator): New type. (bmp_iter_common_next_1, bmp_iter_single_next_1, bmp_iter_single_init, bmp_iter_end_p, bmp_iter_single_next, bmp_iter_and_not_next_1, bmp_iter_and_not_init, bmp_iter_and_not_next, bmp_iter_and_next_1, bmp_iter_and_init, bmp_iter_and_next): New functions. * basic-block.h (EXECUTE_IF_SET_IN_REG_SET, EXECUTE_IF_AND_COMPL_IN_REG_SET, EXECUTE_IF_AND_IN_REG_SET): Changed to use iterator-style EXECUTE_IF_IN_BITMAP macros. * bitmap.c (bitmap_print): Ditto. * bt-load.c (clear_btr_from_live_range, add_btr_to_live_range, btr_def_live_range): Ditto. * cfganal.c (compute_dominance_frontiers_1) Ditto. * cgraphunit.c (convert_UIDs_in_bitmap, cgraph_characterize_statics): Ditto. * ddg.c (build_inter_loop_deps): Ditto. * df.c (FOR_EACH_BB_IN_BITMAP, df_bb_reg_info_compute, df_refs_update): Ditto. * except.c (remove_eh_handler): Ditto. * flow.c (reg_set_to_hard_reg_set): Ditto. * gcse.c (clear_modify_mem_tables): Ditto. * global.c (build_insn_chain): Ditto. * ifcvt.c (dead_or_predicable): Ditto. * loop-invariant.c (get_inv_cost, set_move_mark, move_invariant_reg): Ditto. * ra-build.c (livethrough_conflicts_bb, conflicts_between_webs): Ditto. * ra-rewrite.c (reloads_to_loads, rewrite_program2, detect_web_parts_to_rebuild, delete_useless_defs, actual_spill): Ditto. * tree-cfg.c (allocate_ssa_names, tree_duplicate_sese_region, tree_purge_all_dead_eh_edges): Ditto. * tree-into-ssa.c (compute_global_livein, insert_phi_nodes, insert_phi_nodes_for, debug_def_blocks_r, invalidate_name_tags, rewrite_ssa_into_ssa): Ditto. * tree-outof-ssa.c (find_replaceable_exprs): Ditto. * tree-sra.c (scan_function, decide_instantiations, scalarize_parms): Ditto. * tree-ssa-alias.c (init_alias_info, compute_points_to_and_addr_escape, compute_flow_sensitive_aliasing, maybe_create_global_var, dump_points_to_info_for): Ditto. * tree-ssa-dce.c (EXECUTE_IF_CONTROL_DEPENDENT): Ditto. * tree-ssa-dse.c (dse_finalize_block): Ditto. * tree-ssa-live.c (live_worklist, calculate_live_on_entry, calculate_live_on_exit, build_tree_conflict_graph, dump_live_info): Ditto. * tree-ssa-loop-ivopts.c (find_induction_variables, find_interesting_uses, add_old_ivs_candidates, alloc_use_cost_map, determine_use_iv_costs, determine_set_costs, find_best_candidate, set_cost_up_to, create_new_ivs, remove_unused_ivs, free_loop_data): Ditto. * tree-ssa-loop-manip.c (add_exit_phis_var, add_exit_phis): Ditto. * tree-ssa-operands.c (get_asm_expr_operands, add_call_clobber_ops, add_call_read_ops): Ditto. * tree-ssa-pre.c (bitmap_print_value_set, insert_aux): Ditto. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@88145 138bc75d-0d04-0410-961f-82ee72b054a4
2003-12-21 * alias.c: Fix comment formatting.Kazu Hirata
* alloc-pool.c: Likewise. * bitmap.c: Likewise. * bitmap.h: Likewise. * bt-load.c: Likewise. * c-common.c: Likewise. * c-common.h: Likewise. * c-decl.c: Likewise. * c-opts.c: Likewise. * c-pretty-print.c: Likewise. * caller-save.c: Likewise. * cfghooks.h: Likewise. * cgraph.c: Likewise. * collect2.c: Likewise. * cppfiles.c: Likewise. * cpplib.h: Likewise. * dwarf2out.c: Likewise. * dwarfout.c: Likewise. * emit-rtl.c: Likewise. * final.c: Likewise. * function.c: Likewise. * gcov.c: Likewise. * gcse.c: Likewise. * genemit.c: Likewise. * ggc.h: Likewise. * haifa-sched.c: Likewise. * ifcvt.c: Likewise. * libgcc2.h: Likewise. * loop.c: Likewise. * predict.h: Likewise. * unwind-libunwind.c: Likewise. * varasm.c: Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@74907 138bc75d-0d04-0410-961f-82ee72b054a4
2003-07-19 * alias.c alloc-pool.c bitmap.c bitmap.h bt-load.c builtins.cKaveh Ghazi
c-common.c c-decl.c c-incpath.c c-lex.c c-opts.c c-parse.in c-pragma.c c-typeck.c calls.c cfg.c cfganal.c cfgloop.c cfgrtl.c collect2.c combine.c conflict.c coverage.c cppexp.c cppfiles.c cpphash.c cppinit.c cpplex.c cpplib.c cppmacro.c cppspec.c cpptrad.c cse.c cselib.c dbxout.c defaults.h df.c dominance.c dwarf2out.c dwarfout.c emit-rtl.c except.c expmed.c expr.c final.c fix-header.c flow.c fold-const.c function.c gcc.c gccspec.c gcov.c gcse.c genattr.c genattrtab.c genautomata.c genconditions.c genemit.c genextract.c genoutput.c genrecog.c gensupport.c ggc-page.c ggc-simple.c global.c graph.c haifa-sched.c hashtable.c integrate.c jump.c langhooks.c lcm.c line-map.c local-alloc.c loop.c mips-tdump.c mips-tfile.c mkdeps.c optabs.c params.c postreload.c prefix.c print-tree.c protoize.c ra-build.c ra-colorize.c ra-rewrite.c ra.c recog.c reg-stack.c regclass.c regmove.c regrename.c reload.c reload1.c reorg.c resource.c sbitmap.c sched-deps.c sched-rgn.c sched-vis.c sdbout.c simplify-rtx.c ssa-ccp.c ssa.c stmt.c stor-layout.c timevar.c tlink.c toplev.c tree-dump.c tree.c unroll.c unwind-dw2-fde.c varasm.c varray.c vmsdbgout.c xcoffout.c: Remove unnecessary casts. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@69587 138bc75d-0d04-0410-961f-82ee72b054a4
2003-06-29 * alloc-pool.c: Fix comment formatting.Kazu Hirata
* bitmap.c: Likewise. * bitmap.h: Likewise. * bt-load.c: Likewise. * builtins.c: Likewise. * caller-save.c: Likewise. * cfganal.c: Likewise. * cfgrtl.c: Likewise. * collect2.c: Likewise. * cse.c: Likewise. * df.c: Likewise. * diagnostic.c: Likewise. * dwarf2out.c: Likewise. * dwarfout.c: Likewise. * expmed.c: Likewise. * final.c: Likewise. * flags.h: Likewise. * fold-const.c: Likewise. * gcc.c: Likewise. * gcov-io.h: Likewise. * gcov.c: Likewise. * genattrtab.c: Likewise. * genautomata.c: Likewise. * libgcov.c: Likewise. * mips-tfile.c: Likewise. * optabs.c: Likewise. * prefix.c: Likewise. * rtlanal.c: Likewise. * stmt.c: Likewise. * stor-layout.c: Likewise. * toplev.c: Likewise. * varasm.c: Likewise. * vmsdbgout.c: Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@68672 138bc75d-0d04-0410-961f-82ee72b054a4
2003-06-15 * alloc-pool.c: Convert to ISO C90 prototypes.Andreas Jaeger
* alloc-pool.h: Likewise. * alias.c: Likewise. * attribs.c: Likewise. * bb-reorder.c: Likewise. * bitmap.h: Likewise. * bitmap.c: Likewise. * builtins.c: Likewise. * tree.h: Convert prototypes of attribs.c to ISO C90. * basic-block.h: Convert prototypes of bb-reorder.c to ISO C90. * rtl.h: Convert prototypes of alias.c and builtins.c to ISO C90. * expr.h: Convert prototypes of builtins.c to ISO C90. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@67975 138bc75d-0d04-0410-961f-82ee72b054a4
2003-01-25 * bitmap.h (BITMAP_WORD): New typedef: fundamental storageSegher Boessenkool
type for bitmaps. Use unsigned long. (nBITMAP_WORD_BITS): New macro. (BITMAP_WORD_BITS): New macro. (rest of file): Use it. * bitmap.c: Use it. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@61793 138bc75d-0d04-0410-961f-82ee72b054a4
2002-06-04Merge from pch-branch up to tag pch-commit-20020603.Geoffrey Keating
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@54232 138bc75d-0d04-0410-961f-82ee72b054a4
2002-05-26 * alias.c: Fix formatting.Kazu Hirata
* attribs.c: Likewise. * bb-reorder.c: Likewise. * bitmap.c: Likewise. * bitmap.h: Likewise. * builtins.c: Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@53898 138bc75d-0d04-0410-961f-82ee72b054a4
2002-01-18 * bitmap.h: Fix comment formatting.Kazu Hirata
* combine.c: Likewise. * cppfiles.c: Likewise. * c-pragma.h: Likewise. * c-typeck.c: Likewise. * df.c: Likewise. * dwarf2out.c: Likewise. * function.c: Likewise. * gcc.c: Likewise. * genattrtab.c: Likewise. * gthr-win32.h: Likewise. * haifa-sched.c: Likewise. * predict.c: Likewise. * rtlanal.c: Likewise. * rtl.h: Likewise. * unwind-dw2-fde.h: Likewise. * unwind-pe.h: Likewise. * vmsdbgout.c: Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@48987 138bc75d-0d04-0410-961f-82ee72b054a4
2001-10-11 * calls.c: Fix formatting.Kazu Hirata
* c-decl.c: Likewise. * cfgcleanup.c: Likewise. * combine.c: Likewise. * cppfiles.c: Likewise. * cpplib.c: Likewise. * cppmacro.c: Likewise. * crtstuff.c: Likewise. * cse.c: Likewise. * dwarf2out.c: Likewise. * expmed.c: Likewise. * expr.c: Likewise. * fold-const.c: Likewise. * function.c: Likewise. * gcse.c: Likewise. * genattrtab.c: Likewise. * ggc-page.c: Likewise. * integrate.c: Likewise. * libgcc2.c: Likewise. * loop.c: Likewise. * optabs.c: Likewise. * profile.c: Likewise. * protoize.c: Likewise. * real.c: Likewise. * recog.c: Likewise. * reload1.c: Likewise. * reload.c: Likewise. * reorg.c: Likewise. * resource.c: Likewise. * sched-rgn.c: Likewise. * sdbout.c: Likewise. * stmt.c: Likewise. * toplev.c: Likewise. * varasm.c: Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@46182 138bc75d-0d04-0410-961f-82ee72b054a4
2001-08-22 * Makefile.in, alias.c, basic-block.h, bb-reorder.c, bitmap.c,Lars Brinkhoff
bitmap.h, builtin-types.def, builtins.c, builtins.def, c-aux-info.c, c-common.c, c-common.def, c-common.h, c-convert.c, c-decl.c, c-dump.c, c-dump.h, c-errors.c, c-format.c, c-lang.c, c-lex.c, c-lex.h, c-parse.in, c-pragma.c, c-pragma.h, c-semantics.c, c-tree.h, c-typeck.c, caller-save.c, calls.c, collect2.c, collect2.h, combine.c, conditions.h, config.gcc, configure.frag, configure.in, conflict.c, convert.c, convert.h, cppspec.c, crtstuff.c, cse.c, cselib.c, cselib.h, dbxout.c, dbxout.h, defaults.h, dependence.c, df.c, df.h, diagnostic.c, diagnostic.h, doloop.c, dominance.c, dwarf.h, dwarf2.h, dwarf2asm.c, dwarf2asm.h, dwarf2out.c, dwarf2out.h, dwarfout.c, emit-rtl.c, errors.c, errors.h, except.c, except.h, exgettext, explow.c, expmed.c, expr.c, expr.h, final.c, fixproto, flags.h, flow.c, fold-const.c, fp-test.c, function.c, function.h, gbl-ctors.h, gcc.c, gcc.h, gcc.hlp, gccspec.c, gcov-io.h, gcse.c, genattr.c, genattrtab.c, gencheck.c, gencodes.c, genconfig.c, genemit.c, genextract.c, genflags.c, gengenrtl.c, genmultilib, genopinit.c, genoutput.c, genpeep.c, genrecog.c, gensupport.c, gensupport.h, ggc-callbacks.c, ggc-common.c, ggc-none.c, ggc-page.c, ggc-simple.c, ggc.h, global.c, graph.c, graph.h, gthr-aix.h, gthr-dce.h, gthr-posix.h, gthr-rtems.h, gthr-single.h, gthr-solaris.h, gthr-vxworks.h, gthr-win32.h, gthr.h, haifa-sched.c, halfpic.c, halfpic.h, hard-reg-set.h, hwint.h, ifcvt.c, input.h, insn-addr.h, integrate.c, integrate.h, jump.c, lcm.c, libgcc2.c, libgcc2.h, lists.c, local-alloc.c, loop.c, loop.h, machmode.def, machmode.h, main.c, mbchar.c, mbchar.h, mips-tdump.c, mips-tfile.c, mklibgcc.in, mkmap-flat.awk, mkmap-symver.awk, optabs.c, output.h, params.c, params.def, params.h, predict.c, predict.def, predict.h, prefix.c, prefix.h, print-rtl.c, print-tree.c, profile.c, protoize.c, read-rtl.c, real.c, real.h, recog.c, recog.h, reg-stack.c, regclass.c, regmove.c, regrename.c, regs.h, reload.c, reload.h, reload1.c, reorg.c, resource.c, resource.h, rtl.c, rtl.def, rtl.h, rtlanal.c, sbitmap.c, sbitmap.h, sched-deps.c, sched-ebb.c, sched-int.h, sched-rgn.c, sched-vis.c, sdbout.c, sdbout.h, sibcall.c, simplify-rtx.c, ssa-ccp.c, ssa-dce.c, ssa.c, ssa.h, stmt.c, stor-layout.c, stringpool.c, system.h, timevar.c, timevar.def, timevar.h, tlink.c, toplev.c, toplev.h, tree.c, tree.def, tree.h, tsystem.h, unroll.c, unwind-dw2-fde.c, unwind-dw2-fde.h, unwind-dw2.c, unwind-pe.h, unwind-sjlj.c, unwind.h, unwind.inc, varasm.c, varray.c, varray.h, xcoffout.c, xcoffout.h: replace "GNU CC" with "GCC". git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@45105 138bc75d-0d04-0410-961f-82ee72b054a4
2001-07-11 * bitmap.c: Comment some functions; fiddle whitespace.Richard Henderson
(bitmap_free): Don't export. (bitmap_element_allocate): Use memset. * bitmap.h (bitmap_free): Don't declare. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@43940 138bc75d-0d04-0410-961f-82ee72b054a4
2001-07-102001-07-10 Jan van Male <jan.vanmale@fenk.wau.nl>Jan van Male
* regmove.c (replace_in_call_usage): Fix warnings. * sched-deps.c (add_dependence): Fix warnings. * simplify-rtx.c (simplify_subreg): Likewise. Return NULL_RTX instead of NULL. * reg-stack.c (emit_swap_insn): Eliminate warnings. (subst_asm_stack_regs): Likewise. * combine.c (num_sign_bit_copies): Cast bitwidth to int to avoid warnings. * dwarf2out.c (output_call_frame_info): Declare i as int. (build_abbrev_table): Declare n_alloc as int. (dwarf2out_finish): Initialize die. * except.c: Declare sjlj_funcdef_number as unsigned. (connect_post_landing_pads): Declare j as unsigned. (convert_to_eh_region_ranges): Initialize call_site. (output_function_exception_table): Initialize tt_format_size. * expr.c (move_by_pieces_1): Initialize to1. (store_constructor): Initialize minelt and maxelt. * flow.c (mark_regs_live_at_end): Declare i as unsigned. * function.c (instantiate_decls): Avoid signed/unsigned warning. * c-decl.c (combine_parm_decls): Unused, remove. * c-tree.h: Remove prototype for combine_parm_decls. * reload.c (push_reload): Fix warning. (regno_clobbered_p): Likewise. * reload1.c (replace_pseudos_in_call_usage): Likewise. (reload_combine): Likewise. * bitmap.c: Rename bitmap_zero to bitmap_zero_bits to fix warnings. * bitmap.h: Rename bitmap_zero to bitmap_zero_bits to fix warnings. * bitmap.c (bitmap_operation): Change user. * bitmap.h (EXECUTE_IF_AND_COMPL_IN_BITMAP): Likewise. For cp/: 2001-07-10 Jan van Male <jan.vanmale@fenk.wau.nl> * call.c (build_op_delete_call): Initialize fn. (convert_like_real): Delete conditional. (joust): Initialize *w and *l. * class.c: Add prototype for binfo_ctor_vtable. (get_primary_binfo): Initialize result. * init.c (build_java_class_ref): Initialize name. * typeck.c (unary_complex_lvalue): Do not duplicate the argument to modify, pre-, or post-increment when used as an lvalue and when the argument has side-effects. For ch/: 2001-07-10 Jan van Male <jan.vanmale@fenk.wau.nl> * ch-tree.h: Remove prototype for combine_parm_decls, unused function. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@43893 138bc75d-0d04-0410-961f-82ee72b054a4
2001-07-04 * bitmap.c (bitmap_union_of_diff): Don't use BITMAP_ALLOCA.Kaveh Ghazi
* bitmap.h (BITMAP_ALLOCA): Don't pass alloca as an argument to a function. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@43760 138bc75d-0d04-0410-961f-82ee72b054a4
2001-06-162001-06-16 Daniel Berlin <dan@cgsoftware.com>Daniel Berlin
* bitmap.h: Add dump_bitmap, bitmap_zero, bitmap_union_of_diffs, bitmap_a_or_b, bitmap_a_and_b, bitmap_first_set_bit, bitmap_last_set_bit. All for compatibility with sbitmap's. *bitmap.c (bitmap_zero): New function. (bitmap_union_of_diffs): New function. (bitmap_first_set_bit): New function. (bitmap_last_set_bit): New function. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@43420 138bc75d-0d04-0410-961f-82ee72b054a4
2001-05-26Standardize header guards.Richard Henderson
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@42615 138bc75d-0d04-0410-961f-82ee72b054a4
2001-04-12 * bitmap.h (debug_bitmap): Delete redundant prototype.Kaveh Ghazi
* rtl.h (get_frame_size): Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@41313 138bc75d-0d04-0410-961f-82ee72b054a4
2000-01-11 * alias.c: PROTO -> PARAMS.Kaveh Ghazi
* basic-block.h: Likewise. * bitmap.c: Likewise. * bitmap.h: Likewise. * builtins.c: Likewise. * c-aux-info.c: Likewise. * caller-save.c: Likewise. * calls.c: Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@31338 138bc75d-0d04-0410-961f-82ee72b054a4
1999-11-05 * bitmap.h (BITMAP_XFREE): New.Richard Henderson
* flow.c (life_analysis): Use it. (life_analysis_1): Free blocks. * combine.c (undo_commit): New. (try_combine): Use it. Don't zap undobuf.undos. (combine_instructions): Don't zap undobuf.undos; free the undobuf.frees list. * local-alloc.c (local_alloc): Free qty_phys_num_sugg. * stmt.c (cost_table_): New. (estimate_case_costs): Use it instead of xmalloc. * toplev.c (compile_file): Reuse dumpname memory instead of strdup'ing it. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@30404 138bc75d-0d04-0410-961f-82ee72b054a4
1999-11-01 * bitmap.h (BITMAP_XMALLOC): New macro.Mark Mitchell
* flow.c (CLEAN_ALLOCA): Remove. (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca. (life_analysis): Likewise. (update_life_info): Don't use CLEAN_ALLOCA. (life_analysis_1): Use xmalloc/xcalloc instead of alloca. (calculate_global_regs_live): Likewise. (print_rtl_with_bb): Likewise. (verify_flow_info): Likewise. * global.c (global_alloc): Likewise. (global_conflicts): Likewise. * integrate.c (save_for_inline_nocopy): Likewise. (expand_inline_function): Likewise. * jump.c (jump_optimize_1): Likewise. (duplicate_loop_exit_test): Likewise. (thread_jumps): Likewise. * loop.c (loop_optimize): Likewise. (combine_givs): Likewise. (recombine_givs): Likewise. * reorg.c (dbr_schedule): Likewise. * unroll.c (unroll_loop): Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@30333 138bc75d-0d04-0410-961f-82ee72b054a4
1999-10-27Reorg reg-stack to use the standard CFG.Jan Hubicka
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@30201 138bc75d-0d04-0410-961f-82ee72b054a4
1999-10-04 * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.Richard Henderson
* bitmap.c (bitmap_operation): Return true iff TO changed. (bitmap_equal_p): New. (bitmap_bit_p): Tidy arithmetic. (debug_bitmap_file): Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@29808 138bc75d-0d04-0410-961f-82ee72b054a4
1999-09-20 * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.Jeffrey A Law
Callers and prototype changed. * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@29518 138bc75d-0d04-0410-961f-82ee72b054a4
1999-02-18 * bitmap.c (bitmap_print): Qualify a char* with the `const' keyword.Kaveh Ghazi
* 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: https://gcc.gnu.org/svn/gcc/trunk@25296 138bc75d-0d04-0410-961f-82ee72b054a4
1999-01-23Copyright update.Jeffrey A Law
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@24829 138bc75d-0d04-0410-961f-82ee72b054a4
1999-01-23 * bitmap.h (bitmap_head_def): Make indx field unsigned.Jeffrey A Law
Fixes a couple minor warnings. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@24828 138bc75d-0d04-0410-961f-82ee72b054a4
1999-01-06Copyright fixes.Jeffrey A Law
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@24535 138bc75d-0d04-0410-961f-82ee72b054a4
1998-06-21 * bitmap.h (debug_bitmap): Declare.Jeffrey A Law
* basic-block.h (init_regset_vector): New declaration. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@20646 138bc75d-0d04-0410-961f-82ee72b054a4