+2007-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * c-common.c (vector_types_convertible_p,
+ decl_with_nonnull_addr_p, c_promoting_integer_type_p,
+ self_promoting_args_p): Constify.
+ * c-common.h (has_c_linkage, decl_with_nonnull_addr_p,
+ c_promoting_integer_type_p, self_promoting_args_p,
+ anon_aggr_type_p, vector_types_convertible_p): Likewise.
+ * c-decl.c (anon_aggr_type_p): Likewise.
+ * * c-dump.c (dump_stmt): Likewise.
+ * c-objc-common.c (has_c_linkage): Likewise.
+ * c-tree.h (same_translation_unit_p): Likewise.
+ * c-typeck.c (null_pointer_constant_p,
+ tagged_types_tu_compatible_p, function_types_compatible_p,
+ type_lists_compatible_p, lvalue_or_else, lvalue_p,
+ comptypes_internal, struct tagged_tu_seen_cache,
+ same_translation_unit_p, alloc_tagged_tu_seen_cache,
+ c_size_in_bytes): Likewise.
+ * ggc-common.c (compare_ptr_data, hash_descriptor, eq_descriptor,
+ hash_ptr, eq_ptr): Likewise.
+ * langhooks-def.h (lhd_decl_ok_for_sibcall,
+ LANG_HOOKS_OMP_PRIVATIZE_BY_REFERENCE): Likewise.
+ * langhooks.c (lhd_decl_ok_for_sibcall): Likewise.
+ * langhooks.h (ok_for_sibcall, omp_privatize_by_reference):
+ Likewise.
+ * optabs.c (optab_for_tree_code): Likewise.
+ * optabs.h (optab_for_tree_code): Likewise.
+ * rtl.h (simplify_rtx): Likewise.
+ * simplify-rtx.c (simplify_rtx): Likewise.
+ * tree-dump.c (queue, queue_and_dump_index, queue_and_dump_type,
+ dump_flag, dump_node): Likewise.
+ * tree-dump.h (struct dump_info, dump_stmt, queue_and_dump_index,
+ queue_and_dump_type, dump_flag): Likewise.
+ * tree-flow.h (vect_can_force_dr_alignment_p): Likewise.
+ * tree-pass.h (dump_node): Likewise.
+ * tree-vectorizer.c (vect_can_force_dr_alignment_p,
+ supportable_narrowing_operation): Likewise.
+ * tree-vectorizer.h (vect_can_force_dr_alignment_p,
+ supportable_narrowing_operation): Likewise.
+ * tree-vrp.c (needs_overflow_infinity, supports_overflow_infinity,
+ is_negative_overflow_infinity, is_positive_overflow_infinity,
+ is_overflow_infinity, vrp_val_is_max, vrp_val_is_min,
+ nonnull_arg_p, get_value_range, vrp_operand_equal_p,
+ update_value_range, add_equivalence, ssa_name_nonnegative_p,
+ ssa_name_nonzero_p, fp_predicate): Likewise.
+ * tree.c (auto_var_in_fn_p, empty_body_p): Likewise.
+ * tree.h (empty_body_p, auto_var_in_fn_p, ssa_name_nonzero_p,
+ ssa_name_nonnegative_p): Likewise.
+
+2007-08-25 Hans Kester <hans.kester@ellips.nl>
+
+ * config.gcc : Add x86_64-elf target.
+
+2007-08-25 Jakub Jelinek <jakub@redhat.com>
+
+ * expr.c (store_expr): Fix order of store_by_pieces arguments.
+
+2007-08-24 Sandra Loosemore <sandra@codesourcery.com>
+ Nigel Stephens <nigel@mips.com>
+
+ PR target/11787
+
+ * doc/tm.texi (SET_RATIO, SET_BY_PIECES_P): Document new macros.
+ (STORE_BY_PIECES_P): No longer applies to __builtin_memset.
+ * expr.c (SET_BY_PIECES_P): Define.
+ (can_store_by_pieces, store_by_pieces): Add MEMSETP argument; use
+ it to decide whether to use SET_BY_PIECES_P or STORE_BY_PIECES_P.
+ (store_expr): Pass MEMSETP argument to can_store_by_pieces and
+ store_by_pieces.
+ * expr.h (SET_RATIO): Define.
+ (can_store_by_pieces, store_by_pieces): Update prototypes.
+ * builtins.c (expand_builtin_memcpy): Pass MEMSETP argument to
+ can_store_by_pieces/store_by_pieces.
+ (expand_builtin_memcpy_args): Likewise.
+ (expand_builtin_strncpy): Likewise.
+ (expand_builtin_memset_args): Likewise. Also remove special case
+ for optimize_size so that can_store_by_pieces/SET_BY_PIECES_P can
+ decide what to do instead.
+ * value-prof.c (tree_stringops_transform): Pass MEMSETP argument
+ to can_store_by_pieces.
+
+ * config/sh/sh.h (SET_BY_PIECES_P): Clone from STORE_BY_PIECES_P.
+ * config/s390/s390.h (SET_BY_PIECES_P): Likewise.
+
+ * config/mips/mips.opt (mmemcpy): Change from Var to Mask.
+ * config/mips/mips.c (override_options): Make -Os default to -mmemcpy.
+ * config/mips/mips.h (MIPS_CALL_RATIO): Define.
+ (MOVE_RATIO, CLEAR_RATIO, SET_RATIO): Define.
+ (STORE_BY_PIECES_P): Define.
+
+2007-08-24 Tom Tromey <tromey@redhat.com>
+
+ * varpool.c (varpool_last_needed_node): Fix comment typo.
+ * c-decl.c (duplicate_decls): Fix comment typo.
+ (clone_underlying_type): Update comment.
+
+2007-08-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * config/alpha/alpha.c (alpha_mangle_type, decl_has_samegp,
+ alpha_in_small_data_p, alpha_split_complex_arg,
+ alpha_stdarg_optimize_hook, TARGET_ASM_CAN_OUTPUT_MI_THUNK):
+ Constify.
+ * config/arm/arm-protos.h (arm_mangle_type): Likewise.
+ * config/arm/arm.c (arm_comp_type_attributes, arm_mangle_type):
+ Likewise.
+ * config/bfin/bfin.c (funkind, bfin_comp_type_attributes,
+ TARGET_ASM_CAN_OUTPUT_MI_THUNK): Likewise.
+ * config/darwin-protos.h (darwin_binds_local_p): Likewise.
+ * config/darwin.c (darwin_binds_local_p): Likewise.
+ * config/frv/frv.c (frv_string_begins_with, frv_in_small_data_p):
+ Likewise.
+ * config/i386/i386-protos.h (i386_pe_binds_local_p,
+ i386_pe_valid_dllimport_attribute_p): Likewise.
+ * config/i386/i386.c (ix86_function_regparm,
+ ix86_comp_type_attributes, ix86_ms_bitfield_layout_p,
+ x86_can_output_mi_thunk, ix86_mangle_type,
+ TARGET_USE_BLOCKS_FOR_CONSTANT_P): Likewise.
+ * config/i386/winnt.c (i386_pe_valid_dllimport_attribute_p,
+ i386_pe_binds_local_p): Likewise.
+ * config/ia64/ia64.c
+ (ia64_first_cycle_multipass_dfa_lookahead_guard_spec,
+ ia64_needs_block_p, ia64_in_small_data_p, ia64_mangle_type,
+ ia64_invalid_conversion, ia64_invalid_unary_op,
+ ia64_invalid_binary_op, TARGET_ASM_CAN_OUTPUT_MI_THUNK):
+ Likewise.
+ * config/m32c/m32c.c (m32c_comp_type_attributes): Likewise.
+ * config/m32r/m32r.c (m32r_in_small_data_p): Likewise.
+ * config/m68k/m68k.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): Likewise.
+ * config/mips/mips.c (mips_use_blocks_for_constant_p,
+ mips_in_small_data_p, mips_use_anchors_for_symbol_p,
+ mips_comp_type_attributes, TARGET_ASM_CAN_OUTPUT_MI_THUNK,
+ mips_near_type_p, mips_far_type_p, mips_global_symbol_p,
+ mips_symbol_binds_local_p, mips_classify_symbol): Likewise.
+ * config/pa/pa.c (pa_commutative_p): Likewise.
+ * config/rs6000/rs6000-protos.h (rs6000_elf_in_small_data_p):
+ Likewise.
+ * config/rs6000/rs6000.c (rs6000_invalid_within_doloop,
+ rs6000_ms_bitfield_layout_p, rs6000_mangle_type,
+ rs6000_use_blocks_for_constant_p,
+ rs6000_vector_alignment_reachable, rs6000_is_opaque_type,
+ invalid_arg_for_unprototyped_fn, TARGET_ASM_CAN_OUTPUT_MI_THUNK,
+ TARGET_SPLIT_COMPLEX_ARG, rs6000_elf_in_small_data_p): Likewise.
+ * config/s390/s390.c (s390_mangle_type,
+ TARGET_ASM_CAN_OUTPUT_MI_THUNK, TARGET_INVALID_WITHIN_DOLOOP):
+ Likewise.
+ * config/score/score.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK,
+ th_in_small_data_p): Likewise.
+ * config/sh/sh.c (sh_ms_bitfield_layout_p,
+ sh_dwarf_calling_convention, TARGET_ASM_CAN_OUTPUT_MI_THUNK):
+ Likewise.
+ * config/sparc/sparc.c (sparc_can_output_mi_thunk,
+ sparc_mangle_type): Likewise.
+ * config/spu/spu.c (spu_vector_alignment_reachable): Likewise.
+ * config/xtensa/xtensa.c (TARGET_SPLIT_COMPLEX_ARG): Likewise.
+ * emit-rtl.c (const_fixed_htab_hash, const_fixed_htab_eq):
+ Likewise.
+ * hooks.c (hook_bool_mode_const_rtx_false,
+ hook_bool_mode_const_rtx_true,
+ hook_bool_const_tree_hwi_hwi_const_tree_false,
+ hook_bool_const_tree_hwi_hwi_const_tree_true,
+ hook_int_const_tree_0, hook_int_const_tree_const_tree_1,
+ hook_constcharptr_const_tree_null,
+ hook_constcharptr_const_rtx_null,
+ hook_constcharptr_const_tree_const_tree_null,
+ hook_constcharptr_int_const_tree_null,
+ hook_constcharptr_int_const_tree_const_tree_null): New.
+ (hook_bool_mode_rtx_false, hook_bool_mode_rtx_true,
+ hook_bool_tree_hwi_hwi_tree_false,
+ hook_bool_tree_hwi_hwi_tree_true, hook_int_tree_0,
+ hook_int_tree_tree_1, hook_constcharptr_tree_null,
+ hook_constcharptr_rtx_null, hook_constcharptr_tree_tree_null,
+ hook_constcharptr_int_tree_null,
+ hook_constcharptr_int_tree_tree_null): Delete.
+ (default_can_output_mi_thunk_no_vcall): Constify.
+ * hooks.h (hook_bool_mode_rtx_false, hook_bool_mode_rtx_true,
+ hook_bool_tree_hwi_hwi_tree_false,
+ hook_bool_tree_hwi_hwi_tree_true, hook_int_tree_0,
+ hook_int_tree_tree_1, hook_constcharptr_tree_null,
+ hook_constcharptr_rtx_null, hook_constcharptr_tree_tree_null,
+ hook_constcharptr_int_tree_null,
+ hook_constcharptr_int_tree_tree_null): Delete.
+ (hook_bool_mode_const_rtx_false, hook_bool_mode_const_rtx_true,
+ hook_bool_const_tree_hwi_hwi_const_tree_false,
+ hook_bool_const_tree_hwi_hwi_const_tree_true,
+ hook_int_const_tree_0, hook_int_const_tree_const_tree_1,
+ hook_constcharptr_const_tree_null,
+ hook_constcharptr_const_rtx_null,
+ hook_constcharptr_const_tree_const_tree_null,
+ hook_constcharptr_int_const_tree_null,
+ hook_constcharptr_int_const_tree_const_tree_null): New.
+ (default_can_output_mi_thunk_no_vcall): Constify.
+ * integrate.c (function_attribute_inlinable_p): Likewise.
+ * integrate.h (function_attribute_inlinable_p): Likewise.
+ * jump.c (rtx_renumbered_equal_p): Likewise.
+ * output.h (decl_readonly_section, categorize_decl_for_section,
+ default_use_anchors_for_symbol_p, default_binds_local_p,
+ default_binds_local_p_1): Likewise.
+ * rtl.h (rtx_renumbered_equal_p, decl_default_tls_model):
+ Likewise.
+ * target-def.h (TARGET_ASM_CAN_OUTPUT_MI_THUNK,
+ TARGET_VALID_DLLIMPORT_ATTRIBUTE_P, TARGET_VECTOR_OPAQUE_P,
+ TARGET_COMMUTATIVE_P, TARGET_USE_BLOCKS_FOR_CONSTANT_P,
+ TARGET_COMP_TYPE_ATTRIBUTES,
+ TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P,
+ TARGET_MS_BITFIELD_LAYOUT_P, TARGET_MANGLE_TYPE,
+ TARGET_IN_SMALL_DATA_P, TARGET_INVALID_CONVERSION,
+ TARGET_INVALID_UNARY_OP, TARGET_INVALID_BINARY_OP,
+ TARGET_DWARF_CALLING_CONVENTION): Likewise.
+ * target.h (can_output_mi_thunk, needs_block_p,
+ first_cycle_multipass_dfa_lookahead_guard_spec,
+ vector_alignment_reachable, comp_type_attributes,
+ function_attribute_inlinable_p, ms_bitfield_layout_p, mangle_type,
+ commutative_p, use_blocks_for_constant_p,
+ use_anchors_for_symbol_p, in_small_data_p, binds_local_p,
+ vector_opaque_p, dwarf_calling_convention, stdarg_optimize_hook,
+ invalid_within_doloop, valid_dllimport_attribute_p,
+ split_complex_arg, invalid_arg_for_unprototyped_fn,
+ invalid_conversion, invalid_unary_op, invalid_binary_op):
+ Likewise.
+ * targhooks.c (default_invalid_within_doloop,
+ hook_invalid_arg_for_unprototyped_fn,
+ default_builtin_vector_alignment_reachable): Likewise.
+ (hook_bool_rtx_commutative_p): Delete.
+ (hook_bool_const_rtx_commutative_p): New.
+ * targhooks.h (default_invalid_within_doloop,
+ default_builtin_vector_alignment_reachable,
+ hook_invalid_arg_for_unprototyped_fn): Constify.
+ (hook_bool_rtx_commutative_p): Delete.
+ (hook_bool_const_rtx_commutative_p): New.
+ * varasm.c (bss_initializer_p, decl_default_tls_model,
+ categorize_decl_for_section, decl_readonly_section,
+ default_use_anchors_for_symbol_p, default_binds_local_p,
+ default_binds_local_p_1): Constify.
+
+2007-08-24 Jie Zhang <jie.zhang@analog.com>
+
+ * config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Define
+ __NO_BUILTIN if -fno-builtin.
+
+2007-08-24 Jie Zhang <jie.zhang@analog.com>
+
+ * config/bfin/bfin.c (print_operand): Report error instead of
+ ICE for wrong operand.
+
+2007-08-24 Michael Matz <matz@suse.de>
+
+ * Makefile.in (GTFILES_H): Use $(patsubst) instead of $(subst).
+
+2007-08-24 Richard Guenther <rguenther@suse.de>
+
+ PR middle-end/33166
+ * tree-ssa.c (useless_type_conversion_p): Split into a
+ recursive and a non-recursive part.
+ (useless_type_conversion_p_1): New function.
+ * tree-ssa-ccp.c (fold_stmt_r): Make sure that the result
+ from maybe_fold_offset_to_reference is trivially convertible
+ to the desired type before doing the simplification.
+
+2007-08-24 Jakub Jelinek <jakub@redhat.com>
+
+ * expr.c (store_expr): Optimize initialization of an array
+ with STRING_CST.
+ * expr.h (builtin_strncpy_read_str): New prototype.
+ * builtins.c (builtin_strncpy_read_str): Remove prototype.
+ No longer static.
+
+2007-08-24 Uros Bizjak <ubizjak@gmail.com>
+
+ PR middle-end/33157
+ * ifcvt.c (noce_find_if_block): Do not clear if_info.cond_earliest
+ field when initializing if_info structure.
+
+2007-08-24 Richard Guenther <rguenther@suse.de>
+
+ * Makefile.in (tree-inline.o): Add $(TARGET_H) and $(INTEGRATE_H)
+ dependencies.
+ * c-objc-common.c (c_cannot_inline_tree_fn): Remove.
+ * langhooks.c (lhd_tree_inlining_cannot_inline_tree_fn): Likewise.
+ * tree-inline.c (inlinable_function_p): Fold in common parts of
+ the cannot_inline_tree_fn langhook.
+ * langhooks-def.h (lhd_tree_inlining_cannot_inline_tree_fn): Remove.
+ (LANG_HOOKS_TREE_INLINING_CANNOT_INLINE_TREE_FN): Likewise.
+ (LANG_HOOKS_TREE_INLINING_INITIALIZER): Remove initializer for
+ cannot_inline_tree_fn langhook.
+ * langhooks.h (struct lang_hooks_for_tree_inlining): Remove
+ cannot_inline_tree_fn member.
+
2007-08-24 Richard Guenther <rguenther@suse.de>
* expr.c (get_inner_reference): Do computation of bitoffset