X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=gcc%2FChangeLog;h=4d21bd43537f432563273fd5e68f1746a160ee35;hp=f22ca2214d37d56d5c21867e7b4ccef5dae70933;hb=638e4b601d7a084f2a2b51c2aa8f50341e8dc0f7;hpb=aa8c6aad445339e9fdb1e9bbbcf3c9516a69a228;ds=sidebyside diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f22ca2214d3..4d21bd43537 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,296 @@ +2007-08-17 Tom Tromey + + * tree.h (struct tree_label_decl): Removed old "java" fields. + +2007-08-17 Richard Sandiford + Nigel Stephens + + * config/mips/sde.h (DRIVER_SELF_SPECS): Add commas. + Treat -mno-data-in-code and -mcode-xonly as aliases for + -mcode-readable=no and -mcode-readable=pcrel respectively. + * config/mips/t-sde (TARGET_LIBGCC2_CFLAGS): Add -mcode-xonly. + (MULTILIB_OPTIONS): Add -mcode-readable=no multilibs. + (MULTILIB_DIRNAMES): Update accordingly. + +2007-08-17 H.J. Lu + + * Makefile.in (version.o): Depend on $(REVISION) only if + REVISION_s is defined. + +2007-08-17 Sa Liu + Ulrich Weigand + + 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * 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): Emit "lock" + prefix on the same line as the instruction for all asm dialects. + (sync_double_compare_and_swap): Ditto. + (*sync_double_compare_and_swapdi_pic): Ditto. + (*sync_compare_and_swap_cc): Ditto. + (sync_double_compare_and_swap_cc): Ditto. + (*sync_double_compare_and_swap_ccdi_pic): Ditto. + (sync_old_add): Ditto. + (sync_add): Ditto. + (sync_sub): Ditto. + (sync_ior): Ditto. + (sync_and): Ditto. + (sync_xor): Ditto. + +2007-08-16 Richard Sandiford + + 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 + + * config/rs6000/rs6000.c (rs6000_rtx_costs): Add CLZ, CTZ, and + POPCOUNT. + +2007-08-15 Daniel Jacobowitz + + * config/rs6000/rs6000.c (rs6000_file_start): Output a .gnu_attribute + directive for the current vector ABI. + +2007-08-15 Steve Ellcey + + PR target/32963 + * caller-save.c (reg_save_code): Set invalide status on restore code. + +2007-08-15 Diego Novillo + + * 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 + + * config/mips/mips.c (vr4130_swap_insns_p): Use new interface to + scheduler dependencies. + +2007-08-15 Rask Ingemann Lambertsen + + * 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 + + 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 + + * 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 + + * i386.c: (legitimize_address): Move dllimported variable check + infront of legitimizing pic address of CONST symbols. + +2007-08-14 Steve Ellcey + + PR tree-optimization/32941 + * tree-eh.c (struct leh_tf_state): Add goto_queue_map field. + (goto_queue_cmp): Remove. + (find_goto_replacement): Change search method. + (maybe_record_in_goto_queue): Add assert. + (lower_try_finally): Remove qsort call, add pointer_map_destroy call. + * Makefile.in (tree-eh.o): Add pointer-set.h dependency. + +2007-08-14 Kaveh R. Ghazi + + * alias.c (component_uses_parent_alias_set): Constify. + * alias.h (component_uses_parent_alias_set): Likewise. + * cfgrtl.c (print_rtl_with_bb): Likewise. + * double-int.c (tree_to_double_int, double_int_fits_to_tree_p, + mpz_get_double_int): Likewise. + * double-int.h (double_int_fits_to_tree_p, tree_to_double_int, + mpz_get_double_int): Likewise. + * expr.c (is_aligning_offset, undefined_operand_subword_p, + mostly_zeros_p, all_zeros_p, safe_from_p, is_aligning_offset): + Likewise. + * expr.h (safe_from_p): Likewise. + * gimple-low.c (try_catch_may_fallthru, block_may_fallthru): + Likewise. + * gimplify.c (should_carry_locus_p, zero_sized_field_decl, + zero_sized_type, goa_lhs_expr_p): Likewise. + * omp-low.c (is_variable_sized, use_pointer_for_field): Likewise. + * rtl.h (print_rtl_with_bb): Likewise. + * sched-vis.c (print_exp, print_value, print_pattern): Likewise. + * tree-cfg.c (const_first_stmt, const_last_stmt): New. + * tree-flow-inline.h (bb_stmt_list): Constify. + (cbsi_start, cbsi_last, cbsi_end_p, cbsi_next, cbsi_prev, + cbsi_stmt): New. + * tree-flow.h (const_block_stmt_iterator, cbsi_start, cbsi_last, + const_first_stmt, const_last_stmt): New. + (block_may_fallthru, empty_block_p): Constify. + * tree-iterator.c (EXPR_FIRST_BODY, EXPR_LAST_BODY, + EXPR_ONLY_BODY): New. + (expr_first, expr_last, expr_only): Use macro for body. + (const_expr_first, const_expr_last, const_expr_only): New. + * tree-iterator.h (const_tree_stmt_iterator, ctsi_start, + ctsi_last, ctsi_end_p, ctsi_one_before_end_p, ctsi_next, + ctsi_prev, ctsi_stmt): New. + * tree-scalar-evolution.c (get_loop_exit_condition): Constify. + * tree-scalar-evolution.h (get_loop_exit_condition): Likewise. + * tree-ssa-loop-niter.c (loop_only_exit_p, + derive_constant_upper_bound): Likewise. + * tree-ssa-phiopt.c (empty_block_p): Likewise. + * tree-ssa-threadupdate.c (redirection_block_p): Likewise. + * tree-vectorizer.c (slpeel_can_duplicate_loop_p): Likewise. + * tree-vectorizer.h (slpeel_can_duplicate_loop_p): Likewise. + * tree-vrp.c (vrp_bitmap_equal_p): Likewise. + * tree.c (get_type_static_bounds): Likewise. + * tree.h (const_expr_first, const_expr_last, const_expr_only): New. + (get_type_static_bounds): Constify. + 2007-08-14 Rask Ingemann Lambertsen PR target/30315 @@ -11,7 +304,7 @@ 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. @@ -1076,7 +1369,7 @@ * config/mips/mips.md: Update after above changes. 2007-08-08 Vladimir Yanovsky - Revital Eres + Revital Eres * ddg.c (print_ddg): Add dump information. * modulo-sched.c (print_node_sched_params): Add parameter and @@ -1091,15 +1384,15 @@ 2007-08-08 Samuel Thibault - * 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 - * 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 Ian Lance Taylor @@ -1876,7 +2169,6 @@ 2007-07-29 Mark Mitchell - gcc/ * config/m68k/lb1sf68.asm (FUNC): New macro. (__mulsi3): Use it. (__udivsi3): Likewise. @@ -4577,12 +4869,12 @@ 2007-07-04 Rask Ingemann Lambertsen - * 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. @@ -5321,7 +5613,7 @@ (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. @@ -6812,12 +7104,12 @@ 2007-06-11 Rafael Avila de Espindola - * 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. @@ -6831,18 +7123,18 @@ (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. @@ -6850,16 +7142,16 @@ 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 @@ -7575,7 +7867,7 @@ 2007-06-04 Uros Bizjak 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