OSDN Git Service

* ChangeLog: Fix whitespace.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index e1cb410..b13e1df 100644 (file)
-2010-02-01  Kaushik Phatak  <kaushik.phatak@kpitcummins.com>
+2010-02-17  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+       * config/i386/mingw32.h (LIBGCJ_SONAME): Fix cut'n'pasto in DLL name.
+
+2010-02-17  Steven Bosscher  <steven@gcc.gnu.org>
+
+       * gensupport.c (process_one_cond_exec): Derive name for COND_EXEC
+       patterns from predicated pattern.
+
+2010-02-17  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/43103
+       * config/i386/sse.md (xop_vpermil2<mode>3): Use avxmodesuffixf2c
+       for insn mnemonic suffix.
+
+2010-02-17  Richard Guenther  <rguenther@suse.de>
+
+       * tree-vrp.c (vrp_visit_phi_node): Restrict SCEV analysis
+       to loop PHI nodes.
+
+2010-02-17  Jakub Jelinek  <jakub@redhat.com>
+
+       PR debug/42918
+       * caller-save.c (save_call_clobbered_regs): If BB ends with
+       a DEBUG_INSN, move any notes in between last real insn and the last
+       DEBUG_INSN after the last DEBUG_INSN.
+
+2010-02-16  Joern Rennecke  <joern.rennecke@embecosm.com>
+
+       * tm.texi (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD_SPEC):
+       Fix return type.  Fix argument type.  Explain meaning of return value.
+
+2010-02-16  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/41043
+       * tree-vrp.c  (vrp_var_may_overflow): Only ask SCEV for real loops.
+       (vrp_visit_assignment_or_call): Do not ask SCEV for regular
+       statements ...
+       (vrp_visit_phi_node): ... but only for loop PHI nodes.
+
+2010-02-16  Ira Rosen <irar@il.ibm.com>
+
+       PR tree-optimization/43074
+       * tree-vectorizer.h (VECTORIZABLE_CYCLE_DEF): New.
+       * tree-vect-loop.c (vect_analyze_loop_operations): Add
+       vectorizable cycles in hybrid SLP check.
+       * tree-vect-slp.c (vect_detect_hybrid_slp_stmts): Likewise.
+
+2010-02-16  Richard Guenther  <rguenther@suse.de>
+
+       * alias.c (memrefs_conflict_p): Distinguish must-alias from don't know.
+       (true_dependence): If memrefs_conflict_p computes must-alias
+       trust it.  Move TBAA check after offset-based disambiguation.
+       (canon_true_dependence): Likewise.
+
+2010-02-16  Alexandre Oliva  <aoliva@redhat.com>
+
+       * params.def (PARAM_MAX_VARTRACK_SIZE): New.
+       * doc/invoke.texi: Document it.
+       * var-tracking.c: Include toplev.h and params.h.
+       (vt_find_locations): Return bool indicating success.  Compute
+       hash sizes unconditionally.  Check new parameter, report.
+       (variable_tracking_main_1): Check vt_find_locations results and
+       retry.  Renamed from...
+       (variable_tracking_main): ... this.  New wrapper to preserve
+       flag_var_tracking_assignments.
+       * Makefile.in (var-tracking.o): Adjust dependencies.
+
+2010-02-16  Jack Howarth <howarth@bromo.med.uc.edu>
+           Jakub Jelinek <jakub@redhat.com>
+
+       PR target/42854
+       * config/darwin.h (ASM_WEAKEN_DECL): Don't check weak attribute
+       if weak_import attribute is present.
+       * config/darwin.c (machopic_select_section): Likewise.
+
+2010-02-15  Joern Rennecke  <joern.rennecke@embecosm.com>
+
+       * doc/tm.texi (TARGET_VECTORIZE_BUILTIN_VECTORIZATION_COST): Document.
+       (TARGET_VECTORIZE_VECTOR_ALIGNMENT_REACHABLE): Likewise.
+       (TARGET_VECTORIZE_BUILTIN_VEC_PERM): Likewise.
+       (TARGET_VECTORIZE_BUILTIN_VEC_PERM_OK): Likewise.
+
+       * doc/tm.texi (TARGET_VECTORIZE_BUILTIN_CONVERSION): Fix argument types.
+
+       * doc/tm.texi (TARGET_VECTORIZE_BUILTIN_VECTORIZED_FUNCTION):
+       Fix argument types.
+
+       * doc/tm.texi (TARGET_SCHED_DFA_NEW_CYCLE): Add argument names.
+       Rewrite text to refer to the names.
+
+2010-02-15  Sebastian Pop  <sebastian.pop@amd.com>
+
+       * config/i386/i386-builtin-types.def
+       (V2DF_FTYPE_V2DF_V2DF_V2DI_INT): Declared.
+       (V4DF_FTYPE_V4DF_V4DF_V4DI_INT): Declared.
+       (V4SF_FTYPE_V4SF_V4SF_V4SI_INT): Declared.
+       (V8SF_FTYPE_V8SF_V8SF_V8SI_INT): Declared.
+       * config/i386/i386.c (enum ix86_builtins): Add IX86_BUILTIN_VPERMIL2PD,
+       IX86_BUILTIN_VPERMIL2PS, IX86_BUILTIN_VPERMIL2PD256, and
+       IX86_BUILTIN_VPERMIL2PS256.
+       (MULTI_ARG_4_DF2_DI_I): Defined.
+       (MULTI_ARG_4_DF2_DI_I1): Defined.
+       (MULTI_ARG_4_SF2_SI_I): Defined.
+       (MULTI_ARG_4_SF2_SI_I1): Defined.
+       (bdesc_multi_arg): Add __builtin_ia32_vpermil2pd,
+       __builtin_ia32_vpermil2ps, __builtin_ia32_vpermil2pd256, and
+       __builtin_ia32_vpermil2ps256.
+       (ix86_expand_multi_arg_builtin): Handle MULTI_ARG_4_DF2_DI_I,
+       MULTI_ARG_4_DF2_DI_I1, MULTI_ARG_4_SF2_SI_I, and
+       MULTI_ARG_4_SF2_SI_I1.  Handle builtins with 4 arguments.
+       (ix86_expand_args_builtin): Handle MULTI_ARG_4_DF2_DI_I,
+       MULTI_ARG_4_DF2_DI_I1, MULTI_ARG_4_SF2_SI_I, and
+       MULTI_ARG_4_SF2_SI_I1.  Handle CODE_FOR_xop_vpermil2v2df3,
+       CODE_FOR_xop_vpermil2v4sf3, CODE_FOR_xop_vpermil2v4df3, and
+       CODE_FOR_xop_vpermil2v8sf3.
+       * config/i386/i386.md (UNSPEC_VPERMIL2): Declared.
+       * config/i386/sse.md (xop_vpermil2<mode>3): New insn pattern.
+       * config/i386/xopintrin.h (_mm_permute2_pd): New.
+       (_mm256_permute2_pd): New.
+       (_mm_permute2_ps): New.
+       (_mm256_permute2_ps): New.
+
+2010-02-15  Nick Clifton  <nickc@redhat.com>
+
+       * 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  <rguenther@suse.de>
+
+       PR middle-end/43068
+       * cgraphunit.c (thunk_adjust): Skip adjusting by fixed_offset
+       if that is zero.
+
+2010-02-15  Nick Clifton  <nickc@redhat.com>
+
+       * config/mn10300/mn10300.h (FUNCTION_ARG_REGNO_P): Revert previous
+       delta.
+
+2010-02-14  Marco Poletti  <poletti.marco@gmail.com>
+
+       * 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  <steven@gcc.gnu.org>
+
+       * 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  <Andreas.Krebbel@de.ibm.com>
+
+       * config/s390/s390.c (s390_sched_init): New function.
+       (TARGET_SCHED_INIT): Target hook defined.
+
+2010-02-12  Dave Korn  <dave.korn.cygwin@gmail.com>
+           Jack Howarth  <howarth@bromo.med.uc.edu>
+           Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk>
+
+       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  <jakub@redhat.com>
+
+       * c-pch.c (pch_init): Clear v.
+
+2010-02-11  Sebastian Pop  <sebastian.pop@amd.com>
+
+       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  <sebastian.pop@amd.com>
+
+       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  <sebastian.pop@amd.com>
+
+       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  <rguenther@suse.de>
+
+       PR tree-optimization/42998
+       * tree-ssa-pre.c (create_expression_by_pieces): Treat
+       POINTER_PLUS_EXPR properly.
+
+2010-02-11  Sebastian Pop  <sebastian.pop@amd.com>
+           Changpeng Fang  <changpeng.fang@amd.com>
+
+       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  <rguenther@suse.de>
+
+       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  <rguenther@suse.de>
+
+       PR driver/43021
+       * gcc.c (process_command): Handle LTO file@offset case more
+       appropriately.
+
+2010-02-11  Jakub Jelinek  <jakub@redhat.com>
+
+       * 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) <case MEM>: Use DW_OP_deref_size
+       if MEM's mode size isn't DWARF2_ADDR_SIZE.
+       (mem_loc_descriptor) <do_scompare>: Allow also VOIDmode arguments.
+       Optimize eq/ne comparisons when both arguments are known to be
+       zero-extended.
+       (mem_loc_descriptor) <do_ucompare>: Allow also VOIDmode arguments.
+       Don't mask operands unnecessarily if they are known to be already
+       zero-extended.
+
+2010-02-10  Vladimir Makarov  <vmakarov@redhat.com>
+
+       * ira-conflicts.c (add_insn_allocno_copies): Use find_reg_note
+       instead of loop.
+
+2010-02-10  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/43017
+       * tree-vrp.c (vrp_int_const_binop): Trust int_const_binop
+       for wrapping signed arithmetic.
+
+2010-02-10  Jakub Jelinek  <jakub@redhat.com>
+
+       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  <kkojima@gcc.gnu.org>
+
+       * 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  <baldrick@free.fr>
+
+       * Makefile.in (PLUGIN_HEADERS): Add debug.h.
+
+2010-02-10  Richard Guenther  <rguenther@suse.de>
+
+       PR c/43007
+       * tree.c (get_unwidened): Handle constants.
+       * convert.c (convert_to_integer): Handle TRUNC_DIV_EXPR.
+
+2010-02-10  Martin Jambor  <mjambor@suse.cz>
+
+       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  <christian.bruel@st.com>
+
+       PR target/42841
+       * config/sh/sh.c (find_barrier): Increase length for non delayed
+       conditional branches.
+
+2010-02-10  Christian Bruel  <christian.bruel@st.com>
+
+       * config/sh/sh.c (find_barrier): Don't emit a CP inside the GP setting.
+
+2010-02-10  Jakub Jelinek  <jakub@redhat.com>
+
+       * builtins.c (set_builtin_user_assembler_name): Also handle
+       ffs if int is smaller than word.
+
+2010-02-09  Vladimir Makarov  <vmakarov@redhat.com>
+
+       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  <amonakov@ispras.ru>
+
+       * 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  <rguenther@suse.de>
+
+       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  <rguenther@suse.de>
+
+       PR tree-optimization/43000
+       * tree-vrp.c (vrp_int_const_binop): Only handle unsigned
+       arithmetic manually.
+
+2010-02-08  Jakub Jelinek  <jakub@redhat.com>
+
+       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  <mjambor@suse.cz>
+
+       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  <joern.rennecke@embecosm.com>
+
+       * doc/tm.texi (TARGET_UNWIND_WORD_MODE): Document.
+
+2010-02-07  Adam Nemet  <adambnmet@gmail.com>
+
+       * config/mips/mips.md (*<optab>_trunc<mode>_exts): Fix comment
+       before the pattern.
+
+2010-02-07  Andrew Pinski  <pinskia@gmail.com>
+
+       PR middle-end/42946
+       * df-core.c (df_finish_pass): Change type of saved_flags to int.
+
+2010-02-07  Sebastian Pop  <sebastian.pop@amd.com>
+
+       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  <sebastian.pop@amd.com>
+
+       * ChangeLog.graphite: Remove testsuite/ or gcc/testsuite/.
+
+2010-02-07  Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/42991
+       * expr.c (get_inner_reference): Always initialize *pbitsize.
+
+2010-02-07  Richard Guenther  <rguenther@suse.de>
+
+       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  <rearnsha@arm.com>
+
+       PR target/42957
+       * arm.c (arm_override_options): Just return if the user has specified
+       an invalid fpu name.
+
+2010-02-03  Jason Merrill  <jason@redhat.com>
+
+       PR c++/42870
+       * config/i386/cygming.h (ASM_OUTPUT_DEF_FROM_DECLS): Call
+       i386_pe_maybe_record_exported_symbol.
+
+2010-02-05  Steve Ellcey  <sje@cup.hp.com>
+
+       PR target/42924
+       * config/pa/pa.c (TARGET_DELEGITIMIZE_ADDRESS): Redefine.
+       (pa_delegitimize_address): New function.
+
+2010-02-05  Ozkan Sezer  <sezeroz@gmail.com>
+
+       * 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  <rguenther@suse.de>
+
+       PR lto/42762
+       * lto-streamer-in.c (get_resolution): Deal with references
+       to undefined functions.
+
+2010-02-05  Richard Guenther  <rguenther@suse.de>
+
+       * 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  <froydnj@codesourcery.com>
+
+       * config/rs6000/rs6000.c (rs6000_override_options): Invert check
+       for rs6000_gen_cell_microcode.
+
+2010-02-04  Richard Guenther  <rguenther@suse.de>
+
+       PR rtl-optimization/42952
+       * dse.c (const_or_frame_p): Remove MEM handling.
+
+2010-02-04  Nick Clifton  <nickc@redhat.com>
+
+       * 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  <jason@redhat.com>
+
+       PR c++/40138
+       * fold-const.c (operand_equal_p): Handle erroneous types.
+
+2010-02-03  Kaushik Phatak  <kaushik.phatak@kpitcummins.com>
 
        * config/h8300/h8300.md (can_delay): Fix attibute condition.
 
 2010-02-03  Vladimir Makarov  <vmakarov@redhat.com>
 
-       PR rtl-optimizations/42941
+       PR rtl-optimization/42941
        * sched-deps.c (setup_insn_reg_pressure_info): Use xcalloc instead
        of xmalloc.
 
 2010-02-03  Richard Guenther  <rguenther@suse.de>
 
        PR tree-optimization/42944
-       * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Handle
-       calloc.
+       * 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-01-28  Richard Guenther  <rguenther@suse.de>
 
        PR tree-optimization/42871
-       * tree-ssa-pre.c (phi_translate_set): Make sure to retain
-       leaders.
+       * tree-ssa-pre.c (phi_translate_set): Make sure to retain leaders.
 
 2010-01-28  Richard Guenther  <rguenther@suse.de>
 
 
        PR tree-optimization/42781
        * tree-ssa-structalias.c (find_what_var_points_to): Skip
-       restrict processing only if the original variable was
-       artificial.
+       restrict processing only if the original variable was artificial.
 
 2010-01-18  Joern Rennecke  <amylaar@spamcop.net>
 
 2010-01-14  Richard Guenther  <rguenther@suse.de>
 
        PR lto/42665
-       * gimple.c (iterative_hash_gimple_type): Avoid hashing
-       error_mark_node.
+       * gimple.c (iterative_hash_gimple_type): Avoid hashing error_mark_node.
 
 2010-01-14  Ira Rosen  <irar@il.ibm.com>
 
 2010-01-13  Richard Guenther  <rguenther@suse.de>
 
        PR tree-optimization/42705
-       * tree-ssa-reassoc.c (build_and_add_sum): Insert stmts after
-       labels.
+       * tree-ssa-reassoc.c (build_and_add_sum): Insert stmts after labels.
 
 2010-01-13  Richard Guenther  <rguenther@suse.de>
 
 
        PR tree-optimization/42625
        * cgraph.c (cgraph_make_node_local): Clear DECL_COMDAT*,
-       TREE_PUBLIC, DECL_WEAK and DECL_EXTERNAL also for same_body
-       aliases.
+       TREE_PUBLIC, DECL_WEAK and DECL_EXTERNAL also for same_body aliases.
 
 2010-01-07  Duncan Sands  <baldrick@free.fr>
 
        (BB_MAY_NOTRETURN): New.
        (valid_in_sets): Trapping nary operations are not valid
        in blocks that may not return.
-       (insert_into_preds_of_block): Remove check for trapping
-       expressions.
+       (insert_into_preds_of_block): Remove check for trapping expressions.
        (compute_avail): Compute also BB_MAY_NOTRETURN.
 
 2010-01-03  Gerald Pfeifer  <gerald@pfeifer.com>