X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=gcc%2FChangeLog;h=72c02ef4a8ad3c32de496e0a005cf32f8c3e7427;hp=147a8a26ada370a254da4d529731be3fe4e0c7c8;hb=5a23ee688e0eefcebd4832f21e532423117df399;hpb=fbbe5b510bd02be85369bc1f943c900c30051221 diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 147a8a26ada..72c02ef4a8a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,13 +1,573 @@ -28-01-2010 Razya Ladelsky +2010-02-15 Nick Clifton - * tree-parloops.c (transform_to_exit_first_loop): Update the basic + * config/h8300/h8300.c: (h8300_push_pop): Use bool type for + boolean parameters. Use emit_jump_insn when emitting a pop + instruction containing a return insn. + (push): Use 'true' rather than '1' as second parameter to F. + (h8300_expand_prologue): Likewise. + Use 'true' and 'false' for boolean parameters to + h8300_push_pop. + (h8300_expand_epilogue): Likewise. + +2010-02-15 Richard Guenther + + PR middle-end/43068 + * cgraphunit.c (thunk_adjust): Skip adjusting by fixed_offset + if that is zero. + +2010-02-15 Nick Clifton + + * config/mn10300/mn10300.h (FUNCTION_ARG_REGNO_P): Revert previous + delta. + +2010-02-14 Marco Poletti + + * intl.c (fake_ngettext): New function. + * intl.h (fake_ngettext): Declare. + (ngettext): Define macro. + * collect2.c (notice_translated): New function. + (main): Use notice_translated and ngettext. + * collect2.h (notice_translated): Declare. + +2010-02-14 Steven Bosscher + + * reorg.c (delete_computation): Comment fixes. + * caller-save.c (setup_save_areas): Idem. + * sel-sched-dump.c (dump_lv_set): Idem. + * rtl.def: Idem. + +2010-02-14 Andreas Krebbel + + * config/s390/s390.c (s390_sched_init): New function. + (TARGET_SCHED_INIT): Target hook defined. + +2010-02-12 Dave Korn + Jack Howarth + Iain Sandoe + + PR target/42982 + Partial revert of unintended change in fix for PR41605. + * config/darwin.h: Fix typo. + * config/darwin9.h: Same. + +2010-02-11 Jakub Jelinek + + * c-pch.c (pch_init): Clear v. + +2010-02-11 Sebastian Pop + + PR middle-end/42930 + * graphite-scop-detection.c (graphite_can_represent_scev): Call + graphite_can_represent_init for MULT_EXPR. + +2010-02-11 Sebastian Pop + + PR middle-end/42914 + PR middle-end/42530 + * graphite-sese-to-poly.c (remove_phi): New. + (translate_scalar_reduction_to_array): Call remove_phi. + +2010-02-11 Sebastian Pop + + PR middle-end/42771 + * graphite-clast-to-gimple.c (gloog): Call rename_sese_parameters. + * graphite-clast-to-gimple.h (gloog): Update declaration. + * graphite-poly.c (new_scop): Clear POLY_SCOP_P. + * graphite-poly.h (struct poly_bb): Add missing comments. + (struct scop): Add poly_scop_p field. + (POLY_SCOP_P): New. + * graphite-sese-to-poly.c (build_poly_scop): Set POLY_SCOP_P. + * graphite.c (graphite_transform_loops): Build the polyhedral + representation for each scop before code generation. + * sese.c (rename_variables_in_operand): Removed. + (rename_variables_in_expr): Return the renamed expression. + (rename_sese_parameters): New. + * sese.h (rename_sese_parameters): Declared. + +2010-02-11 Richard Guenther + + PR tree-optimization/42998 + * tree-ssa-pre.c (create_expression_by_pieces): Treat + POINTER_PLUS_EXPR properly. + +2010-02-11 Sebastian Pop + Changpeng Fang + + PR middle-end/40886 + * tree-ssa-loop-ivopts.c (determine_use_iv_cost_condition): Decrement + the cost of an IV candidate when the IV is used in a test against zero. + + * gcc.dg/tree-ssa/ivopts-3.c: New. + +2010-02-11 Richard Guenther + + PR lto/41664 + * tree-ssa-alias.c (refs_may_alias_p_1): Canonicalize + pointer-vs-decl case by swapping refs. Handle some cases + of pointer-vs-decl disambiguations more conservatively. + * cfgexpand.c (gimple_expand_cfg): Set gimple_df->in_ssa_p + to false after expanding. + +2010-02-11 Richard Guenther + + PR driver/43021 + * gcc.c (process_command): Handle LTO file@offset case more + appropriately. + +2010-02-11 Jakub Jelinek + + * reload1.c (eliminate_regs_1): If insn is DEBUG_INSN, avoid any + modifications outside of the DEBUG_INSN. Accept CLOBBERs inside + of DEBUG_INSNs. + (eliminate_regs_in_insn): Eliminate regs even in DEBUG_INSNs. + + * dwarf2out.c (mem_loc_descriptor) : Use DW_OP_deref_size + if MEM's mode size isn't DWARF2_ADDR_SIZE. + (mem_loc_descriptor) : Allow also VOIDmode arguments. + Optimize eq/ne comparisons when both arguments are known to be + zero-extended. + (mem_loc_descriptor) : Allow also VOIDmode arguments. + Don't mask operands unnecessarily if they are known to be already + zero-extended. + +2010-02-10 Vladimir Makarov + + * ira-conflicts.c (add_insn_allocno_copies): Use find_reg_note + instead of loop. + +2010-02-10 Richard Guenther + + PR tree-optimization/43017 + * tree-vrp.c (vrp_int_const_binop): Trust int_const_binop + for wrapping signed arithmetic. + +2010-02-10 Jakub Jelinek + + PR debug/43010 + * dwarf2out.c (retry_incomplete_types): Don't call gen_type_die + if no debug info should be emitted for it. + +2010-02-10 Kaz Kojima + + * config/sh/sh.c (find_barrier): Skip call insn with a REG_EH_REGION + note when flag_exceptions is set. + +2010-02-10 Duncan Sands + + * Makefile.in (PLUGIN_HEADERS): Add debug.h. + +2010-02-10 Richard Guenther + + PR c/43007 + * tree.c (get_unwidened): Handle constants. + * convert.c (convert_to_integer): Handle TRUNC_DIV_EXPR. + +2010-02-10 Martin Jambor + + PR lto/42985 + * ipa-prop.c (ipa_update_after_lto_read): Count parameters and + check for variable argument counts independently. + +2010-02-10 Christian Bruel + + PR target/42841 + * config/sh/sh.c (find_barrier): Increase length for non delayed + conditional branches. + +2010-02-10 Christian Bruel + + * config/sh/sh.c (find_barrier): Don't emit a CP inside the GP setting. + +2010-02-10 Jakub Jelinek + + * builtins.c (set_builtin_user_assembler_name): Also handle + ffs if int is smaller than word. + +2010-02-09 Vladimir Makarov + + PR middle-end/42973 + * ira-conflicts.c (get_dup): Remove. + (process_reg_shuffles): Add new parameter. Use it as an + additional guard for copy generation. + (add_insn_allocno_copies): Rewrite. + +2010-02-09 Alexander Monakov + + * common.opt (fsched2-use-traces): Preserved for backward + compatibility. + * doc/invoke.texi: Remove the documentation about option + -fsched2-use-traces. + * sched-rgn.c (rest_of_handle_sched2): Remove usage of + flag_sched2_use_traces. + * opts.c (common_handle_option): Add OPT_fsched2_use_traces to + the backward compatibility flag section. + +2010-02-09 Richard Guenther + + PR tree-optimization/43008 + * tree-ssa-structalias.c (handle_lhs_call): Pass in the fndecl, + make HEAP variables initialized from global memory if they + are not known builtin functions. + (find_func_aliases): Adjust. + +2010-02-09 Richard Guenther + + PR tree-optimization/43000 + * tree-vrp.c (vrp_int_const_binop): Only handle unsigned + arithmetic manually. + +2010-02-08 Jakub Jelinek + + PR tree-optimization/42931 + * tree-loop-linear.c (try_interchange_loops): Don't call + double_int_mul if estimated_loop_iterations failed. + +2010-02-08 Martin Jambor + + PR middle-end/42898 + * tree-sra.c (build_accesses_from_assign): Do not mark in + should_scalarize_away_bitmap if stmt has volatile ops. + (sra_modify_assign): Do not process assigns piecemeal if if stmt + has volatile ops. + +2010-02-08 Joern Rennecke + + * doc/tm.texi (TARGET_UNWIND_WORD_MODE): Document. + +2010-02-07 Adam Nemet + + * config/mips/mips.md (*_trunc_exts): Fix comment + before the pattern. + +2010-02-07 Andrew Pinski + + PR middle-end/42946 + * df-core.c (df_finish_pass): Change type of saved_flags to int. + +2010-02-07 Sebastian Pop + + PR middle-end/42988 + * graphite-dependences.c (dependence_polyhedron): Set PDDR_KIND + to unknown_dependence. + (graphite_legal_transform_dr): Handle the unknown_dependence. + (graphite_carried_dependence_level_k): Same. + +2010-02-07 Sebastian Pop + + * ChangeLog.graphite: Remove testsuite/ or gcc/testsuite/. + +2010-02-07 Richard Guenther + + PR middle-end/42991 + * expr.c (get_inner_reference): Always initialize *pbitsize. + +2010-02-07 Richard Guenther + + PR middle-end/42956 + * gimplify.c (gimple_fold_indirect_ref): Avoid generating + new ARRAY_REFs on variable size element or minimal index arrays. + Complete. + * tree-ssa-loop-ivopts.c (find_interesting_uses_address): Use + gimple_fold_indirect_ref. + +2010-02-06 Richard Earnshaw + + PR target/42957 + * arm.c (arm_override_options): Just return if the user has specified + an invalid fpu name. + +2010-02-03 Jason Merrill + + PR c++/42870 + * config/i386/cygming.h (ASM_OUTPUT_DEF_FROM_DECLS): Call + i386_pe_maybe_record_exported_symbol. + +2010-02-05 Steve Ellcey + + PR target/42924 + * config/pa/pa.c (TARGET_DELEGITIMIZE_ADDRESS): Redefine. + (pa_delegitimize_address): New function. + +2010-02-05 Ozkan Sezer + + * config/i386/msformat-c.c (ms_printf_length_specs): Set the + scalar_identity_flag for the size_t/ptrdiff_t %Id and %Iu specs. + +2010-02-05 Richard Guenther + + PR lto/42762 + * lto-streamer-in.c (get_resolution): Deal with references + to undefined functions. + +2010-02-05 Richard Guenther + + * tree-ssa-ccp.c (get_symbol_constant_value): Strip all + conversions. + (fold_const_aggregate_ref): Likewise. + (ccp_fold_stmt): Substitute loads. + (maybe_fold_reference): Verify types before substituting. + Unshare properly. + (fold_gimple_assign): Unshare properly. + (fold_stmt_1): Insert conversion if necessary before replacing + the RHS. + +2010-02-05 Nathan Froyd + + * config/rs6000/rs6000.c (rs6000_override_options): Invert check + for rs6000_gen_cell_microcode. + +2010-02-04 Richard Guenther + + PR rtl-optimization/42952 + * dse.c (const_or_frame_p): Remove MEM handling. + +2010-02-04 Nick Clifton + + * config/mn10300/mn10300.c (TARGET_ASM_OUTPUT_MI_THUNK): Define. + (TARGET_ASM_CAN_OUTPUT_MI_THUNK): Define. + (function_arg): Use NULL_RTX and FIRST_ARGUMENT_REGNUM. + (mn10300_asm_output_mi_thunk): New function. + (mn10300_can_output_mu_thunk): New function. + * config/mn10300/mn10300.h (FIRST_ARGUMENT_REGNUM): Define. + (FUNCTION_ARG_REGNO_P): Fix comment. Accept d0 and d1. + (FUNCTION_ARG): Delete incorrect comment. + +2010-02-03 Jason Merrill + + PR c++/40138 + * fold-const.c (operand_equal_p): Handle erroneous types. + +2010-02-03 Kaushik Phatak + + * config/h8300/h8300.md (can_delay): Fix attibute condition. + +2010-02-03 Vladimir Makarov + + PR rtl-optimization/42941 + * sched-deps.c (setup_insn_reg_pressure_info): Use xcalloc instead + of xmalloc. + +2010-02-03 Jason Merrill + + PR c++/35652 + * builtins.c (c_strlen): Use EXPR_LOCATION in diagnostics. + +2010-02-03 Alexandre Oliva + + PR debug/42896 + * cselib.h (struct cselib_val_struct): Add uid. Rename value to + hash. + (cselib_reset_table): Renamed from... + (cselib_reset_table_with_next_value): ... this. + (cselib_get_next_uid): Renamed from... + (cselib_get_next_unknown_value): ... this. + * cselib.c (next_uid): Renamed from... + (next_unknown_value): ... this. + (cselib_clear_table): Adjust. + (cselib_reset_table): Adjust. Renamed from... + (cselib_reset_table_with_next_value): ... this. + (cselib_get_next_uid): Adjust. Renamed from... + (cselib_get_next_unknown_value): ... this. + (get_value_hash): Use hash. + (cselib_hash_rtx): Likewise. + (new_cselib_val): Adjust. Set and dump uid. + (cselib_lookup_mem): Pass next_uid as hash. + (cselib_subst_to_values): Likewise. + (cselib_log_lookup): Dump uid. + (cselib_lookup): Pass next_uid as hash. Adjust. + (cselib_process_insn): Adjust. + (cselib_init): Initialize next_uid. + (cselib_finish): Adjust. + (dump_cselib_table): Likewise. + * dse.c (canon_address): Dump value uid. + * print-rtl.c (print_rtx): Print value uid. + * var-tracking.c (VARIABLE_HASH_VAL): Dropped. + (dvuid): New type. + (dv_uid): New function, sort of renamed from... + (dv_htab_hash): ... this, reimplemented in terms of it and... + (dv_uid2hash): ... this. New. + (variable_htab_eq): Drop excess assertions. + (tie_break_pointers): Removed. + (canon_value_cmp): Compare uids. + (variable_post_merge_New_vals): Print uids. + (vt_add_function_parameters): Adjust. + (vt_initialize): Reset table. Adjust. + +2010-02-03 Richard Guenther + + PR tree-optimization/42944 + * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Handle + calloc. + (call_may_clobber_ref_p_1): Likewise. Properly handle + malloc and calloc clobbering errno. + +2010-02-03 Steven Bosscher + + * doc/invoke.texi: Fix name of sched1 dump. + + * opts.c (decode_options): Set flag_tree_switch_conversion + only conditionally on optimize >= 2. + + * gcse.c: Assorted comment fixes in pass description. + +2010-02-03 Anthony Green + + * config/moxie/moxie.c (moxie_asm_trampoline_template): Introduce + nop padding in order to maintain alignment of storage location of + target function address. + (moxie_trampoline_init): Store target function address at newly + aligned location. + * config/moxie/moxie.h (TRAMPOLINE_ALIGNMENT): Increase alignment + to 32. + (TRAMPOLINE_SIZE): Increase size by 2 bytes for alignment padding. + +2010-02-03 Richard Guenther + + PR middle-end/42927 + * tree-cfg.c (verify_gimple_assign_binary): Fix shift verification. + +2010-02-03 Rainer Orth + + * config.gcc: Reenable check for obsolete targets. + Obsolete alpha*-dec-osf4*, alpha*-dec-osf5.0*, mips-sgi-irix5*, + mips-sgi-irix6.[0-4]*. + +2010-02-02 Nick Clifton + + * config/rx/rx.c (rx_is_legitimate_constant): Treat a maximum + constant size of 4 as being the same as 0. + * doc/invoke.texi (RX Options): Document that -mmax-constant-size + can take values in the range 0..4. + +2010-02-02 Jack Howarth + + PR java/41991 + * unwind-dw2-fde-darwin.c: Re-export _Unwind_FindEnclosingFunction() + as _darwin10_Unwind_FindEnclosingFunction(). + * libgcc-libsystem.ver: New. + +2010-02-01 Vladimir Makarov + + PR target/41399 + * sched-deps.c (sched_analyze_insn): Ignore fixed registers for + implicitly set registers. + +2010-02-01 Richard Earnshaw + + * arm.c (FL_FOR_ARCH_7A): is also a superset of ARMv6K. + (arm_override_options): Allow automatic selection of the thread + pointer register if thumb2. + (legitimize_pic_address): Improve code sequences for Thumb2. + (arm_call_tls_get_addr): Likewise. + (legitimize_tls_address): Likewise. + * arm.md (pic_load_addr_arm): Delete. Replace with ... + (pic_load_addr_32bit): ... this. New named pattern. + * thumb2.md (pic_load_addr_thumb2): Delete. + (pic_load_dot_plus_four): Delete. + (tls_load_dot_plus_four): New named pattern. + +2010-02-01 Rainer Orth + + PR libgomp/29986 + * doc/install.texi (Specific): Add sparc-sun-solaris2.10 entry. + Document fix for TLS bug. + +2010-01-31 Richard Guenther + + * tree-sra.c (ptr_parm_has_direct_uses): Rewrite to be + conservatively correct. + +2010-01-31 John David Anglin + + PR target/42850 + Revert: + 2010-01-02 John David Anglin + + * config/pa/t-slibgcc-dwarf-ver (SHLIB_SOVERSION): Bump by two. + +2010-01-31 Kaveh R. Ghazi + + * doc/install.texi: Update recommended GMP/MPFR/MPC versions. + +2010-01-31 Kai Tietz + + * config.gcc: Adjust order of makefile fragments for mingw targets. + +2010-01-31 Richard Guenther + + PR middle-end/42898 + * gimplify.c (gimplify_init_constructor): For volatile LHS + initialize a temporary. + +2010-01-31 Matthias Klose + + * configure.ac: Fix __stack_chk_fail check for cross builds configured + --with-headers + * configure: Regenerate. + +2010-01-29 Eric Botcazou + + * tree-ssa-alias.c (same_type_for_tbaa): Return -1 if the types have + the same alias set and their sizes different constantness. + (aliasing_component_refs_p): Revert 2009-10-24 change. + +2010-01-29 Rainer Orth + + * config/sparc/sparc.c (sparc_elf_asm_named_section): Declare decl + unused. + +2010-01-29 Richard Guenther + + * tree-ssa-ccp.c (ccp_fold_stmt): Unshare values we substitute. + Assert we successfully updated the call. + +2010-01-29 Jakub Jelinek + + PR rtl-optimization/42889 + * df.h (df_set_bb_dirty_nonlr): New prototype. + * df-core.c (df_set_bb_dirty_nonlr): New function. + * df-scan.c (df_insn_rescan): Call it instead of + df_set_bb_dirty for DEBUG_INSNs. + +2010-01-29 Richard Guenther + + PR middle-end/37448 + * ipa-inline.c (cgraph_decide_inlining_incrementally): Avoid + quadratic behavior in most cases. + +2010-01-28 Uros Bizjak + + PR target/42891 + * config/i386/i386.c (ix86_expand_int_movcc): Convert tmp to SImode + in the call to gen_x86_movsicc_0_m1. + +2010-01-28 Richard Guenther + + PR tree-optimization/42871 + * tree-ssa-pre.c (phi_translate_set): Make sure to retain + leaders. + +2010-01-28 Richard Guenther + + * tree-ssa-ccp.c (ccp_fold_stmt): Fold calls and propagate + into call arguments. + +2010-01-28 Richard Guenther + + PR middle-end/42883 + * tree-cfgcleanup.c (remove_forwarder_block): Do not remove + the forwarder if the destination is an EH landing pad. + +2010-01-28 Razya Ladelsky + + * tree-parloops.c (transform_to_exit_first_loop): Update the basic block list passed to gimple_duplicate_sese_tail. (parallelize_loops): Avoid parallelization when the function has_nonlocal_label. Avoid parallelization when the preheader is IRREDUCIBLE. Try to optimize when estimated_loop_iterations_int is unresolved. Add the loop's location to the dump file. - * tree-cfg.c(add_phi_args_after_redirect): Remove. + * tree-cfg.c (add_phi_args_after_redirect): Remove. (gimple_duplicate_sese_tail): Remove the check for the latch. Redirect nexits to the exit block. Remove handling of the incoming edges to the latch. @@ -74,7 +634,7 @@ PR target/42841 * config/sh/sh.c (find_barrier): Increase length for non delayed conditional branches. - + 2010-01-27 Matthias Klose * configure.ac (gnu-unique-object): Fix ldd version check. @@ -221,8 +781,8 @@ 2010-01-21 Andrew Haley - * gcc.c (process_command): Move lang_specific_driver before - setting cc_libexec_prefix. + * gcc.c (process_command): Move lang_specific_driver before + setting cc_libexec_prefix. 2010-01-21 Richard Guenther