1. 01 Aug, 2005 12 commits
    • * decl.c, utils.c: Fix comment typos. · b15341b8
      From-SVN: r102630
      Kazu Hirata committed
    • profile.c (compute_value_histograms): Fix thinko. · 5ded7254
      
      	* profile.c (compute_value_histograms): Fix thinko.
      	* value-prof.c: Include toplev.h
      	(check_counter): New function.
      	(tree_divmod_fixed_value_transform, tree_mod_pow2_value_transform,
      	tree_mod_subtract_transform): Add sanity check.
      
      	* val-prof-5.c: New test.
      
      From-SVN: r102629
      Jan Hubicka committed
    • re PR tree-optimization/23133 (recip does not factor division by function parameter) · a8f82ec4
      2005-08-01  Richard Guenther  <rguenther@suse.de>
      
      	PR tree-optimization/23133
      	* tree-ssa-math-opts.c (execute_cse_reciprocals): Walk
      	current functions parameter decls to find defs to cse
      	reciprocals of.
      
      From-SVN: r102628
      Richard Guenther committed
    • re PR tree-optimization/23109 (compiler generates wrong code leading to spurious… · ac264fef
      re PR tree-optimization/23109 (compiler generates wrong code leading to spurious division by zero with -funsafe-math-optimizations (instead of -ftrapping-math))
      
      2005-08-01  Richard Guenther  <rguenther@suse.de>
      
      	PR tree-optimization/23109
      	* tree-ssa-math-opts.c (execute_cse_reciprocals_1):
      	If trapping math is in effect, use post-dominator information
      	to check if we'd in any case reach a trapping point before
      	doing the reciprocal insertion.
      	(execute_cse_reciprocals): Compute post-dominators, if necessary.
      	* tree-ssa-loop-im.c (determine_invariantness_stmt): RDIV
      	expressions are invariant only if trapping math is not in effect.
      
      From-SVN: r102627
      Richard Guenther committed
    • Interprocedural constant propagation. · 19734dd8
      From-SVN: r102626
      Razya Ladelsky committed
    • Makefile.in: Add ipcp.c, ipa-prop.h, ipa-prop.c. · 57fb5341
      	* Makefile.in: Add ipcp.c, ipa-prop.h, ipa-prop.c. Remove integrate.h
      	dependency from tree-inline.o.
      	Add ipa-prop.h dependency to tree-inline.o and cgraphunit.o.
              * common.opt: Add ipa-cp flag.
              * timevar.def: Add IPCP optimization.
              * tree-optimize.c (init_tree_optimization_passes): Schedule
      	pass_ipa_cp.
      	* tree-pass.h (pass_ipa_cp): Declare.
              * cgraph.h (update_call_expr, cgraph_copy_node_for_versioning,
              cgraph_function_versioning): New declarations.
      	* cgraphunit.c: Add include to ipa-prop.h.
              (update_call_expr, cgraph_copy_node_for_versioning,
      	cgraph_function_versioning): New functions.
              * integrate.c (copy_decl_for_inlining): Remove.
              * tree-inline.c: Remove include to integrate.h, Add include ipa-prop.h.
              (struct inline_data): Add versioning_p, ipa_info, new fields.
              (remap_decl, mark_local_for_remap_r, setup_one_parameter,
      	declare_return_variable): Replace calls to copy_decl_for_inlining with
              copy_decl_for_dup.
              (copy_body_r, copy_bb, copy_cfg_body, copy_tree_r, inlining_p): Add
      	versioning support.
              (copy_decl_for_dup): Rename from copy_decl_for_inlining.
      	Add argument VERSIONING.
              (copy_arguments_for_versioning, copy_static_chain,
      	function_versionable_p, tree_versionable_function_p,
      	tree_function_versioning, replace_ref_tree): New functions.
      	* tree-inline.h: Include varray.h.
              (tree_versionable_function_p,  tree_function_versioning,
      	tree copy_decl_for_dup): New declarations.
      
      From-SVN: r102625
      Razya Ladelsky committed
    • ipa-cp.c: New file. · 518dc859
      	* ipa-cp.c: New file. Contains IPCP specific functionality.
      	* ipa-prop.h: New file. Contains structures/definitions that can be
      	used by several interprocedural data flow optimizations (and also IPCP).
      	* ipa-prop.c: New file.
      
      From-SVN: r102624
      Razya Ladelsky committed
    • intrinsic.texi: Add documentation for exponent... · ee2242a2
      2005-07-31  Jerry DeLisle  <jvdelisle@verizon.net>
      
              * intrinsic.texi: Add documentation for exponent, floor, and fnum and
              fix description of ceiling in index.
      
      From-SVN: r102622
      Jerry DeLisle committed
    • class.c, [...]: Fix comment typos. · 13a44ee0
      	* class.c, decl.c, name-lookup.c, pt.c, typeck.c, typeck2.c:
      	Fix comment typos.
      
      From-SVN: r102621
      Kazu Hirata committed
    • dwarf2out.c, [...]: Fix comment typos. · 569b7f6a
      	* dwarf2out.c, fold-const.c, ipa-type-escape.c,
      	loop-invariant.c, predict.c, predict.def, reload1.c, reorg.c,
      	tree-sra.c, config/arm/arm.c, config/crx/crx.c,
      	config/i386/i386.c, config/mips/mips.h,
      	config/rs6000/rs6000.h, config/sh/sh.c,
      	config/stormy16/stormy16.c: Fix comment typos.
      
      From-SVN: r102620
      Kazu Hirata committed
    • re PR c/22311 (internal compiler error: in c_common_type (-fshort-enums)) · 5922c215
      	PR c/22311
      	* c-typeck.c (build_binary_op): Use common_type wrapper on
      	shortened types.
      	(common_type): Update comment.
      
      testsuite:
      	* gcc.dg/pr22311-1.c : New test.
      
      From-SVN: r102615
      Joseph Myers committed
    • Daily bump. · ad7574ac
      [[Split portion of a mixed commit.]]
      
      From-SVN: r102612.2
      GCC Administrator committed
  2. 31 Jul, 2005 8 commits
  3. 30 Jul, 2005 12 commits
  4. 29 Jul, 2005 8 commits