1. 27 Jun, 2009 10 commits
    • df-problems.c (df_set_seen, [...]): Delete. · 4c78c26b
      2009-06-27  Paolo Bonzini  <bonzini@gnu.org>
      
              * df-problems.c (df_set_seen, df_unset_seen): Delete.
              (df_rd_local_compute, df_md_local_compute): Inline them.
      
              (df_md_scratch): New.
              (df_md_alloc, df_md_free): Allocate/free it.
              (df_md_local_compute): Only include live registers in init.
              (df_md_transfer_function): Prune the in-set computed by
              the confluence function, and the gen-set too.
      
      From-SVN: r149011
      Paolo Bonzini committed
    • re PR tree-optimization/26854 (Inordinate compile times on large routines) · c6741572
      2009-06-07  Paolo Bonzini  <bonzini@gnu.org>
      
      	PR rtl-optimization/26854
              * timevar.def: Remove TV_DF_RU, add TV_DF_MD.
              * df-problems.c (df_rd_add_problem): Fix comment.
              (df_md_set_bb_info, df_md_free_bb_info, df_md_alloc,
              df_md_simulate_artificial_defs_at_top,
              df_md_simulate_one_insn, df_md_bb_local_compute_process_def,
              df_md_bb_local_compute, df_md_local_compute, df_md_reset,
              df_md_transfer_function, df_md_init, df_md_confluence_0,
              df_md_confluence_n, df_md_free, df_md_top_dump, df_md_bottom_dump,
              problem_MD, df_md_add_problem): New.
              * df.h (DF_MD, DF_MD_BB_INFO, struct df_md_bb_info, df_md,
              df_md_get_bb_info): New.
              DF_LAST_PROBLEM_PLUS1): Adjust.
      
              * Makefile.in (fwprop.o): Include domwalk.h.
              * fwprop.c: Include domwalk.h.
              (reg_defs, reg_defs_stack): New.
              (bitmap_only_bit_between): Remove.
              (process_defs): New.
              (process_uses): Use reg_defs and local_md instead of
              bitmap_only_bit_between and local_rd.
              (single_def_use_enter_block): New, from build_single_def_use_links.
              (single_def_use_leave_block): New.
              (build_single_def_use_links): Remove code moved to
              single_def_use_enter_block, invoke domwalk.
              (use_killed_between): Adjust comment.
      
      From-SVN: r149010
      Paolo Bonzini committed
    • bitmap.h (bitmap_ior_and_into): New. · 7ff23740
      2009-06-27  Paolo Bonzini  <bonzini@gnu.org>
      
      	* bitmap.h (bitmap_ior_and_into): New.
      	* bitmap.c (bitmap_ior_and_into): New.
      
      From-SVN: r149009
      Paolo Bonzini committed
    • domwalk.h (struct dom_walk_data): Remove all callbacks except… · ccf5c864
      domwalk.h (struct dom_walk_data): Remove all callbacks except before_dom_children_before_stmts and...
      
      2009-06-27  Paolo Bonzini  <bonzini@gnu.org>
      
              * domwalk.h (struct dom_walk_data): Remove all callbacks except
              before_dom_children_before_stmts and after_dom_children_after_stmts.
              Rename the two remaining callbacks to just before_dom_children and 
              after_dom_children. Remove other GIMPLE statement walking bits.
              * domwalk.c (walk_dominator_tree): Remove now unsupported features.
              * graphite.c: Do not include domwalk.h.
              * tree-into-ssa.c (interesting_blocks): New global.
              (struct mark_def_sites_global_data): Remove it and names_to_rename.
              (mark_def_sites, rewrite_stmt, rewrite_add_phi_arguments,
              rewrite_update_stmt, rewrite_update_phi_arguments): Simplify
              now that they're not domwalk callbacks.
              (rewrite_initialize_block): Rename to...
              (rewrite_enter_block): ... this, place after called functions.  Test
              interesting_blocks, call rewrite_stmt and rewrite_add_phi_arguments.
              (rewrite_finalize_block): Rename to...
              (rewrite_leave_block): ... this, place after called functions.
              (rewrite_update_init_block): Rename to...
              (rewrite_update_enter_block): ... this, place after called functions.
              Test interesting_blocks, call rewrite_update_stmt and 
              rewrite_update_phi_arguments.
              (rewrite_update_fini_block): Rename to...
              (rewrite_leave_block): ... this, place after called functions.
              (rewrite_blocks): Remove last argument, simplify initialization of
              walk_data.
              (mark_def_sites_initialize_block): Rename to...
              (mark_def_sites_block): ... this, call mark_def_sites.
              (mark_def_sites_blocks): Remove argument, simplify initialization of
              walk_data.
              (rewrite_into_ssa): Adjust for interesting_blocks_being a global.
              (update_ssa): Likewise.
              * tree-ssa-dom.c (optimize_stmt): Simplify now that it's not a domwalk
              callback.
              (tree_ssa_dominator_optimize): Simplify initialization of walk_data.
              (dom_opt_initialize_block): Rename to...
              (dom_opt_enter_block): ... this, place after called functions.  Walk
              statements here, inline propagate_to_outgoing_edges.
              (dom_opt_finalize_block): Rename to...
              (dom_opt_leave_block): ... this, place after called functions.
              * tree-ssa-dse.c (dse_optimize_stmt): Simplify now that it's not a
              domwalk callback.
              (dse_enter_block, dse_record_phi): New.
              (dse_record_phis): Delete.
              (dse_finalize_block): Rename to...
              (dse_leave_block): ... this.
              (tree_ssa_dse): Simplify initialization of walk_data.
              * tree-ssa-loop-im.c (determine_invariantness, move_computations):
              Adjust initialization of walk_data.
              * tree-ssa-loop-unswitch.c: Do not include domwalk.h.
              * tree-ssa-loop-phiopt.c (get_non_trapping):
              Adjust initialization of walk_data.
              * tree-ssa-loop-threadedge.c: Do not include domwalk.h.
              * tree-ssa-uncprop.c (uncprop_into_successor_phis): Simplify now that
              it's not a domwalk callback.
              (uncprop_initialize_block): Rename to...
              (dse_enter_block): ... this, call uncprop_into_successor_phis.
              (dse_finalize_block): Rename to...
              (dse_leave_block): ... this.
              (tree_ssa_uncprop): Simplify initialization of walk_data.
              * Makefile.in: Adjust dependencies.
      
      From-SVN: r149008
      Paolo Bonzini committed
    • init.c (__gnat_set_globals): Add prototype. · c6bd4220
      	* init.c (__gnat_set_globals): Add prototype.
      	* adaint.c (__gnat_binder_supports_auto_init): Likewise.
      	(__gnat_sals_init_using_constructors): Likewise.
      	* gcc-interface/utils.c (gnat_pushlevel): Likewise.
      	(get_block_jmpbuf_decl): Likewise.
      	(gnat_poplevel): Likewise.
      	(merge_sizes): Rename local variable.
      	(copy_type): Likewise.
      	(build_vms_descriptor32): Likewise.
      	(build_vms_descriptor): Likewise.
      	(convert_vms_descriptor64): Likewise.
      	(convert_vms_descriptor32): Likewise.
      	(convert_to_fat_pointer): Likewise.
      	(maybe_unconstrained_array): Likewise.
      	(def_fn_type): Use promoted type with va_arg.
      	* gcc-interface/decl.c (gnat_to_gnu_entity): Add declaration.
      	(substitute_in_type): Rename local variable.
      	* gcc-interface/Make-lang.in (ada-warn): Use STRICT_WARN.
      
      From-SVN: r149007
      Eric Botcazou committed
    • re PR testsuite/40567 (Revision 149002 caused many failures) · 92ec3570
      2009-06-27  Paolo Bonzini  <bonzini@gnu.org>
      
      	PR testsuite/40567
      	* gcc.dg/vect/vect.exp: Fix lappend syntax.
      
      From-SVN: r149006
      Paolo Bonzini committed
    • arm.md (casesi): Fix test for Thumb1. · 75d28030
      	* arm.md (casesi): Fix test for Thumb1.
      	(thumb1_casesi_internal_pic): Likewise.
      	(thumb1_casesi_dispatch): Likewise.
      
      From-SVN: r149005
      Richard Earnshaw committed
    • Fix nits · 91dc2352
      From-SVN: r149004
      Eric Botcazou committed
    • re PR testsuite/40565 (Extra failures) · c24aef95
      	PR testsuite/40565
      	* gcc.dg/vect/vect.exp: Add -fno-ipa-cp-clone to -O3 tests.
      	* gcc.target/i386/local.c: Pass a non-constant to T.
      
      From-SVN: r149002
      Richard Henderson committed
    • Daily bump. · 81de09e1
      From-SVN: r148999
      GCC Administrator committed
  2. 26 Jun, 2009 24 commits
  3. 25 Jun, 2009 6 commits