1. 17 Sep, 2004 32 commits
  2. 16 Sep, 2004 8 commits
    • sh.md (call): Extend 32-bit addresses to DImode for 32-bit TARGET_SHMEDIA. · e57450ce
      	* config/sh/sh.md (call): Extend 32-bit addresses to DImode
      	for 32-bit TARGET_SHMEDIA.
      	(call_value): Likewise.
      
      From-SVN: r87619
      Kaz Kojima committed
    • re PR c++/17501 (Confusion with member templates) · 67bcc252
      	PR c++/17501
      	* parser.c (cp_parser_nested_name_specifier): Do not resolve
      	typename types if the user explicitly said "typename".
      
      	PR c++/17501
      	* g++.dg/template/typename7.C: New test.
      
      From-SVN: r87616
      Mark Mitchell committed
    • tree-ssa-operands.c (add_call_clobber_ops): Make read-only test apply only to… · 1800536a
      tree-ssa-operands.c (add_call_clobber_ops): Make read-only test apply only to TREE_STATIC and DECL_EXTERNAL.
      
      
      	* tree-ssa-operands.c (add_call_clobber_ops): Make read-only
      	test apply only to TREE_STATIC and DECL_EXTERNAL.
      
      From-SVN: r87615
      Diego Novillo committed
    • Makefile.in (tree-cfg.o): Add CFGLAYOUT_H dependency. · 42759f1e
      	* Makefile.in (tree-cfg.o): Add CFGLAYOUT_H dependency.
      	* basic-block.h (get_dominated_by_region): Declare.
      	* dominance.c (get_dominated_by_region): New function.
      	* tree-cfg.c: Include cfglayout.h.
      	(tree_duplicate_bb): Duplicate also phi nodes.
      	(struct ssa_name_map_entry): New type.
      	(add_phi_args_after_copy_bb, add_phi_args_after_copy,
      	ssa_name_map_entry_hash, ssa_name_map_entry_eq,
      	allocate_ssa_names, rewrite_to_new_ssa_names_def,
      	rewrite_to_new_ssa_names_use, rewrite_to_new_ssa_names_bb,
      	rewrite_to_new_ssa_names, tree_duplicate_sese_region): New functions.
      	* tree-flow.h (tree_duplicate_sese_region, add_phi_args_after_copy_bb,
      	add_phi_args_after_copy, rewrite_to_new_ssa_names_bb,
      	rewrite_to_new_ssa_names, allocate_ssa_names,
      	rewrite_into_loop_closed_ssa, verify_loop_closed_ssa): Declare.
      	* tree-ssa-loop-ch.c (duplicate_blocks): Removed.
      	(copy_loop_headers): Use tree_duplicate_sese_region.
      
      	* gcc.dg/tree-ssa/copy-headers.c: Update outcome.
      
      From-SVN: r87614
      Zdenek Dvorak committed
    • profile.c (branch_prob): Restore support for USE_MAPPED_LOCATION. · 2731cf24
      2004-09-16  Frank Ch. Eigler  <fche@redhat.com>
      
      	* profile.c (branch_prob): Restore support for USE_MAPPED_LOCATION.
      
      From-SVN: r87613
      Frank Ch. Eigler committed
    • bprob.exp, bprob.exp: Iterate tests with -ftree-based-profiling also. · 8304ad70
      2004-09-16  Frank Ch. Eigler  <fche@redhat.com>
      
      	* gcc.misc-tests/bprob.exp, g++.dg/bprob/bprob.exp: Iterate tests
      	with -ftree-based-profiling also.
      	* lib/profopt.exp: Support late-set profile_option/feedback_option.
      
      From-SVN: r87612
      Frank Ch. Eigler committed
    • tree-into-ssa.c (block_defs_stack): New toplevel varray. · 9fae925b
      
      	* tree-into-ssa.c (block_defs_stack): New toplevel varray.
      	(rewrite_block_data): Remove, no longer used.
      	(rewrite_initialize_block_local_data): Remove, no longer used.
      	(rewrite_initialize_block): Mark parameters as unused as needed.
      	Change references to the block local block_defs to be block_defs_stack.
      	Push a marker onto the block_defs_stack.
      	(ssa_rewrite_initialize_block): Similarly.
      	(rewrite_stmt, ssa_rewrite_stmt): Similarly.
      	(ssa_register_new_def): No longer needs varray argument.  Use
      	block_defs_stack instead.  No longer handle possibly null block_defs
      	varray.  Reverse order of items we push on the stack to make it
      	easier to identify our marker.
      	(register_new_def): No longer handle possibly null block_defs
      	varray.
      	(rewrite_finalize_block): Revamp to look for markers in the global
      	block_defs_stack varray rather than wiping a block local varray.
      	Mark arguments as unused as needed.
      	(ssa_rewrite_finalize_block): Similarly.
      	(rewrite_into_ssa): Update initialization of dom walker structure
      	to reflect that we don't need block local data anymore.  Initialize
      	the block_defs_stack varray.
      	(rewrite_ssa_into_ssa): Similarly.
      	* tree-ssa-dom.c (block_defs_stack): New toplevel varray.
      	(struct dom_walk_data): Kill block_defs field.
      	(tree_ssa_dominator_optimize): Initialize block_defs_stack.
      	(thread_across_edge): Use the global block_defs_stack instead of
      	the old block_defs varray.
      	(dom_opt_initialize_block_local_data): Update now that we don't have
      	block_defs field to check anymore.
      	(dom_opt_initialize_block): Push a marker onto block_defs_stack.
      	(restore_currdefs_to_original_value): Use the new block_defs_stack
      	instead of a block local varray.
      	(dom_opt_finalize_block): Similarly.
      	(record_equivalencs_from_phis): Similarly.
      	(optimize_stmt, register_definitions_for_stmt): Similarly.
      
      From-SVN: r87611
      Jeff Law committed
    • error.c (dump_decl): Make sure there is lang_specific info before checking for DTOR and CTOR decls. · 2d0db225
      
      2004-09-16  Andrew MacLeod  <amacleod@redhat.com>
      
      	* error.c (dump_decl): Make sure there is lang_specific info before
      	checking for DTOR and CTOR decls.
      
      From-SVN: r87610
      Andrew MacLeod committed