OSDN Git Service

* doc/tm.texi (TARGET_INIT_LIBFUNCS): Put @findex entries in order of
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 1f9b351..eecd62e 100644 (file)
@@ -1,3 +1,368 @@
+2010-01-17  Joern Rennecke  <amylaar@spamcop.net>
+
+       * doc/tm.texi (TARGET_INIT_LIBFUNCS): Put @findex entries in order of
+       appearance.
+
+       (TARGET_LEGITIMATE_ADDRESS_P): Add return type.
+       Fix markup for strict argument.
+
+       (TARGET_SCHED_REORDER2): Fix argument types.
+
+       (TARGET_SCHED_DFA_PRE_CYCLE_INSN): Fix return type.
+       (TARGET_SCHED_DFA_POST_CYCLE_INSN): Likewise.
+
+       (TARGET_SCHED_DFA_PRE_ADVANCE_CYCLE): Fix name.
+       (TARGET_SCHED_DFA_POST_ADVANCE_CYCLE): Likewise.
+
+       (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD):
+       Add argument name.
+
+       (TARGET_SCHED_ALLOC_SCHED_CONTEXT): Remove duplicate documentation.
+       (TARGET_SCHED_INIT_SCHED_CONTEXT): Likewise.
+       (TARGET_SCHED_SET_SCHED_CONTEXT): Likewise.
+       (TARGET_SCHED_CLEAR_SCHED_CONTEXT): Likewise.
+       (TARGET_SCHED_FREE_SCHED_CONTEXT): Likewise.
+
+       (TARGET_SCHED_SET_SCHED_CONTEXT): Fix typo.
+
+       (TARGET_SCHED_GEN_SPEC_CHECK): Fix name.
+
+       (TARGET_ASM_RELOC_RW_MASK): Add return type.
+       (TARGET_MANGLE_DECL_ASSEMBLER_NAME): Fix return type.
+
+       (TARGET_STRIP_NAME_ENCODING): Fix markup of return type and parameter.
+
+       (TARGET_ASM_FILE_START): Put @findex before paragraph start.
+       Use prototype.
+
+       (TARGET_ASM_NAMED_SECTION): Fix argument list.
+
+       (TARGET_HAVE_NAMED_SECTIONS): Use @deftypevr.
+       (TARGET_HAVE_SWITCHABLE_BSS_SECTIONS): Likewise.
+
+       (TARGET_ASM_RECORD_GCC_SWITCHES_SECTION): Use @deftypevr.
+
+       (TARGET_ASM_ASSEMBLE_VISIBILITY): Fix argument types.
+
+       (TARGET_ASM_MARK_DECL_PRESERVED): Fix argument and markup
+       referring to it.  Fix language.
+
+       (TARGET_HAVE_CTORS_DTORS): Use @deftypevr.
+
+       (TARGET_ASM_FINAL_POSTSCAN_INSN): Adjust name of first argument.
+
+       (TARGET_ASM_EMIT_UNWIND_LABEL): Add argument types.
+
+       (TARGET_ASM_EMIT_EXCEPT_TABLE_LABEL): Add type to argument.
+
+       (TARGET_UNWIND_EMIT): Remove space between 'FILE *' and
+       '@var{stream}.  Remove stray 'and'.
+
+       (TARGET_ARM_EABI_UNWINDER): Use @deftypevr.
+
+       (TARGET_ASM_OUTPUT_DWARF_DTPREL): Adjust name of first argument.
+
+       (TARGET_SET_DEFAULT_TYPE_ATTRIBUTES): Add missing article.
+
+       (TARGET_OPTION_VALID_ATTRIBUTE_P): Fix name, it was 
+       misspelled as TARGET_VALID_OPTION_ATTRIBUTE_P.
+
+       (TARGET_GET_PCH_VALIDITY): Put 'void *' in braces.
+       Fix description of return value.
+       Rename argument "sz" to "len."
+
+       (TARGET_CXX_GUARD_MASK_BIT): Add missing article.
+       Clarify meaning of 'true' return value.
+
+       (TARGET_SHIFT_TRUNCATION_MASK): Fix return type.
+
+       (TARGET_MODE_REP_EXTENDED): Fix two inconsisent uses of
+       rep_mode versus mode_rep.
+
+       (TARGET_HANDLE_PRAGMA_EXTERN_PREFIX): Document.
+
+       (TARGET_BUILTIN_DECL): Fix name.
+
+       (TARGET_COMMUTATIVE_P): Fix type of first argument.
+
+       (TARGET_SET_CURRENT_FUNCTION): Mention possibility of cfun being NULL.
+
+       (TARGET_BRANCH_TARGET_REGISTER_CLASS): Fix return type.
+
+       (TARGET_USE_LOCAL_THUNK_ALIAS_P): Document as macro instead of hook.
+
+       (TARGET_RELAXED_ORDERING): Use @deftypevr.
+
+       (TARGET_GET_DRAP_RTX): Note that this is a hook.
+       Clarify language.
+
+2010-01-16  Harsha Jagasia  <harsha.jagasia@amd.com>
+
+       PR target/42664
+       * config/i386/i386.c (ix86_fixup_binary_operands):
+       Revert FMA4 fixup of operands.
+
+2010-01-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       PR gcc/42525
+       * Makefile.in (write_entries_to_file, install-plugin):
+       Use \012 instead of \n with tr.
+
+2010-01-16  Richard Sandiford  <r.sandiford@uk.ibm.com>
+
+       * configure.ac (HAVE_AS_REF): New C macro.
+       * configure: Regenerate.
+       * config.in: Likewise.
+       * collect2.c (main): Only postpone SCAN_DWEH to the second pass
+       if HAVE_AS_REF.
+       * config/rs6000/aix.h (ASM_OUTPUT_DWARF_TABLE_REF): Only define
+       if HAVE_AS_REF.
+
+2010-01-16  Joern Rennecke  <amylaar@spamcop.net>
+
+       * doc/tm.texi (TARGET_USE_BLOCKS_FOR_CONSTANT_P): Fix argument types.
+
+       (TARGET_SUPPORT_VECTOR_MISALIGNMENT): Fix argument types.
+
+       (TARGET_USE_ANCHORS_FOR_SYMBOL_P): Fix argument types.
+
+       (TARGET_SCHED_ALLOC_SCHED_CONTEXT): Put 'void *' in braces.
+
+       (TARGET_IN_SMALL_DATA_P): Fix argument type.
+
+       (TARGET_BINDS_LOCAL_P): Fix argument type.
+
+       (TARGET_ASM_FILE_END): Use prototype.
+
+       (TARGET_ASM_RECORD_GCC_SWITCHES): Don't put 'int' in braces.
+
+       (TARGET_DWARF_CALLING_CONVENTION): Fix argument type.
+
+       (TARGET_COMP_TYPE_ATTRIBUTES): Fix argument types.
+
+       (TARGET_VALID_DLLIMPORT_ATTRIBUTE_P): Fix argument type.
+
+       (TARGET_EMUTLS_VAR_ALIGN_FIXED): Don't put 'bool' in braces.
+       (TARGET_EMUTLS_DEBUG_FORM_TLS_ADDRESS): Likewise.
+
+       (TARGET_PCH_VALID_P): Put 'const char *' in braces.
+       (TARGET_CHECK_PCH_TARGET_FLAGS): Likewise.
+
+       (TARGET_ADDR_SPACE_LEGITIMATE_ADDRESS_P): Don't put 'bool' in braces.
+       (TARGET_ADDR_SPACE_SUBSET_P): Likewise.
+       (TARGET_ADDR_SPACE_LEGITIMIZE_ADDRESS): Don't put 'rtx' in braces.
+       (TARGET_ADDR_SPACE_CONVERT): Likewise.
+
+       (TARGET_CASE_VALUES_THRESHOLD): Put 'unsigned int' in braces.
+
+       (TARGET_MACHINE_DEPENDENT_REORG: Use prototype.
+
+       (TARGET_INIT_BUILTINS): Use prototype.
+
+       (TARGET_INVALID_ARG_FOR_UNPROTOTYPED_FN):
+       Put 'const char *' in braces.  Fix parameter types.
+       (TARGET_INVALID_CONVERSION): Fix parameter types.
+       (TARGET_INVALID_UNARY_OP, TARGET_INVALID_BINARY_OP): Likewise.
+       (TARGET_INVALID_PARAMETER_TYPE, TARGET_INVALID_RETURN_TYPE): Likewise.
+
+       (TARGET_PROMOTED_TYPE): Remove braces around 'tree'.
+       Fix argument type.
+
+       (TARGET_CONVERT_TO_TYPE): Remove braces around 'tree'.
+
+       (TARGET_ALLOCATE_STACK_SLOTS_FOR_ARGS): Remove braces around 'bool'.
+
+2010-01-15  Joern Rennecke  <amylaar@spamcop.net>
+
+       * doc/tm.texi (TARGET_HELP): Fix return type.
+
+       (TARGET_PROMOTE_FUNCTION_MODE): Put 'enum machine_mode'
+       in braces.  Fix argument types.
+
+       (TARGET_LIBGCC_CMP_RETURN_MODE): Use prototype.
+
+       (TARGET_LIBGCC_SHIFT_COUNT_MODE): Use prototype.
+
+       (TARGET_MS_BITFIELD_LAYOUT_P): Fix argument type.
+
+       (TARGET_DECIMAL_FLOAT_SUPPORTED_P): Don't put 'bool' in braces.
+       (TARGET_FIXED_POINT_SUPPORTED_P): Likewise.
+
+       (TARGET_MANGLE_TYPE): Fix argument types.
+
+       (TARGET_IRA_COVER_CLASSES): Use prototype.
+
+       (TARGET_BUILTIN_SETJMP_FRAME_VALUE): Fix return type.  Use prototype.
+
+       (TARGET_CAN_ELIMINATE): Use identifiers for argument names.
+
+       (TARGET_PROMOTE_PROTOTYPES): Fix argument type.
+
+       (TARGET_MUST_PASS_IN_STACK): Fix argument type.
+
+       (TARGET_CALLEE_COPIES): Fix argument types.
+
+       (TARGET_SPLIT_COMPLEX_ARG): Fix argument type.
+
+       (TARGET_GIMPLIFY_VA_ARG_EXPR): Fix argument types.
+
+       (TARGET_FUNCTION_VALUE): Fix argument types.
+
+       (TARGET_RETURN_IN_MSB): Fix argument type.
+
+       (TARGET_RETURN_IN_MEMORY): Fix argument types.
+
+       (TARGET_ASM_CAN_OUTPUT_MI_THUNK): Fix argument types.
+
+       (TARGET_EXTRA_LIVE_ON_ENTRY): Fix argument type.
+
+       (TARGET_STRICT_ARGUMENT_NAMING): Make literal in text
+       agree with return type.
+
+       (TARGET_PRETEND_OUTGOING_VARARGS_NAMED): Add Prototype.
+
+2010-01-15  Jing Yu  <jingyu@google.com>
+
+       PR rtl-optimization/42691
+       * combine.c (try_combine): Set changed_i3_dest to 1 when I2 and I3 set
+       a pseudo to a constant and are merged, and adjust comments.
+
+2010-01-15  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * config/i386/sse.md (avx_vperm2f128<mode>3): Fix typo.
+
+2010-01-15  Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/42739
+       * tree-cfgcleanup.c (remove_forwarder_block): Move destination
+       labels of computed or non-local gotos to the destination.
+       * tree-cfg.c (gimple_verify_flow_info): Verify that a EH
+       landing pad label is the first label.
+
+2010-01-15  Richard Guenther  <rguenther@suse.de>
+
+       * tree-ssa-loop-im.c (gen_lsm_tmp_name): Fix bogus fallthru.
+
+2010-01-14  Michael Meissner  <meissner@linux.vnet.ibm.com>
+
+       PR target/42747
+       * config/rs6000/rs6000.md (sqrtdf2): Split into expander and insn
+       to allow generation of the xssqrtdp instruction on power7.
+       (sqrtdf2_fpr): Ditto.
+
+2010-01-14  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/42674
+       * c-decl.c (finish_function): Don't emit -Wreturn-type warnings in
+       functions with noreturn attribute.
+
+       PR c++/42608
+       * varasm.c (declare_weak): Add weak attribute to decl if it
+       doesn't have one already.
+       (assemble_external): Only add decls to weak_decls if they also
+       have weak attribute.
+
+2010-01-14  Alexandre Oliva  <aoliva@redhat.com>
+
+       * var-tracking.c (var_reg_delete): Don't delete the association
+       between REGs and values or one-part variables if the register
+       isn't clobbered.
+
+2010-01-14  Jakub Jelinek  <jakub@redhat.com>
+
+       PR debug/42657
+       * tree-inline.c (copy_debug_stmt): Don't reset debug stmt just
+       because its first operand is a non-localized variable.
+
+2010-01-14  Martin Jambor  <mjambor@suse.cz>
+
+       PR tree-optimization/42706
+       * tree-sra.c (encountered_recursive_call): New variable.
+       (encountered_unchangable_recursive_call): Likewise.
+       (sra_initialize): Initialize both new variables.
+       (callsite_has_enough_arguments_p): New function.
+       (scan_function): Call decl and flags check only for IPA-SRA, check
+       whether there is a recursive call and whether it has enough arguments.
+       (all_callers_have_enough_arguments_p): New function.
+       (convert_callers): Look for recursive calls only when
+       encountered_recursive_call is set.
+       (ipa_early_sra): Bail out either if
+       !all_callers_have_enough_arguments_p or
+       encountered_unchangable_recursive_call.
+
+2010-01-14  Alexander Monakov  <amonakov@ispras.ru>
+
+       * sel-sched.c: Add 2010 to copyright years.
+       * sel-sched-ir.c: Likewise.
+       * sel-sched-ir.h: Likewise.
+
+2010-01-14  Martin Jambor  <mjambor@suse.cz>
+
+       PR tree-optimization/42714
+       * tree-sra.c (sra_ipa_modify_assign): Handle incompatible-type
+       constructors specially.
+
+2010-01-14  Andi Kleen  <ak@linux.intel.com>
+
+       * config/i386/drivers-i386.c (detect_caches_intel):
+       Add l2sizekb parameter and fill in.
+       (host_detect_local_cpu): Add l2sizekb, fill in.
+       Add Atom small cache heuristic.
+
+2010-01-14  Andi Kleen  <ak@linux.intel.com>
+
+       * config/i386/drivers-i386.c (detect_caches_cpuid4):
+       Add level3 parameter and fill in.
+       (detect_caches_intel): Handle level3 cache.
+
+2010-01-14  Andi Kleen  <ak@linux.intel.com>
+
+       * config/i386/drivers-i386.c (host_detect_local_cpu):
+       Fix core duo detection.
+
+2010-01-14  Andi Kleen  <ak@linux.intel.com>
+
+       * config/i386/drivers-i386.c (host_detect_local_cpu):
+       Fix Atom detection.
+
+2010-01-14  Alexander Monakov  <amonakov@ispras.ru>
+
+       * config/rs6000/rs6000.c (rs6000_variable_issue): Rename to...
+       (rs6000_variable_issue_1): this.  Use...
+       (rs6000_variable_issue): here.  Reimplement.  Print debug info.
+
+2010-01-14  Alexander Monakov  <amonakov@ispras.ru>
+
+       * sel-sched-ir.c (sel_restore_other_notes): Rename to
+       sel_restore_notes.  Update all callers.  Call reemit_notes
+       for all insns.
+
+2010-01-14  Andrey Belevantsev  <abel@ispras.ru>
+
+       PR rtl-optimization/42246
+       * sel-sched-ir.h (get_all_loop_exits): Include exits from inner
+       loops.
+
+2010-01-14  Andrey Belevantsev  <abel@ispras.ru>
+
+       * sel-sched.c (compute_av_set_at_bb_end): Do not test that number of
+       all successors is the same as number of successors in current region.
+
+2010-01-14  Alexander Monakov  <amonakov@ispras.ru>
+
+       * sel-sched.c (maybe_emit_renaming_copy): Exit early when expression
+       to rename is not separable.  Otherwise check that its LHS is not NULL.
+
+2010-01-14  Alexander Monakov  <amonakov@ispras.ru>
+
+       * sel-sched.c (choose_best_reg_1):  Loop over all regs for mode.
+
+2010-01-14  Alexander Monakov  <amonakov@ispras.ru>
+
+       * sel-sched.c (mark_unavailable_hard_regs): Do not try to search
+       available registers when failed to discover LHS register class.
+       Fix indentation.  Update comment.
+
 2010-01-14  Andrey Belevantsev  <abel@ispras.ru>
            Alexander Monakov  <amonakov@ispras.ru>
 
        (purge_empty_blocks): Export and move from...
        * sel-sched.c (purge_empty_blocks): ... here.
        * sel-sched-ir.h (sel_redirect_edge_and_branch): Update prototype.
-        (maybe_tidy_empty_bb): Delete prototype.
+       (maybe_tidy_empty_bb): Delete prototype.
        (purge_empty_blocks): Declare.
 
 2010-01-14  Andrey Belevantsev <abel@ispras.ru>
 2010-01-14  Jakub Jelinek  <jakub@redhat.com>
 
        PR c/42721
-       Port from no-undefined-overflow branch
+       Port from no-undefined-overflow branch:
        2009-03-09  Richard Guenther  <rguenther@suse.de>
 
-       * fold-const.c (add_double_with_sign): Fix unsigned overflow
-       detection.
+       * fold-const.c (add_double_with_sign): Fix unsigned overflow detection.
 
 2010-01-14  Richard Guenther  <rguenther@suse.de>
 
 
 2010-01-12  Julian Brown  <julian@codesourcery.com>
 
-        * config/arm/neon-schedgen.ml (Utils): Don't try to
+       * config/arm/neon-schedgen.ml (Utils): Don't try to
        open missing module.
-        (find_with_result): New.
+       (find_with_result): New.
 
 2010-01-12  Jakub Jelinek  <jakub@redhat.com>
 
 
 2010-01-11  Andy Hutchinson  <hutchinsonandy@gcc.gnu.org>
 
-       * config/avr/avr.h (LINKER_NAME): Remove. 
+       * config/avr/avr.h (LINKER_NAME): Remove.
 
 2010-01-11  Janis Johnson  <janis187@us.ibm.com>
 
 
 2010-01-11  Joseph Myers  <joseph@codesourcery.com>
            Shujing Zhao  <pearly.zhao@oracle.com>
-       
+
        PR translation/42469
        * common.opt (Wframe-larger-than=, fcompare-debug=, fdbg-cnt=,
        fira-verbose=, flto-compression-level=, fplugin-arg-): Use tab
        (*rotw<mode>3): New.
        (*rotb<mode>3): New.
        * config/avr/avr.c (avr_rotate_bytes): New function.
-       * config/avr/avr-proto.h (avr_rotate_bytes): New function. 
+       * config/avr/avr-proto.h (avr_rotate_bytes): New function.
 
 2010-01-08  Steve Ellcey  <sje@cup.hp.com>
 
        (concat_note_lists): ... here, and ...
        (unlink_other_notes, rm_other_notes): Merge into...
        (remove_notes): ... here.  Create REG_SAVE_NOTEs for
-       NOTE_INSN_EPILOGUE_BEG.  
+       NOTE_INSN_EPILOGUE_BEG.
 
 2010-01-06  Richard Guenther  <rguenther@suse.de>