X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=gcc%2FChangeLog;h=d069140998efb0c2e940f61ca6d3e408bcefb552;hp=c293fd708af1839564bd6f9abe00874d3943eee3;hb=19e04b721e6a4f2697a5834ee6ad2b6badea29b1;hpb=a4f7f36cea4549c591bf1c0559a5586d6ef7dc48 diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c293fd708af..d069140998e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,10 +1,857 @@ +2011-02-08 Joseph Myers + + * config/rs6000/aix64.opt (posix, pthread): New Driver options. + +2011-02-08 Joseph Myers + + * config/gnu-user.opt: New. + * config.gcc (*-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu | + *-*-knetbsd*-gnu | *-*-gnu* | *-*-kopensolaris*-gnu, + *-*-uclinux*): Use gnu-user.opt. + +2011-02-08 Thomas Schwinge + + * config/gnu.h (CPP_SPEC, LIB_SPEC): Remove handling of -bsd option. + * config/i386/gnu.h (CPP_SPEC): Likewise. + +2011-02-08 Ian Lance Taylor + + * common.opt (fcx-limited-range): Add SetByCombined flag. + (ffinite-math-only, fmath-errno, frounding-math): Likewise. + (fsignaling-nans, fsigned-zeros, ftrapping-math): Likewise. + (fassociative-math, freciprocal-math): Likewise. + (funsafe-math-optimizations): Likewise. + * opth-gen.awk: Handle SetByCombined. + * optc-gen.awk: Likewise. + * opts.c (set_fast_math_flags): Don't override flag if set by + frontend. + (set_unsafe_math_optimizations_flags): Likewise. + * doc/options.texi (Option properties): Document SetByCombined. + +2011-02-08 Joseph Myers + + * config.gcc (arc-*, alpha*-*-gnu*, arm*-*-netbsd*, arm-*-pe*, + i[34567]86-*-interix3*, i[34567]86-*-netbsd*, i[34567]86-*-pe, + m68hc11-*-*, m6811-*-*, m68hc12-*-*, m6812-*-*, + m68k-*-uclinuxoldabi*, mcore-*-pe*, powerpc*-*-gnu*, + sh*-*-symbianelf*, vax-*-netbsd*): Mark obsolete. + +2011-02-08 Sebastian Pop + + PR tree-optimization/46834 + PR tree-optimization/46994 + PR tree-optimization/46995 + * graphite-sese-to-poly.c (used_outside_reduction): New. + (detect_commutative_reduction): Call used_outside_reduction. + (rewrite_commutative_reductions_out_of_ssa_close_phi): Call + translate_scalar_reduction_to_array only when at least one + loop-phi/close-phi tuple has been detected. + +2011-02-08 Richard Guenther + + PR middle-end/47639 + * tree-vect-generic.c (expand_vector_operations_1): Update + stmts here ... + (expand_vector_operations): ... not here. Cleanup EH info + and the CFG if required. + +2011-02-08 Richard Guenther + + PR tree-optimization/47641 + * tree-ssa.c (execute_update_addresses_taken): For asm outputs + require type compatibility. + +2011-02-08 Andreas Krebbel + + * gimple-low.c (lower_function_body): Don't remove the location of + the return statement here. + (lower_gimple_return): Do it here instead but only if the return + statement is actually used twice. + +2011-02-08 Richard Guenther + + PR tree-optimization/47632 + * tree-ssa-forwprop.c (remove_prop_source_from_use): Remove + unused up_to_stmt parameter, return whether cfg-cleanup is + necessary, remove EH info properly. + (forward_propagate_into_gimple_cond): Adjust caller. + (forward_propagate_into_cond): Likewise. + (forward_propagate_comparison): Likewise. + (tree_ssa_forward_propagate_single_use_vars): Make + forward_propagate_comparison case similar to the two others. + +2011-02-08 Nick Clifton + + * config/mn10300/mn10300.opt (mliw): New command line option. + * config/mn10300/mn10300.md (UNSPEC_LIW): New unspec. + (liw_bundling): New automaton. + (liw): New attribute. + (liw_op): New attribute. + (liw_op1, liw_op2, liw_both, liw_either): New reservations. + (movsi_internal): Add LIW attributes. + (andsi3): Likewise. + (iorsi3): Likewise. + (xorsi3): Likewise. + (addsi3): Separate register and immediate alternatives. + Add LIW attributes. + (subsi3): Likewise. + (cmpsi): Likewise. + (aslsi3): Likewise. + (lshrsi3): Likewise. + (ashrsi3): Likewise. + (liw): New pattern. + * config/mn10300/mn10300.c (liw_op_names): New + (mn10300_print_operand): Handle 'W' operand descriptor. + (extract_bundle): New function. + (check_liw_constraints): New function. + (liw_candidate): New function. + (mn10300_bundle_liw): New function. + (mn10300_reorg): New function. + (TARGET_MACHINE_DEPENDENT_REORG): Define. + (TARGET_DEFAULT_TARGET_FLAGS): Add MASK_ALLOW_LIW. + * config/mn10300/mn10300.h (TARGET_CPU_CPP_BUILTINS): Define + __LIW__ or __NO_LIW__. + * doc/invoke.texi: Describe the -mliw command line option. + +2011-02-07 John David Anglin + + * config.gcc (hppa[12]*-*-hpux11*): Don't set extra_parts. + * config/pa/stublib.c (pthread_default_stacksize_np, pthread_mutex_lock, + pthread_mutex_unlock): Remove. + * config/pa/t-pa-hpux11: Remove rules to build pthread stubs. + * config/pa/t-pa64: Likewise. + * config/pa/pa64-hpux.h (LIB_SPEC): In static links, link against + shared libc if not linking against libpthread. + * config/pa/pa-hpux11.h (LIB_SPEC): Likewise. + +2011-02-07 Iain Sandoe + + PR target/47558 + * config/darwin10.h (LINK_GCC_C_SEQUENCE_SPEC): Put -lSystem first + on 10.6 and later to ensure that we always use the unwinder from + the system. Only add -no_compact_unwind when tarteting darwin + 10.6 or later. + +2011-02-07 Steve Ellcey + + PR target/46997 + * vect.md (vec_interleave_highv2sf): Change fmix for TARGET_BIG_ENDIAN. + (vec_interleave_lowv2sf): Ditto. + (vec_extract_evenv2sf): Add TARGET_BIG_ENDIAN check. + (vec_extract_oddv2sf): Ditto. + +2011-02-07 Mike Stump + + PR target/42333 + Add __ieee_divdc3 entry point. + * config/i386/darwin.h (DECLARE_LIBRARY_RENAMES): Retain ___divdc3 + entry point. + (SUBTARGET_INIT_BUILTINS): Call darwin_rename_builtins. + * config/i386/i386.c (TARGET_INIT_LIBFUNCS): Likewise. + * config/darwin.c (darwin_rename_builtins): Add. + * config/darwin-protos.h (darwin_rename_builtins): Add. + +2011-02-07 Michael Meissner + + PR target/47636 + * config/rs6000/rs6000.md (rsqrt2): Use the correct macro + for the condition. + +2011-02-07 Mike Stump + + * config/darwin.opt (mmacosx-version-min): Update default OS + version. + +2011-02-07 Denis Chertykov + + PR target/47534 + * config/avr/libgcc.S (exit): Move .endfunc + +2011-02-07 Richard Guenther + + 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 + + * config/spu/spu.c (spu_init_libfuncs): Install SImode and + DImode trapping arithmetic libfuncs. + +2011-02-07 Richard Guenther + + 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 + + * config/sparc/freebsd.h (ASM_SPEC): Define. + * config/sparc/vxworks.h (ASM_SPEC): Define. + +2011-02-06 Joseph Myers + + * config/sparc/sol2-bi.h (CC1_SPEC): Remove %{sun4:} %{target:}. + +2011-02-06 Steven Bosscher + + * 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 + + 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 + + PR debug/42631 + * web.c (entry_register): Don't clobber the number of the + first uninitialized reference in used[]. + +2011-02-04 Sebastian Pop + + 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 + + * config/mips/iris6.opt: New. + * config.gcc (mips-sgi-irix6.5*): Use mips/iris6.opt. + +2011-02-04 Richard Henderson + Steve Ellcey + + 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 + + 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) : 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 + + * config/rs6000/xilinx.opt: New. + * config.gcc (powerpc-xilinx-eabi*): Use rs6000/xilinx.opt. + +2011-02-04 Joseph Myers + + * config/mips/mips.opt (EB, EL, noasmopt): New Driver options. + +2011-02-03 Anatoly Sokolov + + * 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 + + * 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 + + 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 + Steve Ellcey + + PR middle-end/31490 + * varasm.c (categorize_decl_for_section): Ignore reloc_rw_mask + if section attribute used. + +2011-02-03 Jakub Jelinek + + * config/darwin.h (SECTION_NO_ANCHOR): Remove. + * config/darwin.c (SECTION_NO_ANCHOR): Define. + (darwin_init_sections): Remove assertion. + +2011-02-03 Nick Clifton + + * 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.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 + CC_FLAG_S. + +2011-02-03 Jakub Jelinek + + PR target/47312 + * expr.c (expand_expr_real_2) : If target doesn't expand + fma, expand FMA_EXPR as fma{,f,l} call. + + PR lto/47274 + * lto-streamer-out.c (write_symbol): When writing kind and visibility, + copy them into a unsigned char variable and pass address of it to + lto_output_data_stream. + + PR target/47564 + * toplev.c (target_reinit): Save and restore *crtl and regno_reg_rtx + around backend_init_target and lang_dependent_init_target calls. + * cgraphunit.c (cgraph_debug_gimple_stmt): New function. + (verify_cgraph_node): Don't call set_cfun here. Use + cgraph_debug_gimple_stmt instead of debug_gimple_stmt. + Set error_found for incorrectly represented calls to thunks. + +2011-02-03 Alexandre Oliva + + PR debug/43092 + PR rtl-optimization/43494 + * rtl.h (for_each_inc_dec_fn): New type. + (for_each_inc_dec): Declare. + * rtlanal.c (struct for_each_inc_dec_ops): New type. + (for_each_inc_dec_find_inc_dec): New fn. + (for_each_inc_dec_find_mem): New fn. + (for_each_inc_dec): New fn. + * dse.c (struct insn_size): Remove. + (replace_inc_dec, replace_inc_dec_mem): Remove. + (emit_inc_dec_insn_before): New fn. + (check_for_inc_dec): Use it, along with for_each_inc_dec. + (canon_address): Pass mem modes to cselib_lookup. + * cselib.h (cselib_lookup): Add memmode argument. Adjust callers. + (cselib_lookup_from_insn): Likewise. + (cselib_subst_to_values): Likewise. + * cselib.c (find_slot_memmode): New var. + (cselib_find_slot): New fn. Use it instead of + htab_find_slot_with_hash everywhere. + (entry_and_rtx_equal_p): Use find_slot_memmode. + (autoinc_split): New fn. + (rtx_equal_for_cselib_p): Rename and implement in terms of... + (rtx_equal_for_cselib_1): ... this. Take memmode, pass it on. + Deal with autoinc. Special-case recursion into MEMs. + (cselib_hash_rtx): Likewise. + (cselib_lookup_mem): Infer pmode from address mode. Distinguish + address and MEM modes. + (cselib_subst_to_values): Add memmode, pass it on. + Deal with autoinc. + (cselib_lookup): Add memmode argument, pass it on. + (cselib_lookup_from_insn): Add memmode. + (cselib_invalidate_rtx): Discard obsolete push_operand handling. + (struct cselib_record_autoinc_data): New. + (cselib_record_autoinc_cb): New fn. + (cselib_record_sets): Use it, along with for_each_inc_dec. Pass MEM + mode to cselib_lookup. Reset autoinced REGs here instead of... + (cselib_process_insn): ... here. + * var-tracking.c (replace_expr_with_values, use_type): Pass MEM mode + to cselib_lookup. + (add_uses): Likewise, also to cselib_subst_to_values. + (add_stores): Likewise. + * sched-deps.c (add_insn_mem_dependence): Pass mode to + cselib_subst_to_values. + (sched_analyze_1, sched_analyze_2): Likewise. Adjusted. + * gcse.c (do_local_cprop): Adjusted. + * postreload.c (reload_cse_simplify_set): Adjusted. + (reload_cse_simplify_operands): Adjusted. + * sel-sched-dump (debug_mem_addr_value): Pass mode. + +2011-02-03 Alexandre Oliva + + PR tree-optimization/45122 + * tree-ssa-loop-niter.c (number_of_iterations_exit): Don't make + unsafe assumptions when there's more than one loop exit. + +2011-02-02 Michael Meissner + + PR target/47272 + * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions): + Document using vector double with the load/store builtins, and + that the load/store builtins always use Altivec instructions. + + * config/rs6000/vector.md (vector_altivec_load_): New insns + to use altivec memory instructions, even on VSX. + (vector_altivec_store_): Ditto. + + * config/rs6000/rs6000-protos.h (rs6000_address_for_altivec): New + function. + + * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add + V2DF, V2DI support to load/store overloaded builtins. + + * config/rs6000/rs6000-builtin.def (ALTIVEC_BUILTIN_*): Add + altivec load/store builtins for V2DF/V2DI types. + + * config/rs6000/rs6000.c (rs6000_option_override_internal): Don't + set avoid indexed addresses on power6 if -maltivec. + (altivec_expand_ld_builtin): Add V2DF, V2DI support, use + vector_altivec_load/vector_altivec_store builtins. + (altivec_expand_st_builtin): Ditto. + (altivec_expand_builtin): Add VSX memory builtins. + (rs6000_init_builtins): Add V2DI types to internal types. + (altivec_init_builtins): Add support for V2DF/V2DI altivec + load/store builtins. + (rs6000_address_for_altivec): Insure memory address is appropriate + for Altivec. + + * config/rs6000/vsx.md (vsx_load_): New expanders for + vec_vsx_ld and vec_vsx_st. + (vsx_store_): Ditto. + + * config/rs6000/rs6000.h (RS6000_BTI_long_long): New type + variables to hold long long types for VSX vector memory builtins. + (RS6000_BTI_unsigned_long_long): Ditto. + (long_long_integer_type_internal_node): Ditti. + (long_long_unsigned_type_internal_node): Ditti. + + * config/rs6000/altivec.md (UNSPEC_LVX): New UNSPEC. + (altivec_lvx_): Make altivec_lvx use a mode iterator. + (altivec_stvx_): Make altivec_stvx use a mode iterator. + + * config/rs6000/altivec.h (vec_vsx_ld): Define VSX memory builtin + short cuts. + (vec_vsx_st): Ditto. + +2011-02-02 Joseph Myers + + * config/pa/pa-hpux10.opt: New. + * config/hpux11.opt (pthread): New Driver option. + * config/pa/pa-hpux.opt (nolibdld, rdynamic): New Driver options. + * config.gcc (hppa[12]*-*-hpux10*): Use pa/pa-hpux10.opt. + +2011-02-02 Joseph Myers + + * config/ia64/vms.opt: New. + * config.gcc (ia64-hp-*vms*): Use ia64/vms.opt. + +2011-02-01 Michael Meissner + + PR target/47580 + * config/rs6000/vsx.md (vsx_float2): Use + gpc_reg_operand instead of vsx_register_operand to match rs6000.md + generator functions. + (vsx_floatuns2): Ditto. + (vsx_fix_trunc2): Ditto. + (vsx_fixuns_trunc2): Ditto. + +2011-02-02 Joseph Myers + + * config/i386/djgpp.opt (posix): New Driver option. + +2011-02-02 Gerald Pfeifer + + * config.gcc (*-*-freebsd[12], *-*-freebsd[12].*, *-*-freebsd*aout*): + Move to the unsupported targets list. + +2011-02-02 Peter Bergner + + PR rtl-optimization/47525 + * df-scan.c: Update copyright years. + (df_get_call_refs): Do not mark global registers as DF_REF_REG_USE + and non-clobber DF_REF_REG_DEF for calls to const and pure functions. + +2011-02-02 Rainer Orth + + * config/i386/sysv4.h (TARGET_VERSION): Remove. + (SUBTARGET_RETURN_IN_MEMORY): Remove. + (ASM_OUTPUT_ASCII): Remove. + * config/i386/sol2.h (SUBTARGET_RETURN_IN_MEMORY): Remove #undef. + +2011-02-02 Jeff Law + + PR middle-end/47543 + * reload.c (find_reloads_address): Handle reg+d address where both + components are invalid by reloading the entire address. + +2011-02-02 Sebastian Pop + Richard Guenther + + PR tree-optimization/40979 + PR bootstrap/47044 + * passes.c (init_optimization_passes): After LIM call copy_prop + and DCE to clean up. + * tree-ssa-loop.c (pass_graphite_transforms): Add TODO_dump_func. + +2011-02-02 Sebastian Pop + + PR tree-optimization/47576 + PR tree-optimization/47555 + * doc/invoke.texi (scev-max-expr-complexity): Documented. + * params.def (PARAM_SCEV_MAX_EXPR_SIZE): Bump the value to 100. + (PARAM_SCEV_MAX_EXPR_COMPLEXITY): Declared. + * tree-scalar-evolution.c (follow_ssa_edge): Use + PARAM_SCEV_MAX_EXPR_COMPLEXITY. + +2011-02-02 Richard Guenther + + PR tree-optimization/47566 + * builtins.c (builtin_save_expr): No SAVE_EXPR for SSA_NAMEs. + +2011-02-02 Alexandre Oliva + + PR debug/47106 + PR debug/47402 + * tree-inline.c (declare_return_variable): Remove unused caller + variable. + + PR debug/47106 + PR debug/47402 + * tree-flow-inline.h (clear_is_used, is_used_p): New. + * cfgexpand.c (account_used_vars_for_block): Use them. + * tree-nrv.c (tree_nrv): Likewise. + * tree-ssa-live.c (remove_unused_scope_block_p): Likewise. + (dump_scope_block): Likewise. + (remove_unused_locals): Likewise. + + PR debug/47106 + PR debug/47402 + * tree-inline.c (declare_return_variable): Add result decl to + local decls only once. + * gimple-low.c (record_vars_into): Mark newly-created variables + as referenced. + +2011-02-02 Alexandre Oliva + + PR debug/47498 + PR debug/47501 + PR debug/45136 + PR debug/45130 + * haifa-sched.c (get_ebb_head_tail): Move notes across boundary + 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-ebb.c (schedule_ebbs): Adjust skipping of debug insns. + * sched-int.h (DEBUG_INSN_SCHED_P): Remove. + (BOUNDARY_DEBUG_INSN_P): Likewise. + (SCHEDULE_DEBUG_INSN_P): Likewise. + * sched-rgn.c (init_ready_list): Drop special treatment of + boundary debug insns. + * final.c (rest_of_clean_state): Clear notes' BB. + +2011-02-01 Joseph Myers + + * config/openbsd.opt (assert=): New Driver option. + +2011-02-01 Joseph Myers + + * config/i386/nto.opt: New. + * config.gcc (i[34567]86-*-nto-qnx*): Use i386/nto.opt. + +2011-02-01 Joseph Myers + + * config/i386/netware.opt: New. + * config.gcc (i[3456x]86-*-netware*): Use i386/netware.opt. + +2011-02-01 Joseph Myers + + * config/interix.opt (posix): New Driver option. + +2011-02-01 DJ Delorie + + * config/m32c/m32c.h (PTRDIFF_TYPE): Remove extra definition. + + * config/m32c/m32c.c (m32c_regno_reg_class): Return smallest reg + class for A0/A1. + +2011-02-01 Sebastian Pop + + PR tree-optimization/47561 + * toplev.c (process_options): Print the Graphite flags. Add + flag_loop_flatten to the list of options requiring Graphite. + +2011-02-01 Joseph Myers + + * config/i386/cygming.opt (posix): New Driver option. + +2011-02-01 Joseph Myers + + * config/arm/vxworks.opt: New. + * config.gcc (arm-wrs-vxworks): Use arm/vxworks.opt. + +2011-02-01 Joseph Myers + + * config/alpha/elf.opt: New. + * config.gcc (alpha*-*-linux*, alpha*-*-gnu*, alpha*-*-freebsd*, + alpha*-*-netbsd*, alpha*-*-openbsd*): Use alpha/elf.opt. + +2011-02-01 Richard Guenther + + PR tree-optimization/47559 + * tree-ssa-loop-im.c (can_sm_ref_p): Do not perform + store-motion on references that can throw. + +2011-02-01 Bernd Schmidt + + * tree-dump.c (dump_option_value_info): Add entry for TDF_CSELIB. + * tree-pass.h (TDF_CSELIB): New macro. + * cselib.c (new_cselib_val, expand_loc, cselib_expand_value_rtx_1, + cselib_lookup): Check for it rather than for TDF_DETAILS. + +2011-02-01 H.J. Lu + + PR driver/47547 + * lto-wrapper.c (run_gcc): Don't add -dumpdir if linker_output + is HOST_BIT_BUCKET. + + * opts.c (finish_options): Don't add x_aux_base_name if it is + HOST_BIT_BUCKET. + +2011-02-01 Richard Guenther + + PR tree-optimization/47555 + Revert + 2010-07-15 Sebastian Pop + + * params.def (PARAM_SCEV_MAX_EXPR_SIZE): Bump the value to 100. + +2011-02-01 Sebastien Bourdeauducq + + PR gcc/46692 + * config/lm32/t-lm32: Add multilib for all CPU options. + +2011-02-01 Richard Guenther + + PR tree-optimization/47541 + * tree-ssa-structalias.c (push_fields_onto_fieldstack): Make + sure to have a field at offset zero. + +2011-01-31 Joseph Myers + + * config/arc/arc.opt (EB, EL): New Driver options. + +2011-01-31 Joseph Myers + + * config/alpha/osf5.opt: New. + * config.gcc (alpha*-dec-osf5.1*): Use alpha/osf5.opt. + +2011-01-31 Joseph Myers + + * config/vms/vms.opt (map, mvms-return-codes): New Driver options. + +2011-01-31 Sebastian Pop + + * common.opt (ftree-loop-linear): Use Alias to make it an alias of + -floop-interchange. + * invoke.texi (-ftree-loop-linear): Make it clear that this flag + is an alias of -floop-interchange and that it requires the + Graphite infrastructure. + * tree-ssa-loop.c (gate_graphite_transforms): Do not set + flag_loop_interchange based on the value of flag_tree_loop_linear. + +2011-01-31 Jakub Jelinek + Richard Guenther + + PR tree-optimization/47538 + * tree-ssa-ccp.c (bit_value_binop_1): For uns computation use + type instead of r1type, except for comparisons. For right + shifts and comparisons punt if there are mismatches in + sizetype vs. non-sizetype types. + +2011-01-31 Rainer Orth + + * doc/sourcebuild.texi (Effective-Target Keywords): Document + avx_runtime. + +2011-01-31 Rainer Orth + + * configure.ac (gcc_cv_ld_eh_frame_hdr): Update minimal Sun ld + version number. + * configure: Regenerate. + +2011-01-31 Rainer Orth + + * configure.ac (gcc_cv_ld_static_option): Define. + (gcc_cv_ld_dynamic_option): Define. + (gcc_cv_ld_static_dynamic): Tru64 UNIX support -noso/-so_archive + instead. + (HAVE_LD_STATIC_DYNAMIC): Update message. + (LD_STATIC_OPTION): Define. + (LD_DYNAMIC_OPTION): Define. + * configure: Regenerate. + * config.in: Regenerate. + * gcc.c (init_spec) [USE_LIBUNWIND_EXCEPTIONS && + HAVE_LD_STATIC_DYNAMIC]: Use them. + +2011-01-31 Nick Clifton + + * config/rx/rx.c (rx_get_stack_layout): Only save call clobbered + registers inside interrupt handlers if the handler is not a leaf + function. + +2011-01-31 Nick Clifton + + * config/mn10300/mn10300.c (mn10300_regno_in_class_p): Check for + reg_renumber returning an INVALID_REGNUM. + +2011-01-31 Alexandre Oliva + + PR libgcj/44341 + * doc/install.texi: Document host options discarded when cross + configuring target libraries. + +2011-01-31 Alexandre Oliva + + Reverted: + 2011-01-25 Alexandre Oliva + PR debug/45136 + PR debug/45130 + * haifa-sched.c (get_ebb_head_tail): Move notes across boundary + 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-ebb.c (schedule_ebbs): Don't skip debug insns. + * sched-int.h (DEBUG_INSN_SCHED_P): Remove. + (BOUNDARY_DEBUG_INSN_P): Likewise. + (SCHEDULE_DEBUG_INSN_P): Likewise. + * sched-rgn.c (init_ready_list): Drop special treatment of + boundary debug insns. + * final.c (rest_of_clean-state): Clear notes' BB. + +2011-01-31 Alan Modra + + * config/rs6000/rs6000.c (print_operand): Rearrange addends in + toc relative expressions as we do in print_operand_address. + +2011-01-30 Kazu Hirata + + * doc/extend.texi: Follow spelling conventions. + * doc/invoke.texi: Fix a typo. + +2011-01-30 Joseph Myers + + * config/hpux11.opt: New. + * config.gcc (hppa*64*-*-hpux11*, hppa[12]*-*-hpux11*, + ia64*-*-hpux*): Use hpux11.opt. + +2011-01-30 Jonathan Yong + + * config.gcc (i[34567]86-*-pe | i[34567]86-*-cygwin*): Add t-dfprules + to tmake_file. + +2011-01-30 Gerald Pfeifer + + * doc/install.texi (hppa-hp-hpux10): Remove references to HP + support sites. + +2011-01-30 Gerald Pfeifer + + * doc/install.texi (Binaries): Remove outdated reference for + Motorola 68HC11/68HC12 downloads. + +2011-01-30 Gerald Pfeifer + + * doc/extend.texi (Thread-Local): Adjust reference to Ulrich + Drepper's paper. + +2011-01-29 Jonathan Wakely + + PR bootstrap/47147 + * ginclude/stddef.h: Check for _X86_64_ANSI_H_ and _I386_ANSI_H_ as + used by NetBSD. + +2011-01-28 Ahmad Sharif + + * value-prof.c (check_counter): Corrected error message. + 2011-01-29 Jie Zhang * 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 @@ -162,13 +1009,14 @@ 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 @@ -177,8 +1025,8 @@ 2011-01-26 Richard Guenther PR tree-optimization/47190 - * cgraphunit.c (process_common_attributes): New function. - (process_function_and_variable_attributes): Use it. + * cgraphunit.c (process_common_attributes): New function. + (process_function_and_variable_attributes): Use it. 2011-01-26 Richard Guenther @@ -249,8 +1097,7 @@ 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. @@ -369,9 +1216,8 @@ (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. @@ -429,8 +1275,7 @@ 2011-01-25 Sebastian Pop * 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 @@ -459,13 +1304,15 @@ 2011-01-25 Sebastian Pop - * 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 @@ -703,8 +1550,7 @@ (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. @@ -872,14 +1718,19 @@ * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Revert previous change, only avoid enumeral type changes. +2011-01-19 Mike Stump + + * doc/tm.texi.in (BRANCH_COST): Englishify. + * doc/tm.texi (BRANCH_COST): Likewise. + 2011-01-19 Dodji Seketeli PR c++/47291 * dwarf2out.c (generic_type_p, schedule_generic_params_dies_gen) - (gen_scheduled_generic_parms_dies): New functions. - (gen_struct_or_union_type_die): Schedule template parameters DIEs - generation for the end of CU compilation. - (dwarf2out_finish): Generate template parameters DIEs here. + (gen_scheduled_generic_parms_dies): New functions. + (gen_struct_or_union_type_die): Schedule template parameters DIEs + generation for the end of CU compilation. + (dwarf2out_finish): Generate template parameters DIEs here. 2011-01-19 Alexandre Oliva @@ -1212,16 +2063,14 @@ 2011-01-18 Ramana Radhakrishnan - * config/arm/cortex-a9.md (cortex-a9-neon.md): Actually - include. - (cortex_a9_dp): Handle neon types correctly. + * config/arm/cortex-a9.md (cortex-a9-neon.md): Actually include. + (cortex_a9_dp): Handle neon types correctly. 2011-01-18 Jakub Jelinek PR rtl-optimization/47299 * expr.c (expand_expr_real_2) : 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. @@ -1388,8 +2237,8 @@ (avx_maskstore): Likewise. 2011-01-17 Olivier Hainque - Michael Haubenwallner - Eric Botcazou + Michael Haubenwallner + Eric Botcazou PR target/46655 * xcoffout.c (ASM_OUTPUT_LINE): Output line only if positive, and only @@ -1468,8 +2317,7 @@ 2011-01-14 Joseph Myers - * 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 @@ -1494,8 +2342,7 @@ 2011-01-14 Joseph Myers - * config/microblaze/microblaze.h (ASM_SPEC): Remove - %{microblaze1}. + * config/microblaze/microblaze.h (ASM_SPEC): Remove %{microblaze1}. 2011-01-14 Joseph Myers @@ -1665,7 +2512,7 @@ PR debug/PR46973 * dwarf2out.c (prune_unused_types_mark_generic_parms_dies): New static function. - (prune_unused_types_mark): Use it. + (prune_unused_types_mark): Use it. 2011-01-13 Andrey Belevantsev