+2005-05-24 Ziemowit Laski <zlaski@apple.com>
+
+ * c-common.h (objc_comptypes): Remove prototype.
+ (objc_compare_types): New prototype.
+ (objc_volatilized_decl): Likewise.
+ (objc_type_quals_match): Likewise.
+ * c-decl.c (objc_mark_locals_volatile): Streamline by calling
+ objc_volatilize_decl().
+ * c-typeck.c (comp_target_types): Remove third parameter; do
+ not call objc_comptypes().
+ (comptypes): Remove calls to objc_comptypes().
+ (build_function_call): Extend compatible prototype check to ObjC.
+ (build_conditional_expr): Adjust call to comp_target_types().
+ (convert_for_assignment): Call objc_compare_types() instead of
+ objc_comptypes(); adjust calls to comp_target_types(); call
+ objc_type_quals_match() before issuing qualifier mismatch
+ warnings.
+ (build_binary_op): Call objc_compare_types() before issuing
+ pointer mismatch warnings; adjust calls to
+ comp_target_types().
+ * stub-objc.c (objc_comptypes): Remove stub.
+ (objc_compare_types): New stub.
+ (objc_volatilized_decl): Likewise.
+ (objc_type_quals_match): Likewise.
+
+2005-05-24 Paolo Carlini <pcarlini@suse.de>
+
+ * config/ia64/ia64intrin.h: Define nothing for C++:
+ overloaded builtins have been ported to C++.
+
+2005-05-24 Jeff Law <law@redhat.com>
+
+ * tree-nested.c (build_addr): New "context" argument. Temporarily
+ set current_function_decl around the call to build the ADDR_EXPR.
+ (get_static_chain): Pass proper context to build_addr.
+ (convert_nl_goto_reference): Likewise.
+ (convert_tramp_reference): Likewise.
+ (final_nesting_tree_1): Likewise.
+ * tree-profile.c (tree_gen_interval_profiler): Likewise.
+ (tree_gen_pow2_profiler): Likewise.
+ (tree_gen_one_value_profiler): Likewise.
+ * tree-ssa-loop-ivopts.c (build_addr_strip_iref): Likewise.
+ * tree.h (build_addr): Update prototype.
+
+2005-05-24 Kazu Hirata <kazu@cs.umass.edu>
+
+ * tree-flow.h (bb_ann_d): Remove has_escape_site.
+ * tree-ssa-alias.c (compute_points_to_addr_escape): Don't
+ write to has_escape_site.
+
+2005-05-24 Jeff Law <law@redhat.com>
+
+ * Makefile.in (tree-cfg.o): Depend on tree-ssa-propagate.h.
+ * tree-cfg.c: Include tree-ssa-propagate.h.
+ (replace_uses_by): Call recompute_tree_invarant_for_addr_expr as
+ needed.
+
+2005-05-24 Nick Clifton <nickc@redhat.com>
+
+ * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define
+ __NO_FPRS__ when 'f' class registers will not be available.
+
+2005-05-24 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
+
+ * config/m32r/m32r.c (m32r_expand_block_move): Return 0 if
+ nothing was done.
+ * config/m32r/m32r.md (movmemsi): If m32r_expand_block_move did
+ nothing then FAIL.
+ * config/m32r/m32r/m32r-protos.h (m32r_expand_block_move): Update
+ prototype.
+
+2005-05-23 Jeff Law <law@redhat.com>
+
+ * tree-ssa-dom.c (cprop_into_stmt): Do not call
+ recompute_tree_invariant_for_addr_expr here.
+ (optimize_stmt): Call it here instead and do so if anything
+ at all has changed in the statement and the RHS is an ADDR_EXPR.
+ * tree-ssa-forwprop.c (tidy_after_forward_propagate_addr): If
+ needed, call recompute_tree_invariant_for_addr_expr.
+ * tree-ssa-propagate.c (substitute_and_fold): Call
+ recompute_tree_invariant_for_addr_expr as needed.
+
+2005-05-23 Andreas Krebbel <krebbel1@de.ibm.com>
+
+ * config/s390/s390.c (s390_optimize_prologue): Don't replace an insn
+ saving less registers than the replacement.
+
+2005-05-23 Jan Hubicka <jh@suse.cz>
+
+ * tree-flow.h (stmt_ann_d): Kill GTY ((skip)) mark on BB.
+
+2005-05-23 Eric Botcazou <ebotcazou@libertysurf.fr>
+
+ * config/sparc/sparc-protos.h (sparc_expand_move): New prototype.
+ * config/sparc/sparc.c (sparc_expand_move): New function.
+ (sparc_emit_set_const64): Rewrite assert condition on entry.
+ (legitimate_constant_p) <CONST_VECTOR>: New case.
+ (legitimize_pic_address): Use TARGET_ARCH64 to select the mode.
+ * config/sparc/sparc.md (movqi, movhi, movsi, movdi, movV32,
+ movV64, movtf): Use nonimmediate_operand for the first operand.
+ Rewrite. Only invoke sparc_expand_move.
+ * config/sparc/predicates.md (input_operand): Reorder tests.
+
+2005-05-23 Jan Beulich <jbeulich@novell.com>
+
+ * gthr-posix.h (__gthread_recursive_mutex_init_function): Add
+ missing return statement.
+
+2005-05-22 Eric Botcazou <ebotcazou@libertysurf.fr>
+
+ * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Use
+ emit_move_insn for moves to TFmode stack slots.
+
+2005-05-21 Richard Guenther <rguenth@gcc.gnu.org>
+
+ * tree-stdarg.c (execute_optimize_stdarg): Handle references
+ to va_list of the form &va[0].
+
+2005-05-20 Jan Hubicka <jh@suse.cz>
+
+ * Makefile.in (insn-emit.o): Add basic-block.h dependency.
+ * genemit.c (main): Make insn-emit to include basic-block.h too.
+
+2005-05-20 Jan Hubicka <jh@suse.cz>
+
+ * cgraphunit.c (cgraph_expand_function): Force function being lowered.
+
+2005-05-19 Richard Henderson <rth@redhat.com>
+
+ * config/alpha/alpha.c (emit_unlikely_jump, emit_load_locked,
+ emit_store_conditional): Split out from ...
+ (alpha_split_atomic_op): ... here.
+ (alpha_split_compare_and_swap): New; extract from .md file.
+ (alpha_split_lock_test_and_set): Likewise.
+ * config/alpha/alpha-protos.h: Update.
+ * config/alpha/sync.md (sync_compare_and_swap<I48MODE>): Move
+ split code into alpha.c.
+ (sync_lock_test_and_set<I48MODE>): Likewise.
+
+2005-05-19 Richard Henderson <rth@redhat.com>
+
+ * unwind.h, unwind-pe.h: Revert gcc_unreachable change of 05-17.
+
+2005-05-19 Richard Henderson <rth@redhat.com>
+
+ * config/i386/sse.md (mulv4si3): Use all register inputs.
+ (mulv2di3): Likewise.
+
+2005-05-19 Richard Guenther <rguenth@gcc.gnu.org>
+
+ * tree-ssa-loop-ivopts.c (determine_base_object): Use
+ build_fold_addr_expr to generate trees of correct type.
+ Use fold_buildN if possible.
+
+2005-05-19 Jan Hubicka <jh@suse.cz>
+
+ * basic-block.h (REG_BR_PROB_BASE): Define.
+ * cgraph.c (cgraph_create_edge): Initialize loop_nest and count.
+ (dump_cgraph_node): Dump count.
+ (cgraph_clone_edge): Rescale counts.
+ (cgraph_clone_node): Likewise.
+ * cgraph.h: Include basic-block.h
+ (cgraph_node): Add count.
+ (cgraph_edge): Add count and loop_nest.
+ (cgraph_node, cgraph_edge, cgraph_clone_edge, cgraph_clone_node):
+ Update prototypes.
+ * cgraphunit.c: Kill now redundant inlining comment.
+ (cgraph_create_edges): Make static, maintain current basic block;
+ fix pasto.
+ (record_call_1): Fill in new fields.
+ * ipa-inline.c (cgraph_clone_inlined_nodes): Update call of
+ cgraph_clone_node.
+ (cgraph_decide_recursive_inlining): Likewise.
+ * rtl.h (REG_BR_PROB_BASE): Kill.
+ * tree-inline.c (copy_body_r): Update call of cgraph_clone_edge.
+ (expand_call_inline): Update call of cgraph_create_edge.
+ * tree-optimize.c (tree_rest_of_compilation): Likewise.
+
+2005-05-19 Nick Clifton <nickc@redhat.com>
+
+ * config/rs6000/eabispe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Use the
+ new rs6000_explicit_options structure.
+
+2005-05-19 Richard Henderson <rth@redhat.com>
+
+ PR target/21390
+ * config/alpha/alpha.c (alpha_emit_conditional_branch): Move
+ TFmode code swapping ...
+ (alpha_emit_xfloating_compare): ... here.
+ (alpha_emit_setcc): Update to match.
+ (alpha_lookup_xfloating_lib_func): Assert TARGET_HAS_XFLOATING_LIBS.
+
+2005-05-19 Richard Henderson <rth@redhat.com>
+
+ PR target/21657
+ * config/ia64/ia64.c (ia64_expand_tls_address): Remove extra
+ memory indirection in local-dynamic case.
+
+2005-05-18 Jie Zhang <jie.zhang@analog.com>
+ Bernd Schmidt <bernd.schmidt@analog.com>
+
+ * config/bfin/bfin.c (branch_dest): Add comment why it's
+ necessary.
+ * config/bfin/bfin.md (attr "length" default): Change the offset of
+ forward conditional branch of length 4 from 4096 to 4092.
+
+2005-05-19 Jan Beulich <jbeulich@novell.com>
+
+ * unwind-compat.c: Include tconfig.h and tsystem.h.
+ * unwind-dw2-fde-compat.c: Likewise.
+
+2005-05-18 Richard Henderson <rth@redhat.com>
+
+ PR 21541
+ * ifcvt.c (noce_process_if_block): Avoid conversion when the
+ memory destination is readonly.
+
+2005-05-18 Richard Henderson <rth@redhat.com>
+
+ PR 21541
+ * tree-ssa-operands.c (opf_non_specific): New.
+ (get_asm_expr_operands): Set it.
+ (add_call_clobber_ops, add_call_read_ops): Likewise.
+ (add_stmt_operand): Test it instead of opf_kill_def when
+ considering unmodifiable variables.
+
+ * tree-ssa-operands.c (get_expr_operands): Fix exact test.
+
+2005-05-19 Kazu Hirata <kazu@cs.umass.edu>
+
+ * cfgexpand.c, tree-cfg.c, tree-inline.c, tree-optimize.c,
+ tree-ssa-forwprop.c: Fix comment typos.
+ * doc/invoke.texi: Fix a typo.
+
+2005-05-18 Richard Henderson <rth@redhat.com>
+
+ * config.gcc (powerpc-*-linux*): Include linux64.opt when
+ including linux64.h.
+
+2005-05-18 Richard Henderson <rth@redhat.com>
+
+ * tree-cfg.c (pass_remove_useless): Revert last change.
+ * tree-optimize.c (init_tree_optimization_passes): Initialize
+ all_lowering_passes with PROP_gimple_any.
+
+2005-05-18 Devang Patel <dpatel@apple.com>
+
+ * config/rs6000/rs6000.md (insvsi_internal1): Subtract shift from
+ the mask end.
+
+2005-05-18 Richard Henderson <rth@redhat.com>
+
+ * tree-ssa-forwprop.c (cfg_changed): New.
+ (tidy_after_forward_propagate_addr): New.
+ (forward_propagate_addr_expr): Use it, and fold_stmt_inplace.
+ (forward_propagate_addr_into_variable_array_index): Likewise.
+ (tree_ssa_forward_propagate_single_use_vars): Cleanup cfg if
+ edges were removed.
+
+2005-05-18 Geoffrey Keating <geoffk@apple.com>
+
+ * dummy-checksum.c: New.
+ * genchecksum.c: New.
+ * c.opt (print_pch_checksum): New flag.
+ * c-pch.c (struct c_pch_validity): Make much shorter.
+ (no_checksum): New.
+ (host_machine): Remove.
+ (target_machine): Remove.
+ (get_ident): Change PCH version number.
+ (pch_init): When -fverbose-asm, print out the compiler fingerprint.
+ Don't put triplets or version string in PCH validity data.
+ Do put the compiler checksum in the validity data.
+ (c_common_valid_pch): Don't check triplets or version string. Do
+ check checksum.
+ (c_common_print_pch_checksum): New.
+ * c-opts.c (c_common_handle_option): Add OPT_print_pch_checksum.
+ Print fingerprint with -v.
+ * c-common.h (c_common_print_pch_checksum): New.
+ (executable_checksum): New.
+ * Makefile.in (STAGEMOVESTUFF): Add cc1*-dummy, *-checksum.c.
+ (cc1-dummy): New rule.
+ (cc1-checksum.c): New rule.
+ (cc1-checksum.o): New rule.
+ (cc1): Add checksum support.
+ (build/genchecksum): New.
+ (build/genchecksum.o): New.
+ (dummy-checksum.o): New.
+ (genobjnames): Add genchecksum.o.
+ (mostlyclean): Remove *-checksum.c.
+ (gnucompare): Add libgcc to list of directories checked.
+ Make comparison problems in libgcc/ and with checksum files only
+ be warnings.
+ * doc/invoke.texi (Precompiled Headers): Remove caution.
+ Document that it must be the exact same binary. Add a few
+ known-safe flags to the list.
+
+ * rs6000/predicates.md (fix_trunc_dest_operand): New.
+ * rs6000/rs6000.md (fix_truncdfsi2): Use fix_trunc_dest_operand.
+ Check that a memory operand is valid before trying to use it.
+
+ * tree-cfg.c (pass_remove_useless): This pass works on trees.
+
+2005-05-18 Richard Guenther <rguenth@gcc.gnu.org>
+
+ * tree.c (build1_stat): Don't try to handle two-operand
+ tree codes.
+
+2005-05-18 Richard Sandiford <rsandifo@redhat.com>
+
+ * config.gcc (sh*-*-*): Define SUPPORT_* macros to 1.
+ * config/sh/sh.h: Update mask names throughout.
+ (target_flags, ISIZE_BIT, DALIGN_BIT, SH1_BIT, SH2_BIT, SH3_BIT)
+ (SH_E_BIT, HARD_SH4_BIT, FPU_SINGLE_BIT, SH4_BIT, SH4A_BIT, FMOVD_BIT)
+ (SH5_BIT, SPACE_BIT, BIGTABLE_BIT, RELAX_BIT, USERMODE_BIT)
+ (HITACHI_BIT, NOMACSAVE_BIT, PREFERGOT_BIT, PADSTRUCT_BIT)
+ (LITTLE_ENDIAN_BIT, IEEE_BIT, SAVE_ALL_TR_BIT, HARD_SH2A_BIT)
+ (HARD_SH2A_DOUBLE_BIT, INDEXED_ADDRESS_BIT, PT_FIXED_BIT)
+ (INVALID_SYMBOLS_BIT, ADJUST_UNROLL_BIT, TARGET_DUMPISIZE)
+ (TARGET_ALIGN_DOUBLE, TARGET_SH1, TARGET_SH2, TARGET_SH3)
+ (TARGET_HARD_SH4, TARGET_FPU_SINGLE, TARGET_SH5, TARGET_FMOVD)
+ (TARGET_IEEE, TARGET_SMALLCODE, TARGET_BIGTABLE, TARGET_RELAX)
+ (TARGET_HITACHI, TARGET_NOMACSAVE, TARGET_PADSTRUCT)
+ (TARGET_LITTLE_ENDIAN, TARGET_USERMODE, TARGET_PREFERGOT)
+ (TARGET_SAVE_ALL_TARGET_REGS, TARGET_ALLOW_INDEXED_ADDRESS)
+ (TARGET_PT_FIXED, TARGET_INVALID_SYMBOLS, TARGET_ADJUST_UNROLL)
+ (TARGET_SWITCH_SH1, TARGET_SWITCH_SH2, TARGET_SWITCH_SH2E)
+ (TARGET_SWITCH_SH2A, TARGET_SWITCH_SH2A_SINGLE_ONLY)
+ (TARGET_SWITCH_SH2A_SINGLE, TARGET_SWITCH_SH2A_NOFPU)
+ (TARGET_SWITCH_SH3, TARGET_SWITCH_SH3E, TARGET_SWITCH_SH4_SINGLE_ONLY)
+ (TARGET_SWITCH_SH4_SINGLE, TARGET_SWITCH_SH4_NOFPU, TARGET_SWITCH_SH4)
+ (TARGET_SWITCH_SH4A, TARGET_SWITCH_SH4A_SINGLE_ONLY)
+ (TARGET_SWITCH_SH4A_SINGLE, TARGET_SWITCH_SH4A_NOFPU)
+ (TARGET_SWITCH_SH4AL, TARGET_SWITCH_SH5_64MEDIA)
+ (TARGET_SWITCH_SH5_64MEDIA_NOFPU, TARGET_SWITCHES_SH5_32MEDIA)
+ (TARGET_SWITCHES_SH5_32MEDIA_NOFPU, TARGET_SWITCH_SH5_32_ANY_EXTRA)
+ (TARGET_SWITCH_SH5_MEDIA_ANY_EXTRA, TARGET_SWITCHES)
+ (SUBTARGET_SWITCHES): Delete.
+ (TARGET_SH2E, TARGET_SH2A, TARGET_SH2A_SINGLE, TARGET_SH2A_DOUBLE)
+ (TARGET_SH3E, TARGET_CACHE32, TARGET_SUPERSCALAR, TARGET_HARVARD)
+ (TARGET_FPU_DOUBLE, TARGET_SH4A_ARCH, TARGET_SHMEDIA32)
+ (TARGET_SHMEDIA64): Redefine using other TARGET_* macros.
+ (TARGET_SH4): Undefine options.h definition and check MASK_SH1 as well.
+ (SUPPORT_SH1, SUPPORT_SH2E, SUPPORT_SH4, SUPPORT_SH4_SINGLE)
+ (SUPPORT_SH2A, SUPPORT_SH2A_SINGLE): Make numeric.
+ (SUPPORT_SH2): Define to 1 if SUPPORT_SH1.
+ (SUPPORT_SH3): Likewise SUPPORT_SH2.
+ (SUPPORT_SH4_NOFPU): Likewise SUPPORT_SH3.
+ (SUPPORT_SH4A_NOFPU, SUPPORT_SH4AL, SUPPORT_SH2A_NOFPU): Likewise
+ SUPPORT_SH4_NOFPU.
+ (SUPPORT_SH3E): Likewise SUPPORT_SH2E.
+ (SUPPORT_SH4_SINGLE_ONLY, SUPPORT_SH4A_SINGLE_ONLY)
+ (SUPPORT_SH2A_SINGLE_ONLY): Likewise SUPPORT_SH3E.
+ (SUPPORT_SH4A): Likewise SUPPORT_SH4.
+ (SUPPORT_SH4A_SINGLE): Likewise SUPPORT_SH4_SINGLE.
+ (SUPPORT_SH5_32MEDIA): Likewise SUPPORT_SH5_COMPACT.
+ (SUPPORT_SH5_32MEDIA_NOFPU): Likewise SUPPORT_SH5_COMPACT_NOFPU.
+ (SUPPORT_ANY_SH5_32MEDIA, SUPPORT_ANY_SH5_64MEDIA)
+ (SUPPORT_ANY_SH5): New macros.
+ (TARGET_NONE): Replace with...
+ (MASK_ARCH): ...this new macro.
+ * config/sh/elf.h: Update mask names
+ * config/sh/linux.h: Likewise.
+ * config/sh/little.h: Likewise.
+ * config/sh/netbsd-elf.h: Likewise.
+ * config/sh/symbian-pre.h: Likewise.
+ * config/sh/sh.c (sh_handle_option): New function.
+ (TARGET_DEFAULT_TARGET_FLAGS, TARGET_HANDLE_OPTION): Override defaults.
+ (calc_live_regs): Use MASK_FPU_SINGLE instead of FPU_SINGLE_BIT.
+ (sh_target_switches, target_switches): Delete.
+ (sh_pch_valid_p): Check for specific differences in the target_flags
+ settings.
+ (sh_init_cumulative_args): Use MASK_HITACHI instead of HITACHI_BIT.
+ * config/sh/sh.opt: New file.
+
+2005-05-18 Richard Henderson <rth@redhat.com>
+
+ PR target/21632
+ * config/ia64/ia64.c (ia64_extra_constraint) <'T'>: Use
+ small_addr_symbolic_operand.
+
2005-05-18 Jeff Law <law@redhat.com>
* tree-ssa-forwprop.c (forward_propagate_addr_expr): Do not
* tree-cfg.c (replace_uses_by): Export.
* tree-flow.h (replace_uses_by): Declare.
-2005-05-17 Mike Stump <mrs@apple.com>
+2005-05-17 Ziemowit Laski <zlaski@apple.com>
+ Mike Stump <mrs@apple.com>
Yet more Objective-C++...
(init_tree_optimization_passes): Move some to all_lowering_passes.
(tree_lowering_passes): New function.
(tree_rest_of_compilation): Register cfg hooks; save/unsave eh.
+ * tree-pass.h (tree_lowering_passes): Declare
2005-05-17 Nathan Sidwell <nathan@codesourcery.com>