+2007-08-17 H.J. Lu <hongjiu.lu@intel.com>
+
+ * Makefile.in (version.o): Depend on $(REVISION) only if
+ REVISION_s is defined.
+
+2007-08-17 Sa Liu <saliu@de.ibm.com>
+ Ulrich Weigand <uweigand@de.ibm.com>
+
+ PR middle-end/32970
+ * tree.c (reconstruct_complex_type): For a pointer to a vector,
+ use build_qualified_type to retain qualifiers of the base type.
+
+2007-08-17 Chen Liqin <liqin@sunnorth.com.cn>
+
+ * config/score/score.md : Update pattern tablejump.
+ * config/score/score.c : Update score_initialize_trampoline
+ function.
+ * config/score/score.h (TRAMPOLINE_TEMPLATE): Added macro.
+ (TRAMPOLINE_INSNS, TRAMPOLINE_SIZE) Update macro.
+ * doc/contrib.texi: Add my entry.
+
+2007-08-16 H.J. Lu <hongjiu.lu@intel.com>
+
+ * Makefile.in (REVISION): New.
+ (REVISION_c): New.
+ (REVISION_s): New.
+ (version.o): Also depend on $(REVISION). Add
+ -DREVISION=$(REVISION_s).
+
+ * version.c (version_string): Add REVISION.
+
+2007-08-16 Seongbae Park <seongbae.park@gmail.com>
+
+ * tree-eh.c (lower_try_finally_onedest): Reset the locus
+ of GOTO that's relocated to a different block.
+
+2007-08-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * c-common.c (const_strip_array_types): New.
+ * c-common.h (lang_missing_noreturn_ok_p): Delete.
+ (const_strip_array_types): New.
+ * c-objc-common.c (c_disregard_inline_limits,
+ c_warn_unused_global_decl): Constify.
+ * c-tree.h (c_disregard_inline_limits, c_warn_unused_global_decl,
+ c_vla_type_p, c_incomplete_type_error): Likewise.
+ * c-typeck.c (c_incomplete_type_error, c_vla_type_p): Likewise.
+ * hooks.c (hook_bool_const_tree_false): New.
+ * hooks.h (hook_bool_const_tree_false): Likewise.
+ * langhooks-def.h (lhd_warn_unused_global_decl,
+ lhd_incomplete_type_error, lhd_expr_size,
+ lhd_tree_inlining_disregard_inline_limits,
+ lhd_tree_inlining_auto_var_in_fn_p, lhd_tree_dump_type_quals,
+ LANG_HOOKS_GENERIC_TYPE_P, LANG_HOOKS_TYPE_MAX_SIZE): Constify.
+ * langhooks.c (lhd_warn_unused_global_decl,
+ lhd_incomplete_type_error,
+ lhd_tree_inlining_disregard_inline_limits,
+ lhd_tree_inlining_auto_var_in_fn_p, lhd_tree_dump_type_quals,
+ lhd_expr_size): Likewise.
+ * langhooks.h (lang_hooks_for_tree_inlining,
+ lang_hooks_for_tree_dump, lang_hooks_for_types,
+ lang_hooks_for_decls, lang_hooks): Likewise.
+ * pointer-set.c (pointer_set_t, pointer_set_create,
+ pointer_set_contains, insert_aux, pointer_set_insert,
+ pointer_set_traverse, pointer_map_t, pointer_map_create,
+ pointer_map_contains, pointer_map_insert, pointer_map_traverse):
+ Likewise.
+ * pointer-set.h (pointer_set_contains, pointer_set_insert,
+ pointer_set_traverse, pointer_map_contains, pointer_map_insert,
+ pointer_map_traverse): Likewise.
+ * predict.c (assert_is_empty): Likewise.
+ * tree-affine.c (free_name_expansion): Likewise.
+ * tree-cfg.c (edge_to_cases_cleanup): Likewise.
+ * tree.c (size_in_bytes, max_int_size_in_bytes): Likewise.
+ * tree.h (size_in_bytes, max_int_size_in_bytes): Likewise.
+
+2007-08-16 Victor Kaplansky <victork@il.ibm.com>
+
+ * tree-vectorizer.c (new_loop_vec_info): Initialize new
+ field.
+ (destroy_loop_vec_info): Add call to VEC_free.
+ * tree-vectorizer.h (may_alias_ddrs): Define.
+ (LOOP_VINFO_MAY_ALIAS_DDRS): Define.
+ * tree-vect-analyze.c (vect_analyze_data_ref_dependence):
+ Change reporting to dump.
+ (vect_is_duplicate_ddr): New.
+ (vect_mark_for_runtime_alias_test): New.
+ (vect_analyze_data_ref_dependences) Add call to
+ vect_mark_for_runtime_alias_test.
+ (vect_enhance_data_refs_alignment): Define local variable
+ vect_versioning_for_alias_required, don't perform
+ peeling for alignment if versioning for alias is
+ required.
+ (vect_enhance_data_refs_alignment): Use
+ PARAM_VECT_MAX_VERSION_FOR_ALIGNMENT_CHECKS instead of
+ PARAM_VECT_MAX_VERSION_CHECKS.
+ * tree-vect-transform.c
+ (vect_create_cond_for_alias_checks): New.
+ (vect_transform_loop): Add call to
+ vect_create_cond_for_alias_checks.
+ (vect_vfa_segment_size): New.
+ * params.def (PARAM_VECT_MAX_VERSION_FOR_ALIGNMENT_CHECKS):
+ Rename.
+ (PARAM_VECT_MAX_VERSION_FOR_ALIAS_CHECKS): Define.
+ * gcc/doc/invoke.texi
+ (vect-max-version-for-alignment-checks): Document.
+ (vect-max-version-for-alias-checks): Document.
+ (vect-max-version-checks): Remove.
+
+2007-08-16 Uros Bizjak <ubizjak@gmail.com>
+
+ * config/i386/i386.md (*rep_movdi_rex64): Emit "rep" prefix on
+ the same line as the instruction for all asm dialects.
+ (*rep_movsi): Ditto.
+ (*rep_movsi_rex64): Ditto.
+ (*rep_movqi): Ditto.
+ (*rep_movqi_rex64): Ditto.
+ (*rep_stosdi_rex64): Ditto.
+ (*rep_stossi): Ditto.
+ (*rep_stossi_rex64): Ditto.
+ (*rep_stosqi): Ditto.
+ (*rep_stosqi_rex64): Ditto.
+ (*cmpstrnqi_nz_1): Ditto.
+ (*cmpstrnqi_nz_rex_1): Ditto.
+ (*cmpstrnqi_1): Ditto.
+ (*cmpstrnqi_rex_1): Ditto.
+ (*strlenqi_1): Ditto.
+ (*strlenqi_rex_1): Ditto.
+ * config/i386/sync.md (*sync_compare_and_swap<mode>): Emit "lock"
+ prefix on the same line as the instruction for all asm dialects.
+ (sync_double_compare_and_swap<mode>): Ditto.
+ (*sync_double_compare_and_swapdi_pic): Ditto.
+ (*sync_compare_and_swap_cc<mode>): Ditto.
+ (sync_double_compare_and_swap_cc<mode>): Ditto.
+ (*sync_double_compare_and_swap_ccdi_pic): Ditto.
+ (sync_old_add<mode>): Ditto.
+ (sync_add<mode>): Ditto.
+ (sync_sub<mode>): Ditto.
+ (sync_ior<mode>): Ditto.
+ (sync_and<mode>): Ditto.
+ (sync_xor<mode>): Ditto.
+
+2007-08-16 Richard Sandiford <richard@codesourcery.com>
+
+ PR middle-end/32897
+ * reload.c (find_reloads): Check that the memory returned by
+ find_reloads_toplev was not the result of forcing a constant
+ to memory.
+ (find_reloads_toplev): Always use simplify_gen_subreg to get
+ the subreg of a constant. If the result is also a constant,
+ but not a legitimate one, force it into the constant pool
+ and reload its address.
+
+2007-08-15 David Edelsohn <edelsohn@gnu.org>
+
+ * config/rs6000/rs6000.c (rs6000_rtx_costs): Add CLZ, CTZ, and
+ POPCOUNT.
+
+2007-08-15 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * config/rs6000/rs6000.c (rs6000_file_start): Output a .gnu_attribute
+ directive for the current vector ABI.
+
+2007-08-15 Steve Ellcey <sje@cup.hp.com>
+
+ PR target/32963
+ * caller-save.c (reg_save_code): Set invalide status on restore code.
+
+2007-08-15 Diego Novillo <dnovillo@google.com>
+
+ * tree-ssa-alias.c (compute_memory_partitions): Use
+ alias_bitmap_obstack to allocate bitmaps.
+ (reset_alias_info): Factor out of init_alias_info.
+ Mark all name tags not associated to an SSA name for renaming.
+ (init_alias_info): Call it.
+ (create_name_tags): Tidy. Add comments.
+ (dump_points_to_info_for): Do not call get_mem_sym_stats_for.
+
+2007-08-15 Maxim Kuvyrkov <maxim@codesourcery.com>
+
+ * config/mips/mips.c (vr4130_swap_insns_p): Use new interface to
+ scheduler dependencies.
+
+2007-08-15 Rask Ingemann Lambertsen <rask@sygehus.dk>
+
+ * config/i386/i386.md (subsi3_carry_zext): Remove "m" constraint for
+ "register_operand".
+ (*iorsi_1_zext): Likewise.
+ (*iorsi_1_zext_imm): Likewise.
+ * config/i386/sse.md: (*sse4_1_extractps): Use "nonimmediate_operand"
+ with "rm"/"xm" constraint.
+ (sse2_vmsqrtv2df2): Likewise.
+
+2007-08-15 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/33074
+ * emit-rtl.c (try_split): Use INSN_LIST instead of EXPR_LIST for
+ REG_LIBCALL note.
+
+2007-08-14 Daniel Berlin <dberlin@dberlin.org>
+
+ * tree-pass.h (PROP_pta): Removed.
+ (TODO_rebuild_alias): New.
+ (pass_may_alias): Removed.
+ * tree-ssa-ccp.c (execute_fold_all_builtins): Only rebuild
+ aliasing if we changed something.
+ * tree-ssa-alias.c (compute_may_aliases): Make non-static. Update
+ SSA internally.
+ (pass_may_alias): Removed.
+ (create_structure_vars): Return TODO_rebuild_alias.
+ * tree-ssa-pre.c (do_pre): Return TODO_rebuild_alias.
+ * tree-sra.c (tree_sra): Only rebuild aliasing if something
+ changed.
+ (tree_sra_early): We never affect aliasing right now.
+ * tree-flow.h (compute_may_aliases): New prototype.
+ * passes.c: Remove pass_may_alias from the passes.
+ (execute_function_todo): Support TODO_rebuild_alias.
+
2007-08-14 Kai Tietz <kai.tietz@onevision.com>
* i386.c: (legitimize_address): Move dllimported variable check
CCCmode for LTU, GTU, LEU and GEU.
(ix86_comparison_operator): Likewise.
(ix86_carry_flag_operator): Carry flag is set if LTU or GTU in CCCmode.
- * gcc/config/i386/i386.c (put_condition_code): Support CCCmode.
+ * config/i386/i386.c (put_condition_code): Support CCCmode.
(ix86_cc_mode): Use CCCmode when testing for overflow of PLUS
or MINUS expressions.
* config/mips/mips.md: Update after above changes.
2007-08-08 Vladimir Yanovsky <yanov@il.ibm.com>
- Revital Eres <eres@il.ibm.com>
+ Revital Eres <eres@il.ibm.com>
* ddg.c (print_ddg): Add dump information.
* modulo-sched.c (print_node_sched_params): Add parameter and
2007-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
- * gcc/config/i386/gnu.h (STARTFILE_SPEC): Use gcrt0.o in profile mode, add
+ * config/i386/gnu.h (STARTFILE_SPEC): Use gcrt0.o in profile mode, add
-profile option, add pie support.
(ENDFILE_SPEC): New spec.
- * gcc/config/gnu.h (LIB_SPEC): Add -profile option.
+ * config/gnu.h (LIB_SPEC): Add -profile option.
2007-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
- * gcc/config/i386/gnu.h (CPP_SPEC): Add -pthread option.
- * gcc/config/gnu.h (LIB_SPEC): Likewise.
+ * config/i386/gnu.h (CPP_SPEC): Add -pthread option.
+ * config/gnu.h (LIB_SPEC): Likewise.
2007-08-07 Yaz Saito <saito@google.com>
Ian Lance Taylor <iant@google.com>
2007-07-29 Mark Mitchell <mark@codesourcery.com>
- gcc/
* config/m68k/lb1sf68.asm (FUNC): New macro.
(__mulsi3): Use it.
(__udivsi3): Likewise.
2007-07-04 Rask Ingemann Lambertsen <rask@sygehus.dk>
- * config/gcc/v850/v850.c (expand_prologue): Make sure
+ * config/v850/v850.c (expand_prologue): Make sure
GEN_INT() argument is sign extended rather than zero extended.
(expand_epilogue): Likewise.
(output_move_double): Delete.
- * config/gcc/v850/v850-protos.h (output_move_double): Delete.
- * config/gcc/v850/v850.md (movdi): Delete.
+ * config/v850/v850-protos.h (output_move_double): Delete.
+ * config/v850/v850.md (movdi): Delete.
(*movdi_internal): Delete.
(movdf): Delete.
(*movdf_internal): Delete.
(scan_function): Likewise.
(analyze_function): Likewise.
(static_execute): Likewise.
- * gcc/ipa-reference.c (scan_for_static_refs): Likewise.
+ * ipa-reference.c (scan_for_static_refs): Likewise.
(merge_callee_local_info): Likewise.
(analyze_function): Use type safe memory macros.
(static_execute): Likewise. Cast according to the coding conventions.
2007-06-11 Rafael Avila de Espindola <espindola@google.com>
- * gcc/tree.c (signed_or_unsigned_type_for): New.
+ * tree.c (signed_or_unsigned_type_for): New.
(unsigned_type_for): Use signed_or_unsigned_type_for.
(signed_type_for): Use signed_or_unsigned_type_for.
- * gcc/tree.h (signed_or_unsigned_type_for): New.
+ * tree.h (signed_or_unsigned_type_for): New.
(get_signed_or_unsigned_type): Remove.
- * gcc/fold-const.c (fold_negate_expr): Use signed_type_for instead of
+ * fold-const.c (fold_negate_expr): Use signed_type_for instead of
lang_hooks.types.signed_type
(size_diffop): Likewise.
(all_ones_mask_p): Likewise.
(fold_ternary): Likewise.
(operand_equal_for_comparison_p): Use signed_or_unsigned_type_for
instead of get_signed_or_unsigned_type.
- * gcc/c-objc-common.h (LANG_HOOKS_SIGNED_TYPE): Remove.
+ * c-objc-common.h (LANG_HOOKS_SIGNED_TYPE): Remove.
(LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): Remove.
- * gcc/expr.c (signed_or_unsigned_type_for): Use
+ * expr.c (signed_or_unsigned_type_for): Use
signed_or_unsigned_type_for instead of get_signed_or_unsigned_type.
- * gcc/langhooks.c (get_signed_or_unsigned_type): Remove.
+ * langhooks.c (get_signed_or_unsigned_type): Remove.
(lhd_signed_or_unsigned_type): Remove.
- * gcc/langhooks.h (lang_hooks_for_types): Remove signed_type and
+ * langhooks.h (lang_hooks_for_types): Remove signed_type and
signed_or_unsigned_type.
(lhd_signed_or_unsigned_type): Remove.
- * gcc/expmed.c (make_tree): Use signed_type_for instead of
+ * expmed.c (make_tree): Use signed_type_for instead of
lang_hooks.types.signed_type.
- * gcc/c-common.c (same_scalar_type_ignoring_signedness): Use
+ * c-common.c (same_scalar_type_ignoring_signedness): Use
c_common_signed_type instead of lang_hooks.types.signed_type.
(c_common_unsigned_type): New.
(c_common_signed_type): Just call c_common_signed_or_unsigned_type.
c_common_signed_or_unsigned_type.
(c_common_nodes_and_builtins): Use c_common_unsigned_type instead of
unsigned_type_for.
- * gcc/convert.c (convert_to_integer): Use signed_type_for instead of
+ * convert.c (convert_to_integer): Use signed_type_for instead of
lang_hooks.types.signed_type.
- * gcc/langhooks-def.h (LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): Remove.
+ * langhooks-def.h (LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): Remove.
(LANG_HOOK_FOR_TYPES_INITIALIZER): Remove LANG_HOOKS_SIGNED_TYPE and
LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE.
- * gcc/c-format.c (check_format_types): Use c_common_unsigned_type
+ * c-format.c (check_format_types): Use c_common_unsigned_type
instead of unsigned_type_for.
- * gcc/c-decl.c (groakdeclarator): Likewise.
- * gcc/c-typeck.c (convert_for_assignment): Likewise.
- * gcc/c-common.h (c_common_unsigned_type): New.
+ * c-decl.c (groakdeclarator): Likewise.
+ * c-typeck.c (convert_for_assignment): Likewise.
+ * c-common.h (c_common_unsigned_type): New.
2007-06-11 Uros Bizjak <ubizjak@gmail.com>
2007-06-04 Uros Bizjak <ubizjak@gmail.com>
PR c/32191
- * gcc/c-common.c (c_define_builtins): Call targetm.init_builtins ()
+ * c-common.c (c_define_builtins): Call targetm.init_builtins ()
before build_common_builtin_nodes ().
2007-06-04 Steve Ellcey <sje@cup.hp.com>