+2005-07-29 Joseph S. Myers <joseph@codesourcery.com>
+
+ PR c/22192
+ * c-typeck.c (composite_type): Prefer constant size arrays to
+ VLAs.
+
+2005-07-29 Joseph S. Myers <joseph@codesourcery.com>
+
+ PR c/21720
+ * real.c (real_from_string): Set last bit if there is a nonzero
+ hex digit beyond GCC's internal precision.
+
+2005-07-28 Richard Henderson <rth@redhat.com>
+
+ PR rtl-opt/22619
+ * cfgcleanup.c (try_forward_edges): Watch out for end of
+ insn chain.
+
+2005-07-28 James E Wilson <wilson@specifixinc.com>
+
+ PR c/23106
+ * doc/invoke.texi (Wstrict-aliasing=2): Fix misleading wording.
+
+2005-07-28 Jan Hubicka <jh@suse.cz>
+
+ * Makefile.in (rtl-profile.o): Kill all traces of it.
+ * common.opt (fspeculative-prefetching, ftree-based-profiling): Kill.
+ * coverage.h (rtl_coverage_counter_ref): Kill.
+ * opts.c (flag_speculative_prefetching_set): Kill.
+ (flag_loop_optimize_set): New.
+ (common_handle_option): Disable loop optimizer when profiling;
+ do not handle speculative prefetching.
+ * passes.c (init_optimization_passes): Replace pass_profiling combo
+ by branch_prob pass.
+ * profile.c (compute_value_histograms): Update for simplified value
+ profiles.
+ (rtl_register_profile_hooks): Kill.
+ (pass_profiling): Kill.
+ (rest_of_handle_branch_prob): Do not profile.
+ * toplev.c (process_options): Remove speculative prefetching.
+ * toplev.h (flag_tree_based_profiling): Kill.
+ * tree-profile.c (prepare_instrumented_value,
+ tree_gen_interval_profiler, tree_gen_pow2_profiler,
+ tree_gen_one_value_profiler, do_tree_profiling): Update for
+ simplified datastructures.
+ * value-prof.c: Add comment that speculative prefetching was dropped;
+ update rest of file for simplified datastructures.
+ (NOPREFETCH_RANGE_MIN, NOPREFETCH_RANGE_MAX,
+ rtl_divmod_values_to_profile, insn_prefetch_values_to_profile,
+ find_mem_reference_1, find_mem_reference_2, find_mem_reference,
+ rtl_values_to_profile, rtl_divmod_fixed_value, rtl_mod_pow2,
+ rtl_mod_subtract, gen_speculative_prefetch,
+ rtl_divmod_fixed_value_transform, rtl_mod_pow2_value_transform,
+ rtl_mod_subtract_transform, speculative_prefetching_transform): Kill.
+ (gate_handle_value_profile_transformations,
+ rest_of_handle_value_profile_transformations,
+ pass_value_profile_transformations): Kill.
+ * value-prof.h (histogram_value_t): Remove IL based unions.
+ (rtl_register_value_prof_hooks, rtl_register_profile_hooks,
+ rtl_profile_hooks): Remove hooks.
+
+ * invoke.texi (-ftree-based-profiling, -fspeculative-prefetching): Kill.
+
+ * cgraph.c (cgraph_clone_edge): New UPDATE_ORIGINAL argument.
+ (cgraph_clone_node): Likewise.
+ * cgraph.h (cgraph_clone_edge): Update prototype.
+ (cgraph_clone_node): Likewise.
+ * ipa-inline.c (cgraph_clone_inlined_nodes): Update call of
+ cgraph_clone_node.
+ (lookup_recursive_calls): Consider profile.
+ (cgraph_decide_recursive_inlining): Fix updating; use new
+ probability argument; use profile.
+ * params.def (PARAM_MIN_INLINE_RECURSIVE_PROBABILITY): New.
+ * tree-inline.c (copy_bb): Update clal of clone_edge.
+ * tree-optimize.c (tree_rest_of_compilation): UPdate cal of clone_node.
+
+ * invoke.texi (min-inline-recursive-probability): Document.
+
+2005-07-28 Gerald Pfeifer <gerald@pfeifer.com>
+
+ * doc/install.texi (Configuration): Update Valgrind homepage.
+
+2005-07-28 Richard Henderson <rth@redhat.com>
+
+ PR middle-end/21362
+ * cfgrtl.c (rtl_merge_blocks): Call maybe_remove_eh_handler on
+ labels we want to delete.
+ (cfg_layout_merge_blocks): Likewise.
+
+2005-07-28 Richard Henderson <rth@redhat.com>
+
+ PR target/17692
+ * config/i386/i386.c (ix86_split_sse_movcc): Emit DELETED note
+ when expanding to nothing.
+
+2005-07-28 Josh Conner <jconner@apple.com>
+
+ * ipa-inline.c (update_caller_keys): Fix estimated_growth caching.
+ (cgraph_decide_inlining_of_small_functions): Likewise.
+
+2005-07-28 Josh Conner <jconner@apple.com>
+
+ * ipa-inline.c (cgraph_edge_badness): Update comments. Invert shift
+ direction of badness if negative.
+ (cgraph_default_inline_p): Add reason to parameters, and assign it
+ a value.
+ (cgraph_decide_inlining_of_small_functions): New parameter in call
+ to cgraph_default_inline_p.
+ (cgraph_decide_inlining_incrementally): Likewise.
+ * cgraphunit.c (decide_is_function_needed): Likewise.
+ * cgraph.h (cgraph_default_inline_p): Likewise.
+
+2005-07-28 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
+
+ * builtins.c: Fix comment typo(s).
+ * genautomata.c: Likewise.
+ * gimplify.c: Likewise.
+ * tree-dfa.c: Likewise.
+ * tree-flow-inline.h: Likewise.
+ * tree-into-ssa.c: Likewise.
+ * tree-ssa-alias.c: Likewise.
+ * tree-ssa-ccp.c: Likewise.
+ * tree-ssa-copy.c: Likewise.
+ * tree-ssa-dce.c: Likewise.
+ * tree-ssa-dom.c: Likewise.
+ * tree-ssa-operands.c: Likewise.
+ * tree-tailcall.c: Likewise.
+ * tree-vectorizer.c: Likewise.
+ * tree-vrp.c: Likewise.
+ * tree.c: Likewise.
+
+2005-07-28 Jeff Law <law@redhat.com>
+
+ * tree-vrp.c (test_for_singularity): Extracted from ...
+ (simplify_cond_using_ranges): Attempt to simplify a relational
+ test to NE_EXPR. Dump information when a COND_EXPR is simplified.
+
+2005-07-28 Dorit Nuzman <dorit@il.ibm.com>
+
+ PR tree-optimization/22506
+ * tree-vectorizer.c (update_phi_nodes_for_guard2): Skip loop-closed
+ phis whose argument is constant.
+
+2005-07-28 J"orn Rennecke <joern.rennecke@st.com>
+
+ PR rtl-optimization/18992
+ Back out this patch:
+ 2003-10-08 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
+ PR optimization/12142
+ * cse.c (count_reg_usage): In a SET with a REG SET_DEST, count the
+ uses of the register in the SET_SRC. Remove unnecessary argument.
+
+ Replace it with this:
+ * cse.c (count_reg_usage): In INSN, JUMP_INSN and CALL_INSN cases,
+ if flag_non_call_exceptions is set and the insn may trap, pass
+ pc_rtx as dest for recursion.
+ In SET_SRC part of SET case, if dest is already set, pass it down
+ unchanged.
+
+2005-07-28 Jan Hubicka <jh@suse.cz>
+
+ * cfg.c (update_bb_profile_for_threading): Use RDIV.
+ (scale_bbs_frequencies_int): Likewise, assert for possible overflow.
+ (scale_bbs_frequencies_gcov_type): Be more curefull about overflows and
+ roundoff errors.
+ * tree-cfg.c (tree_duplicate_sese_region): Use counts for updating
+ profile when available.
+
+2005-07-28 Jan Beulich <jbeulich@novell.com>
+
+ * config/ia64/ia64.c (ia64_load_pair_ok): New.
+ (ia64_print_operand): Describe and handle 'X'.
+ (ia64_register_move_cost): Also handle FP_REGS.
+ (ia64_preferred_reload_class): Likewise.
+ (ia64_secondary_reload_class): Likewise.
+ (ia64_dependencies_evaluation_hook): New local variable c. Initialize
+ it. Also check for ITANIUM_CLASS_FLDP.
+ * config/ia64/ia64.h (FP_REGNO_P): New.
+ (HARD_REGNO_MODE_OK): Remove explusion of TImode.
+ (reg_class): Add FP_REGS.
+ (REG_CLASS_NAMES): Adjust for it.
+ (REG_CLASS_CONTENTS): Likewise.
+ (REGNO_REG_CLASS): Use FP_REGS where appropriate.
+ (REG_CLASS_FROM_LETTER): Handle 'x'.
+ (CLASS_MAX_NREGS): Handle FP_REGS.
+ (MEMORY_MOVE_COST): Likewise.
+ * config/ia64/ia64.md (itanium_class): Add fldp.
+ (type): Handle fldp.
+ (movti_internal): More allowable operand combinations. Use ldfp8 when
+ splitting unnecessary. Remove predicable attribute. Adjust
+ itanium_class attribute.
+ (smuldi3_highpart): Remove outdated comment.
+ (mulditi3, umulditi3, rotlti3): New expanders.
+ (addti3, subti3, mulditi3_internal, umulditi3_internal, negti2, rotlti3_internal): New insns.
+ (absti2): Disabled new insn for future reference.
+ Respective new splitters.
+ * config/ia64/itanium1.md (1_fldp, 1b_fldp): New insn reservations.
+ * config/ia64/itanium2.md (2_fldp, 2b_fldp): Likewise.
+ * config/ia64/ia64-protos.h (ia64_load_pair_ok): New.
+
+2005-07-25 James A. Morrison <phython@gcc.gnu.org>
+
+ PR rtl-optimization/23047
+ * simplify-rtx.c (simplify_const_relational_operation): Respect
+ flag_wrapv for comparisons with ABS.
+
+2005-07-27 James A. Morrison <phython@gcc.gnu.org>
+
+ PR tree-optimization/22493
+ * tree-vrp.c (extract_range_from_unary_expr): Deal with -fwrapv and
+ VR_ANTI_RANGEs properly for NEGATE_EXPRs and ABS_EXPRs.
+
+2005-07-27 Aldy Hernandez <aldyh@redhat.com>
+
+ * config/frv/frv.opt (moptimize-membar): New.
+
+ * doc/invoke.texi: Document -moptimize-membar and its inverse.
+
+ * config/frv/frv.h: Remove machine_function definition.
+
+ * config/frv/frv.c (struct frv_io): New.
+ (struct machine_function): Moved from frv.h. Add has_membar_p.
+ (frv_same_doubleword_p, frv_io_fixed_order_p, frv_io_union)
+ (frv_extract_membar, frv_io_check_address, frv_io_handle_set)
+ (frv_io_handle_use_1, frv_io_handle_use, frv_optimize_membar_local)
+ (frv_optimize_membar_global, frv_optimize_membar): New functions.
+ (frv_reorg): Call frv_optimize_membar when appropriate.
+ (bdesc_loads, bdesc_stores): Use the membar code as the icode field.
+ (frv_expand_builtin): Adjust calls accordingly.
+ (frv_io_address_cookie): New function.
+ (frv_expand_load_builtin, frv_expand_store_builtin): Emit a normal
+ load or store rather than a special insn. Add ccnstant address and
+ io-type operands to the membar.
+ (frv_ifcvt_modify_tests): Unsign regno.
+ (frv_ifcvt_modify_tests): Same.
+
+ * config/frv/frv.md: Remove UNSPEC_BUILTIN_{LOAD,STORE}. Change
+ UNSPEC_OPTIONAL_MEMBAR constant.
+ (builtin_read_<mode>): Delete.
+ (builtin_write_<mode>): Delete.
+ ("optional_membar_<mode>"): Add operand.
+
+ * testsuite/gcc.target/frv/all-builtin-read8.c: Delete.
+ * testsuite/gcc.target/frv/all-builtin-read16.c: Delete.
+ * testsuite/gcc.target/frv/all-builtin-read32.c: Delete.
+ * testsuite/gcc.target/frv/all-builtin-read64.c: Delete.
+ * testsuite/gcc.target/frv/all-builtin-write8.c: Delete.
+ * testsuite/gcc.target/frv/all-builtin-write16.c: Delete.
+ * testsuite/gcc.target/frv/all-builtin-write32.c: Delete.
+ * testsuite/gcc.target/frv/all-builtin-write64.c: Delete.
+ * testsuite/gcc.target/frv/all-read-write-1.c: New.
+
+2005-07-28 Kaz Kojima <kkojima@gcc.gnu.org>
+
+ * df.c (df_uses_record): Handle SCRATCH.
+
+2005-07-28 Steven Bosscher <stevenb@suse.de>
+
+ PR debug/20161
+ * passes.c (rest_of_decl_compilation): If decl is a type and
+ we have encountered errors, don't emit debug information.
+
+2005-07-27 Kenneth Zadeck <zadeck@naturalbridge.com>
+
+ * params.def: Fixed comment.
+
+2005-07-27 Bjoern Haase <bjoern.m.haase@web.de>
+
+ PR target/19885
+ * config/avr/avr.c (TARGET_ASM_ALIGNED_SI_OP): Add.
+ (TARGET_ASM_UNALIGNED_HI_OP): Add.
+ (TARGET_ASM_UNALIGNED_SI_OP): Add.
+
+2005-07-27 Steven Bosscher <stevenb@suse.de>
+
+ PR c++/22003
+ * varasm.c (assemble_start_function): Don't do anything that may
+ require a CFG if the current function is a thunk.
+
2005-07-25 Geoffrey Keating <geoffk@apple.com>
* doc/install.texi (Prerequisites): Mention that perl is needed