OSDN Git Service

* c-tree.h, c-decl.c (build_enumerator): Add location parameter.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index e3d4233..dc5a194 100644 (file)
@@ -1,3 +1,349 @@
+2010-09-08  Arnaud Charlet  <charlet@adacore.com>
+
+       * c-tree.h, c-decl.c (build_enumerator): Add location parameter.
+       * c-parser.c (c_parser_enum_specifier): Adjust call to build_enumerator.
+
+2010-09-08  Kenneth Zadeck <zadeck@naturalbridge.com>
+       PR doc/45587
+       * doc/md.texi: Fixed modes on several standard pattern names.
+
+2010-09-08  Mingjie Xing  <mingjie.xing@gmail.com>
+
+       * config/mips/loongson.md (loongson_psll<V_suffix>): Rename to...
+       (ashl<mode>3): ...this.
+       (loongson_psra<V_suffix>): Rename to...
+       (ashr<mode>3): ...this.
+       (loongson_psrl<V_suffix>): Rename to...
+       (lshr<mode>3): ...this.
+       * config/mips/mips.c (CODE_FOR_loongson_psllh): Define.
+       (CODE_FOR_loongson_psllw): Define.
+       (CODE_FOR_loongson_psrlh): Define.
+       (CODE_FOR_loongson_psrlw): Define.
+       (CODE_FOR_loongson_psrah): Define.
+       (CODE_FOR_loongson_psraw): Define.
+
+2010-09-07  Richard Henderson  <rth@redhat.com>
+
+       * tree-vect-data-refs.c: Include tm_p.h.
+       * Makefile.in (tree-vect-data-refs.o): Update deps.
+       * config/i386/i386-protos.h (ix86_cfun_abi, ix86_function_type_abi):
+       Move delarations outside #ifdef RTX_CODE.
+
+2010-09-07  Richard Henderson  <rth@redhat.com>
+
+       * final.c (rest_of_handle_final): Unconditionally do 
+       output_function_exception_table before assemble_end_function.
+
+2010-09-07  Jan Hubicka  <jh@suse.cz>
+
+       * tree-inline.c (tree_inlinable_function_p): Do not test DECL_REPLACEABLE_P.
+       * ipa-inline.c (cgraph_default_inline_p, update_caller_keys, update_callee_keys,
+       cgraph_decide_inlining): Test function availability.
+       * cif-code.def (OVERWRITABLE): New code.
+
+2010-09-07  H.J. Lu  <hjl.tools@gmail.com>
+           Jack Howarth <howarth@bromo.med.uc.edu>
+
+       PR target/36502
+       PR target/42313
+       PR target/44651
+       * gcc/config/i386/darwin.h (STACK_BOUNDARY): Redefine as 128 for
+       profiling or 64-bit MS_ABI and as BITS_PER_WORD otherwise.
+       (PREFERRED_STACK_BOUNDARY): Replace STACK_BOUNDARY with 128 in
+       MAX macro.
+
+2010-09-07  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * unwind-dw2-fde-glibc.c: Include <elf.h> for DT_CONFIG.
+       Include <link.h> only if USE_PT_GNU_EH_FRAME is defined.
+
+2010-09-07  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config.gcc: Don't append t-android for Android targets.
+
+       * config/t-android: Removed.
+
+2010-09-07  Richard Henderson  <rth@redhat.com>
+
+       * target.def (TARGET_ASM_EMIT_EXCEPT_PERSONALITY): New hook.
+       * doc/tm.texi.in: Add doc marker.
+       * doc/tm.texi: Rebuild.
+       * except.c (switch_to_exception_section): Always build.
+       (output_one_function_exception_table): Move section switch,
+       personality output, and label output ...
+       (output_function_exception_table): ... here.  Use the new
+       personality hook.
+
+       * config/ia64/ia64.c (ia64_asm_emit_except_personality,
+       ia64_asm_init_sections, TARGET_ASM_EMIT_EXCEPT_PERSONALITY,
+       TARGET_ASM_INIT_SECTIONS): New.
+       (ia64_asm_unwind_emit): Rename from process_for_unwind_directive,
+       make static.
+       (TARGET_ASM_UNWIND_EMIT): Update to match.
+       * config/ia64/ia64-protos.h (process_for_unwind_directive): Remove.
+
+       * config/arm/arm.c (arm_asm_emit_except_personality): New.
+       (arm_asm_init_sections): New.
+       (TARGET_ASM_EMIT_EXCEPT_PERSONALITY, TARGET_ASM_INIT_SECTIONS): New.
+
+2010-09-07  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
+
+       * config/arm/arm.md: Remove unused variable.
+
+2010-09-07  Anatoly Sokolov  <aesok@post.ru>
+
+       * config/m32r/m32r.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): Remove.
+       * config/m32r/m32r.c (TARGET_MEMORY_MOVE_COSTS): Define.
+       (m32r_memory_move_cost): New function.
+
+2010-09-07  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config.gcc: Append t-android for Android targets.
+
+       * config/t-android: New.
+
+2010-09-07  Richard Henderson  <rth@redhat.com>
+
+       * target.def (unwind_emit_before_insn): New hook.
+       * doc/tm.texi.in: Add @hook marker for it.
+       * doc/tm.texi: Rebuild.
+       * final.c (final_scan_insn): Respect unwind_emit_before_insn.
+
+2010-09-07  Martin Jambor  <mjambor@suse.cz>
+
+       PR fortran/43665
+       * ipa-cp.c (ipcp_versionable_function_p): Return false if there
+       are any type attributes.
+
+2010-09-07  Jan Hubicka  <jh@suse.cz>
+
+       * tree-ssa-ccp.c (fold_const_aggregate_ref): Fix handling of
+       array_ref_low_bound in string access folding.
+
+2010-09-07  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/45206
+       * config/i386/i386.c (ix86_expand_epilogue): Mark SP as valid after
+       eh_return fixup sequence.
+
+2010-09-07  Jan Hubicka  <jh@suse.cz>
+
+       * gimple-fold.c (maybe_fold_reference): Verify that operand is
+       gimple_min_invariant.
+
+2010-09-07  Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/45569
+       * tree-eh.c (operation_could_trap_helper_p): Neither COMPLEX_EXPR
+       nor CONSTRUCTOR can trap.
+       * tree-complex.c (update_complex_assignment): Update EH info.
+
+2010-09-07  Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/45569
+       * tree-cfg.c (build_gimple_cfg): Remove redundant stmt verification.
+       * passes.c (execute_function_todo): Do not verify anything if
+       we saw errors.
+
+2010-09-07  Richard Guenther  <rguenther@suse.de>
+
+       * tree-pretty-print.c (dump_generic_node): Dump void types as void.
+
+2010-09-07  Bernd Schmidt  <bernds@codesourcery.com>
+
+       PR target/43137
+       * config/arm/iterators.md (qhs_zextenddi_cond, qhs_sextenddi_cond):
+       New define_mode_attrs.
+       * config/arm/arm.md (zero_extendsidi2, arm_zero_extendsidi2,
+       arm_exxtendsidi2, arm_extendsidi2): Delete patterns.
+       (zero_extend<mode>di2, extend<mode>di2 and related splits): New.
+       (thumb1_zero_extendhisi2): Remove code to handle LABEL_REFs.
+       Remove pool_range attribute.
+       (arm_zero_extendhisi2, arm_zero_extendhisi2_v6, arm_zero_extendqisi2,
+       arm_zero_extendqisi2_v6, thumb1_zero_extendqisi2_v6): Remove
+       pool_range and neg_pool_range attributes.
+       * config/arm/thumb2.md (thumb2_zero_extendsidi2,
+       thumb2_zero_extendhidi2, thumb2_zero_extendqidi2, thumb2_extendsidi2,
+       thumb2_extendhidi2, thumb2_extendqidi2): Delete.
+
+2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/i386/linux-unwind.h (x86_fallback_frame_state): Properly
+       check glibc.
+
+2010-09-06  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/22152
+       * config/i386/mmx.md (*mov<mode>_internal_rex64,
+       *mov<mode>_internal_avx, *mov<mode>_internal,
+       *movv2sf_internal_rex64_avx, *movv2sf_internal_rex64,
+       *movv2sf_internal_avx, *movv2sf_internal): Split out !y-!y alternative.
+
+2010-09-06  Mark Mitchell  <mark@codesourcery.com>
+
+       * c-typeck.c (do_warn_double_promotion): Remove.
+       * doc/invoke.texi (-Wdouble-promotion): Note available for C++ and
+       Objective-C++ too.
+
+2010-09-06  Anatoly Sokolov  <aesok@post.ru>
+
+       * config/frv/frv.h (CLASS_LIKELY_SPILLED_P): Remove.
+       * config/frv/frv-protos.h (frv_class_likely_spilled_p): Remove.
+       * config/frv/frv.c (frv_class_likely_spilled_p): Make static. Change
+       argument type to reg_class_t. Change result type to bool.
+       (TARGET_CLASS_LIKELY_SPILLED_P): Define.
+
+2010-09-06  Nicola Pero  <nicola.pero@meta-innovation.com>
+
+       PR libobjc/19850
+       * gthr-posix.h (__gthread_objc_thread_detach): Use
+       _objc_thread_attribs when detaching a thread.
+       * gthr-posix95.h (__gthread_objc_thread_detach): Same change.
+
+2010-09-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR target/45524
+       * configure.ac (enable_decimal_float): Set to $default_decimal_float.
+       * configure: Regenerated.
+
+2010-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
+
+       * combine.c (try_combine): Set subst_low_luid to i0.
+
+2010-09-06  Richard Guenther  <rguenther@suse.de>
+
+       * tree.def (MISALIGNED_INDIRECT_REF): Remove.
+       * tree.h (INDIRECT_REF_P): Only check for INDIRECT_REF.
+       (build_aligned_type): Declare.
+       * tree.c (check_qualified_type): Also compare TYPE_ALIGN.
+       (check_aligned_type): New function.
+       (build_aligned_type): Likewise.
+       * expr.c (expand_assignment): Handle misaligned stores via
+       TARGET_MEM_REF and MEM_REF using movmisalign_optab.
+       (expand_expr_real_1): Likewise.
+       (safe_from_p): Remove MISALIGNED_INDIRECT_REF handling.
+       * tree-vect-stmts.c (vectorizable_store): Do not build
+       MISALIGNED_INDIRECT_REF but initialize alignment information.
+       (vectorizable_load): Likewise.
+       * builtins.c (get_object_alignment): Remove MISALIGNED_INDIRECT_REF
+       handling.
+       * cfgexpand.c (expand_debug_expr): Likewise.
+       * dwarf2out.c (loc_list_from_tree): Likewise.
+       * fold-const.c (maybe_lvalue_p): Likewise.
+       (operand_equal_p): Likewise.
+       (build_fold_addr_expr_with_type_loc): Likewise.
+       * gimplify.c (gimplify_addr_expr): Likewise.
+       (gimplify_expr): Likewise.
+       * tree-cfg.c (verify_types_in_gimple_min_lval): Likewise.
+       (verify_gimple_assign_single): Likewise.
+       * tree-dump.c (dequeue_and_dump): Likewise.
+       (tree_could_trap_p): Likewise.
+       * tree-predcom.c (ref_at_iteration): Likewise.
+       * tree-pretty-print.c (dump_generic_node): Likewise.
+       (op_code_prio): Likewise.
+       (op_symbol_code): Likewise.
+       * tree-ssa-ccp.c (get_value_from_alignment): Likewise.
+       * tree-ssa-loop-im.c (for_each_index): Likewise.
+       (gen_lsm_tmp_name): Likewise.
+       * tree-ssa-loop-ivopts.c (idx_find_step): Likewise.
+       (find_interesting_uses_address): Likewise.
+       * tree-ssa-loop-prefetch.c (idx_analyze_ref): Likewise.
+       * tree-ssa-operands.c (get_expr_operands): Likewise.
+       * tree-ssa-pre.c (create_component_ref_by_pieces_1): Likewise.
+       * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Likewise.
+       (ao_ref_init_from_vn_reference): Likewise.
+       * tree.c (staticp): Likewise.
+       (build1_stat): Likewise.
+       (reference_alias_ptr_type): Likewise.
+       * emit-rtl.c (set_mem_attributes_minus_bitpos): Likewise.
+       * config/rs6000/rs6000.c (rs6000_check_sdmode): Remove
+       MISALIGNED_INDIRECT_REF handling.
+
+2010-09-06  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/45534
+       * tree-ssa-address.c (create_mem_ref_raw): Add verify parameter.
+       (create_mem_ref): Do verify the created TARGET_MEM_REF is valid
+       on the target.
+       (maybe_fold_tmr): Do not verify the created TARGET_MEM_REF is
+       valid on the target.
+
+2010-09-06  Andreas Schwab  <schwab@redhat.com>
+
+       * configure.ac: Quote argument of AC_MSG_WARN.
+       * configure: Regenerate.
+
+2010-09-06  Alexander Monakov  <amonakov@ispras.ru>
+
+       * sel-sched.c (move_cond_jump): Correct arguments to
+       maybe_tidy_empty_bb.
+       * sel-sched-ir.c (maybe_tidy_empty_bb): Export.
+
+2010-09-06  Andrey Belevantsev  <abel@ispras.ru>
+
+       PR rtl-optimization/44919
+       * sel-sched.c (move_cond_jump): Remove assert, check that
+       the several blocks case can only happen with mutually exclusive
+       insns instead.  Rewrite the movement code to support moving through
+       several basic blocks.
+
+2010-09-06  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/i386.md (iptrsize): New mode attribute.
+       (tp_seg): Ditto.
+       (*load_tp_<mode>): Macroize insn from *load_tp_{si,di} using P
+       mode iterator.
+       (*add_tp_<mode>): Ditto from *add_tp_{si,di}.
+       (stack_protect_set_<mode>): Ditto from stack_protect_set_{si,di}.
+       (stack_protect_test_<mode>): Ditto from stack_protect_test_{si,di}.
+       (stack_tls_protect_set_<mode>): Ditto from
+       stack_tls_protect_set_{si,di}.  Use %@ to output segment register
+       of thread base pointer load.
+       (stack_tls_protect_test_<mode>): Ditto from
+       stack_tls_protect_test_{si,di}.  Use %@ to output segment register
+       of thread base pointer load.
+       (stack_protect_set): Rewrite using indirect functions.
+       (stack_protect_test): Ditto.
+       * config/i386/i386.c (ix86_print_operand_punct_valid): Add '@'.
+       (ix86_print_operand): Handle '@'.
+
+2010-09-05  Giuseppe Scrivano  <gscrivano@gnu.org>
+
+       * tree-tailcall.c (process_assignment): Handle NEGATE_EXPR and
+       MINUS_EXPR.
+
+2010-09-05  Mark Mitchell  <mark@codesourcery.com>
+
+       * doc/invoke.texi: Document -Wdouble-promotion.
+       * c-typeck.c (convert_arguments): Check for implicit conversions
+       from float to double.
+       (do_warn_double_promotion): New function.
+       (build_conditional_expr): Use it.
+       (build_binary_op): Likewise.
+
+2010-09-05  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/45535
+       * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Properly
+       handle TMR_INDEX2.  Make sure TMR_INDEX is not NULL before
+       dereferencing it.
+       (indirect_refs_may_alias_p): Likewise.
+
+2010-09-05  Naveen H.S  <naveen.S@kpitcummins.com>
+
+       * config/sh/sh.c (sh_option_override): Make static.
+       Adjust comments.  Declare.
+       (sh_function_value_regno_p): Likewise.
+       (sh_register_move_cost): Modify the arguments, make static.
+       Adjust comments.  Declare.
+       (TARGET_OPTION_OVERRIDE, TARGET_REGISTER_MOVE_COST
+       TARGET_FUNCTION_VALUE_REGNO_P): Define.
+       * config/sh/sh.h (OVERRIDE_OPTIONS, FUNCTION_VALUE_REGNO_P
+       REGISTER_MOVE_COST): Delete.
+       * config/sh/sh-protos.h (sh_override_options): Delete.
+       (sh_register_move_cost): Delete.
+       (sh_function_value_regno_p): Delete.
+
 2010-09-04  Anatoly Sokolov  <aesok@post.ru>
 
        * config/m32r/m32r.c (m32r_function_value, m32r_libcall_value,