OSDN Git Service

* config/darwin.opt (mmacosx-version-min): Update default OS
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index f525643..21580a1 100644 (file)
@@ -1,9 +1,218 @@
+2011-02-07  Mike Stump  <mikestump@comcast.net>
+
+       * config/darwin.opt (mmacosx-version-min): Update default OS
+       version.
+
+2011-02-07  Denis Chertykov  <chertykov@gmail.com>
+
+       PR target/47534
+       * config/avr/libgcc.S (exit): Move .endfunc
+
+2011-02-07  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/47615
+       * tree-ssa-sccvn.h (run_scc_vn): Take a vn-walk mode argument.
+       * tree-ssa-sccvn.c (default_vn_walk_kind): New global.
+       (run_scc_vn): Initialize it.
+       (visit_reference_op_load): Use it.
+       * tree-ssa-pre.c (execute_pre): Use VN_WALK if in PRE.
+
+2011-02-07  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
+
+       * config/spu/spu.c (spu_init_libfuncs): Install SImode and
+       DImode trapping arithmetic libfuncs.
+
+2011-02-07  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/47621
+       * tree-ssa.c (non_rewritable_lvalue_p): New function, split out from
+       two duplicates ...
+       (execute_update_addresses_taken): ... here.  Make it more
+       conservative in what we accept.
+
+2011-02-06  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/sparc/freebsd.h (ASM_SPEC): Define.
+       * config/sparc/vxworks.h (ASM_SPEC): Define.
+
+2011-02-06  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/sparc/sol2-bi.h (CC1_SPEC): Remove %{sun4:} %{target:}.
+
+2011-02-06  Steven Bosscher  <steven@gcc.gnu.org>
+
+       * doc/invoke.texi: Remove reference to compiler internals from
+       user documentation.
+
+       * reg-notes.def: Remove REG_VALUE_PROFILE.
+       * combine.c (distribute_notes): Do not handle REG_VALUE_PROFILE.
+
+2011-02-05  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/47610
+       * varasm.c (default_section_type_flags): If decl is NULL,
+       and name is .data.rel.ro or .data.rel.ro.local, set SECTION_RELRO bit.
+
+2011-02-05  Jie Zhang  <jie@codesourcery.com>
+
+       PR debug/42631
+       * web.c (entry_register): Don't clobber the number of the
+       first uninitialized reference in used[].
+
+2011-02-04  Sebastian Pop  <sebastian.pop@amd.com>
+
+       PR tree-optimization/46194
+       * tree-data-ref.c (analyze_miv_subscript): Remove comment.
+       (build_classic_dist_vector_1): Do not represent classic distance
+       vectors when the access functions are variating in different loops.
+
+2011-02-04  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/mips/iris6.opt: New.
+       * config.gcc (mips-sgi-irix6.5*): Use mips/iris6.opt.
+
+2011-02-04  Richard Henderson  <rth@redhat.com>
+           Steve Ellcey  <sje@cup.hp.com>
+
+       PR target/46997
+       * config/ia64/predicates.md (mux1_brcst_element): New.
+       * config/ia64/ia64-protos.h (ia64_unpack_assemble): New.
+       * config/ia64/ia64.c (ia64_unpack_assemble): New.
+       (ia64_unpack_sign): New.
+       (ia64_expand_unpack): Rewrite using new routines.
+       (ia64_expand_widen_sum): Ditto.
+       (ia64_expand_dot_prod_v8qi): Ditto.
+       * config/ia64/vect.md (mulv8qi3): Rewrite to use new
+       routines, add endian check.
+       (pmpy2_even): Rename from pmpy2_r, add endian check.
+       (pmpy2_odd): Rename from pmpy2_l, add endian check.
+       (vec_widen_smult_lo_v4hi): Rewrite using new routines.
+       (vec_widen_smult_hi_v4hi): Ditto.
+       (vec_widen_umult_lo_v4hi): Ditto.
+       (vec_widen_umult_hi_v4hi): Ditto.
+       (mulv2si3): Change endian checks.
+       (sdot_prodv4hi): Rewrite with new calls.
+       (udot_prodv4hi): New.
+       (vec_pack_ssat_v4hi): Add endian check.
+       (vec_pack_usat_v4hi): Ditto.
+       (vec_pack_ssat_v2si): Ditto.
+       (max1_even): Rename from max1_r, add endian check.
+       (max1_odd): Rename from max1_l, add endian check.
+       (*mux1_rev): Format change.
+       (*mux1_mix): Ditto.
+       (*mux1_shuf): Ditto.
+       (*mux1_alt): Ditto.
+       (*mux1_brcst_v8qi): Use new predicate.
+       (vec_extract_evenv8qi): Remove endian check.
+       (vec_extract_oddv8qi): Ditto.
+       (vec_interleave_lowv4hi): Format change.
+       (vec_interleave_highv4hi): Ditto.
+       (mix2_even): Rename from mix2_r, add endian check.
+       (mix2_odd): Rename from mux2_l, add endian check.
+       (*mux2): Fix mask setting for TARGET_BIG_ENDIAN.
+       (vec_extract_evenodd_helper): Format change.
+       (vec_extract_evenv4hi): Remove endian check.
+       (vec_extract_oddv4hi): Remove endian check.
+       (vec_interleave_lowv2si): Format change.
+       (vec_interleave_highv2si): Format change.
+       (vec_initv2si): Remove endian check.
+       (vecinit_v2si): Add endian check.
+       (reduc_splus_v2sf): Add endian check.
+       (reduc_smax_v2sf): Ditto.
+       (reduc_smin_v2sf): Ditto.
+       (vec_initv2sf): Remove endian check.
+       (fpack): Add endian check.
+       (fswap): Add endian check.
+       (vec_interleave_highv2sf): Add endian check.
+       (vec_interleave_lowv2sf): Add endian check.
+       (fmix_lr): Add endian check.
+       (vec_setv2sf): Format change.
+       (*vec_extractv2sf_0_be): Use shift to extract operand.
+       (*vec_extractv2sf_1_be): New.
+       (vec_pack_trunc_v4hi): Add endian check.
+       (vec_pack_trunc_v2si): Format change.
+
+2011-02-04  Jakub Jelinek  <jakub@redhat.com>
+
+       PR inline-asm/23200
+       * tree-ssa-ter.c (is_replaceable_p): Add TER argument.  Don't
+       do bb, locus and block comparison and disallow loads if it is not set.
+       (stmt_is_replaceable_p): New function.
+       (process_replaceable, find_replaceable_in_bb): Adjust is_replaceable_p
+       callers.
+       * expr.c (expand_expr_real_1) <case SSA_NAME>: If
+       get_gimple_for_ssa_name try for EXPAND_INITIALIZER harder to use
+       SSA_NAME_DEF_STMT.
+       * tree-flow.h (stmt_is_replaceable_p): New prototype.
+
+2011-02-04  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/rs6000/xilinx.opt: New.
+       * config.gcc (powerpc-xilinx-eabi*): Use rs6000/xilinx.opt.
+
+2011-02-04  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/mips/mips.opt (EB, EL, noasmopt): New Driver options.
+
+2011-02-03  Anatoly Sokolov  <aesok@post.ru>
+
+       * config/xtensa/xtensa.h (PREFERRED_RELOAD_CLASS,
+       PREFERRED_OUTPUT_RELOAD_CLASS): Remove.
+       * config/xtensa/xtensa-protos.h (xtensa_preferred_reload_class,
+       secondary_reload_info, xtensa_secondary_reload): Remove.
+       * config/xtensa/xtensa.c (TARGET_PREFERRED_RELOAD_CLASS,
+       TARGET_PREFERRED_OUTPUT_RELOAD_CLASS): Define.
+       (xtensa_preferred_reload_class): Make static. Change return and
+       'rclass' argument type to reg_class_t. Remove 'isoutput' argument.
+       Use CONST_DOUBLE_P predicate.
+       (xtensa_preferred_output_reload_class): New function.
+       (xtensa_secondary_reload): Make static.
+
+2011-02-03  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/microblaze/microblaze.opt (Zxl-mode-bootstrap,
+       Zxl-mode-executable, Zxl-mode-novectors, Zxl-mode-xilkernel,
+       Zxl-mode-xmdstub, mxl-mode-xilkernel): New Driver options.
+
+2011-02-03  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/31490
+       * output.h (SECTION_RELRO): Define.
+       (SECTION_MACH_DEP): Adjust.
+       (get_variable_section): New prototype.
+       * varpool.c (varpool_finalize_named_section_flags): New function.
+       (varpool_assemble_pending_decls): Call it.
+       * cgraph.h (varpool_finalize_named_section_flags): New prototype.
+       * cgraphunit.c (cgraph_output_in_order): Call
+       varpool_finalize_named_section_flags.
+       * varasm.c (get_section): Allow section flags conflicts between
+       relro and read-only sections if the section hasn't been declared yet.
+       Set SECTION_OVERRIDE after diagnosing section type conflict.
+       (get_variable_section): No longer static.
+       (default_section_type_flags): Use SECTION_WRITE | SECTION_RELRO for
+       readonly sections that need relocations.
+       (decl_readonly_section_1): New function.
+       (decl_readonly_section): Use it.
+
+       Revert:
+       2010-11-17  Dinar Temirbulatov <dtemirbulatov@gmail.com>
+                   Steve Ellcey  <sje@cup.hp.com>
+
+       PR middle-end/31490
+       * varasm.c (categorize_decl_for_section): Ignore reloc_rw_mask
+       if section attribute used.
+
+2011-02-03  Jakub Jelinek  <jakub@redhat.com>
+
+       * config/darwin.h (SECTION_NO_ANCHOR): Remove.
+       * config/darwin.c (SECTION_NO_ANCHOR): Define.
+       (darwin_init_sections): Remove assertion.
+
 2011-02-03  Nick Clifton  <nickc@redhat.com>
 
        * config/rx/predicates.md (rx_zs_comparison_operator): Remove
        lt and ge.
-       * config/rx/rx.md (abssi2_flags): Use CC_ZSmode rather than
-       CC_ZSOmode.
+       * config/rx/rx.md (abssi2_flags): Use CC_ZSmode rather than CC_ZSOmode.
        * config/rx/rx.c (rx_print_operand): Use "lt" and "ge" suffixes
        instead of "n" and "pz".
        (flags_from_code): LT and GE tests need CC_FLAG_O as well as
        debug insns.
        (no_real_insns_p, schedule_block, set_priorities): Drop special
        treatment of boundary debug insns.
-       * sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug
-       insns.
+       * sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug insns.
        * sched-ebb.c (schedule_ebbs): Adjust skipping of debug insns.
        * sched-int.h (DEBUG_INSN_SCHED_P): Remove.
        (BOUNDARY_DEBUG_INSN_P): Likewise.
        debug insns.
        (no_real_insns_p, schedule_block, set_priorities): Drop special
        treatment of boundary debug insns.
-       * sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug
-       insns.
+       * sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug insns.
        * sched-ebb.c (schedule_ebbs): Don't skip debug insns.
        * sched-int.h (DEBUG_INSN_SCHED_P): Remove.
        (BOUNDARY_DEBUG_INSN_P): Likewise.
        * ginclude/stddef.h: Check for _X86_64_ANSI_H_ and _I386_ANSI_H_ as
        used by NetBSD.
 
-2011-01-28  Ahmad Sharif <asharif@google.com>
+2011-01-28  Ahmad Sharif  <asharif@google.com>
 
        * value-prof.c (check_counter): Corrected error message.
 
        * config/arm/arm.c (arm_legitimize_reload_address): New.
        * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
        arm_legitimize_reload_address.
-       * config/arm/arm-protos.h (arm_legitimize_reload_address):
-       Declare.
+       * config/arm/arm-protos.h (arm_legitimize_reload_address): Declare.
 
 2011-01-28  Ian Lance Taylor  <iant@google.com>
 
        that don't allow that.
        * lto-cgraph.c (lto_output_node): Stream local.can_change_signature.
        (lto_input_node): Likewise.
-       * ipa-inline.c (compute_inline_parameters): Compute local.can_change_signature.
+       * ipa-inline.c (compute_inline_parameters): Compute
+       local.can_change_signature.
        * ipa-split.c (visit_bb): Never split away APPLY_ARGS.
-       * tree-sra.c (ipa_sra_preliminary_function_checks): Give up on functions
-       that can not change signature.
+       * tree-sra.c (ipa_sra_preliminary_function_checks): Give up on
+       functions that can not change signature.
        * i386.c (ix86_function_regparm, ix86_function_sseregparm,
-       init_cumulative_args): Do not use local calling conventions for functions
-       that can not change signature.
+       init_cumulative_args): Do not use local calling conventions
+       for functions that can not change signature.
 
 2011-01-22  Jan Hubicka  <jh@suse.cz>
 
        debug insns.
        (no_real_insns_p, schedule_block, set_priorities): Drop special
        treatment of boundary debug insns.
-       * sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug
-       insns.
+       * sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug insns.
        * sched-ebb.c (schedule_ebbs): Don't skip debug insns.
        * sched-int.h (DEBUG_INSN_SCHED_P): Remove.
        (BOUNDARY_DEBUG_INSN_P): Likewise.
        (rx_promote_function_mode): Likewise.
        (gen_safe_add): Place an outsized immediate value inside an UNSPEC
        in order to make it legitimate.
-       * config/rx/rx.md (adddi3_internal): If the second operand is a
-       MEM make sure that the first operand is the same as the result
-       register.
+       * config/rx/rx.md (adddi3_internal): If the second operand is a MEM
+       make sure that the first operand is the same as the result register.
        (addsi3_unspec): Delete.
        (subdi3): Do not accept immediate operands.
        (subdi3_internal): Likewise.
 2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>
 
        * graphite-sese-to-poly.c (build_poly_scop): Move
-       rewrite_commutative_reductions_out_of_ssa before
-       find_scop_parameters.
+       rewrite_commutative_reductions_out_of_ssa before find_scop_parameters.
 
 2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>
 
 
 2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>
 
-       * graphite-dependences.c (build_lexicographical_constraint): Remove the
-       gdim parameter.
-       (build_lexicographical_constraint): Adjust call to ppl_powerset_is_empty.
+       * graphite-dependences.c (build_lexicographical_constraint): Remove
+       the gdim parameter.
+       (build_lexicographical_constraint): Adjust call to
+       ppl_powerset_is_empty.
        (dependence_polyhedron): Same.
        (graphite_legal_transform_dr): Same.
        (graphite_carried_dependence_level_k): Same.
-       * graphite-ppl.c (ppl_powerset_is_empty): Remove the nb_params parameter.
+       * graphite-ppl.c (ppl_powerset_is_empty): Remove the nb_params
+       parameter.
        * graphite-ppl.h (ppl_powerset_is_empty): Adjust declaration.
 
 2011-01-25  Sebastian Pop  <sebastian.pop@amd.com>
        (mov<>): FAIL if a constant operand is not legitimate.
        (addsi3_unpsec): New pattern.
 
-       * config/rx/rx.c (rx_print_operand_address): Handle UNPSEC
-       CONSTs.
+       * config/rx/rx.c (rx_print_operand_address): Handle UNSPEC CONSTs.
        (ok_for_max_constant): New function.
        (gen_safe_add): New function.
        (rx_expand_prologue): Use gen_safe_add.
 
 2011-01-18  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
 
-       * config/arm/cortex-a9.md (cortex-a9-neon.md): Actually
-       include.
+       * config/arm/cortex-a9.md (cortex-a9-neon.md): Actually include.
        (cortex_a9_dp): Handle neon types correctly.
 
 2011-01-18  Jakub Jelinek  <jakub@redhat.com>
 
        PR rtl-optimization/47299
        * expr.c (expand_expr_real_2) <case WIDEN_MULT_EXPR>: Don't use
-       subtarget.  Use normal multiplication if both operands are
-       constants.
+       subtarget.  Use normal multiplication if both operands are constants.
        * expmed.c (expand_widening_mult): Don't try to optimize constant
        multiplication if op0 has VOIDmode.  Convert op1 constant to mode
        before using it.
 
 2011-01-14  Joseph Myers  <joseph@codesourcery.com>
 
-       * config/rs6000/vxworks.h (CC1_SPEC): Don't handle -fvec or
-       -fvec-eabi.
+       * config/rs6000/vxworks.h (CC1_SPEC): Don't handle -fvec or -fvec-eabi.
 
 2011-01-14  Mike Stump  <mikestump@comcast.net>
 
 
 2011-01-14  Joseph Myers  <joseph@codesourcery.com>
 
-       * config/microblaze/microblaze.h (ASM_SPEC): Remove
-       %{microblaze1}.
+       * config/microblaze/microblaze.h (ASM_SPEC): Remove %{microblaze1}.
 
 2011-01-14  Joseph Myers  <joseph@codesourcery.com>