X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=gcc%2FChangeLog;h=87498634afa43f20e56966cf058684f4cdb76e82;hp=f25b3f085f2df59c7070e56a9cad420a617dff80;hb=97ec7931ac69ef58afc0184d79b46a09cd4d6885;hpb=a12b9b803991b3d439ac6f5ac850e5f2b620c5c3 diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f25b3f085f2..87498634afa 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,311 @@ +2011-11-02 Richard Guenther + + PR tree-optimization/50902 + * tree-vect-stmts.c (vectorizable_load): Properly convert + an invariant initializer element. + +2010-11-02 Richard Guenther + + PR tree-optimization/50890 + * gimple.h (gimple_fold_call): Remove. + * gimple-fold.c (fold_stmt_1): Move all call related code to ... + (gimple_fold_call): ... here. Make static. Update the + cannot-inline flag on direct calls. + * ipa-inline.c (early_inliner): Copy the cannot-inline flag + from the statements to the edges. + +2011-11-01 Ian Lance Taylor + + * godump.c (struct macro_hash_value): Define. + (macro_hash_hashval): New static function. + (macro_hash_eq, macro_hash_del): New static functions. + (go_define): Use macro_hash_value to store values in macro_hash. + Replace an old value on a redefinition. Don't print anything to + go_dump_file. + (go_undef): Delete the entry from the hash table. + (go_output_typedef): For an enum, use macro_hash_value, and don't + print anything to go_dump_file. + (go_print_macro): New static function. + (go_finish): Traverse macro_hash with go_print_macro. + (dump_go_spec_init): Update macro_hash creation for + macro_hash_value. + +2011-11-02 Alan Modra + + * config/rs6000/rs6000.c (rs6000_code_end): Declare ATTRIBUTE_UNUSED. + +2011-11-01 Paolo Carlini + + PR c++/44277 + * doc/invoke.texi: Document -Wzero-as-null-pointer-constant. + +2011-11-01 Andrew Stubbs + + * config/arm/bpabi.h (BE8_LINK_SPEC): Recognize generic-armv7 tuning. + +2011-11-01 Uros Bizjak + + * config/i386/i386.md (splitters for int-float conversion): Use + SUBREG_REG on SUBREGs in splitter constraints. + +2011-11-01 Jakub Jelinek + + * config/i386/i386-protos.h (ix86_expand_adjust_ufix_to_sfix_si): New + prototype. + * config/i386/i386.c (ix86_expand_adjust_ufix_to_sfix_si): New + function. + * config/i386/sse.md (fixuns_trunc2): Use it. + (ssepackfltmode): New mode attr. + (vec_pack_ufix_trunc_): New expander. + +2011-11-01 Uros Bizjak + + PR target/50940 + * config/i386/i386.md (floatsi2_vector_sse_with_temp splitter): + Compare mode with V4SFmode, not V4SImode. + +2011-11-01 Peter Bergner + + * config.gcc (powerpc*-*-linux*): Add powerpc*-*-linux*ppc476* variant. + * config/rs6000/476.h: New file. + * config/rs6000/476.opt: Likewise. + * config/rs6000/rs6000.h (TARGET_LINK_STACK): New define. + (SET_TARGET_LINK_STACK): Likewise. + (TARGET_ASM_CODE_END): Define. + * config/rs6000/rs6000.c (rs6000_option_override_internal): Enable + TARGET_LINK_STACK for -mtune=476 and -mtune=476fp. + (rs6000_legitimize_tls_address): Emit the link stack preserving GOT + code if TARGET_LINK_STACK. + (rs6000_emit_load_toc_table): Likewise. + (output_function_profiler): Likewise + (macho_branch_islands): Likewise + (machopic_output_stub): Likewise + (get_ppc476_thunk_name): New function. + (rs6000_code_end): Likewise. + * config/rs6000/rs6000.md (load_toc_v4_PIC_1, load_toc_v4_PIC_1b): + Convert to a define_expand. + (load_toc_v4_PIC_1_normal): New define_insn. + (load_toc_v4_PIC_1_476): Likewise. + (load_toc_v4_PIC_1b_normal): Likewise. + (load_toc_v4_PIC_1b_476): Likewise. + +2011-11-01 Georg-Johann Lay + + PR target/50910 + * config/avr/avr.opt (-mbranch-cost=): New option. + * config/avr/avr.h (BRANCH_COST): Define to avr_branch_cost. + * config/avr/avr.c (avr_rtx_costs_1): Adjust [U]DIV/[U]MOD costs. + * config/avr/avr.md (*addqi3.lt0, *addhi3.lt0, *addsi3.lt0): New insns. + (*addhi3_zero_extend1): Remove % in constraint of operand 1. + (*addhi3.sign_extend1, *subhi3.sign_extend2): New insns. + +2011-11-01 Tom de Vries + + PR tree-optimization/50908 + * tree-ssa-tail-merge.c (update_vuses): Now that edges are removed + before update_vuses, test for 1 predecessor rather than two. + (delete_block_update_dominator_info): New function, part of it factored + out of ... + (replace_block_by): Use delete_block_update_dominator_info. Call + update_vuses after deleting bb1 and updating dominator info, instead of + before. + +2011-11-01 David S. Miller + + * config/sparc/sparc.c (vector_init_faligndata): New function. + (sparc_expand_vector_init): Use it for V4HImode on VIS1. + + * config/sparc/sparc.c (sparc_expand_vcond): New function. + * config/sparc/sparc-protos.h (sparc_expand_vcond): Declare it. + * config/sparc/sparc.md (vcond): New VIS3 expander. + (vconduv8qiv8qi): Likewise. + +2011-11-01 Alexandre Oliva + + PR debug/50869 + * cselib.c (cfa_base_preserved_regno): Initialize. + (cselib_expand_value_rtx_1): Don't expand it. + * var-tracking.c (vt_expand_var_loc_chain): Initialize depth. + Check it's only zero if result is NULL. + +2011-11-01 Jakub Jelinek + + * config/i386/sse.md (fixuns_trunc2): New + expander. + + * config/i386/sse.md (sseintvecmode): Remove duplicate modes. + (sseintvecmodelower): New mode iterator. + (floatv8siv8sf2, floatunsv4siv4sf2): Macroize into... + (float2): ... this using VF1 iterator. + (floatunsv4siv4sf2): Macroize into... + (floatuns2): ... this using VF1 iterator. + +2011-10-31 David S. Miller + + * config/sparc/sparc.md (cmask patterns): Allow zero operand. + + * dwarf2out.c (cached_next_real_insn): New. + (dwarf2out_end_epilogue): Set it to NULL_RTX. + (dwarf2out_var_location): Remove cached_next_real_insn local static. + +2011-10-31 Richard Henderson + + * config/i386/sse.md (floatv8siv8sf2): Rename from avx_cvtdq2ps256. + (floatv4siv4sf2): Rename from sse2_cvtdq2ps. + (floatunsv4siv4sf2): Rename from sse2_cvtudq2ps. + (fix_truncv8sfv8si2): Rename from avx_cvttps2dq256. + (fix_truncv4sfv4si2): Rename from sse2_cvttps2dq. + (floatv4siv4df2): Rename from avx_cvtdq2pd256. + (fix_truncv4dfv4si2): Rename from avx_cvttpd2dq256. + (vec_unpacku_float_hi_v8si): Update for insn pattern name changes. + * config/i386/i386.md (splitters for int-float conversion): Likewise. + * config/i386/i386.c (ix86_split_convert_uns_si_sse): Likewise. + (bdesc_args): Likewise. + (enum ix86_builtins) [IX86_BUILTIN_CVTUDQ2PS]: Remove. + (ix86_vectorize_builtin_conversion): Remove. + (TARGET_VECTORIZE_BUILTIN_CONVERSION): Remove. + +2011-10-31 Martin Jambor + + * ipa-prop.c (mark_modified): Moved up in the file. + (is_parm_modified_before_call): Renamed to + is_parm_modified_before_stmt, moved up in the file. + (load_from_unmodified_param): New function. + (compute_complex_assign_jump_func): Also attempt to create pass + through jump functions for values loaded from (addressable) + parameters. + +2011-10-31 Jakub Jelinek + + * tree-vect-stmts.c (vectorizable_shift): If op1 is vect_external_def + in a loop and has different type from op0, cast it to op0's type + before the loop first. For slp give up. Don't crash if op1_vectype + is NULL. + +2011-10-31 Paul Brook + + * cgraphunit.c: Don't mark clones as static constructors. + +2011-10-31 David Edelsohn + + * gcc-ar: Do not include stdio.h. + +2011-10-31 Diego Novillo + + * tree-streamer-out.c (pack_ts_base_value_fields): Emit + TYPE_ADDR_SPACE. + * tree-streamer-in.c (unpack_ts_base_value_fields): Read + TYPE_ADDR_SPACE. + +2011-10-30 David S. Miller + + * config/sparc/sparc.c (vector_init_bshuffle): New function. + (vector_init_fpmerge): New function. + (sparc_expand_vector_init): Use them to improve non-const cases. + + * dwarf2out.c (dwarf2out_var_location): When processing several + consecutive location notes, cache the result of next_real_insn(). + +2011-10-30 Uros Bizjak + + * config/i386/i386.md (avx2_vec_dup): Macroize insn from + avx2_vec_dup{v8sf,v4sf} using VF1 mode iterator. + (vec_dupv4sf): Remove expander. + (vec_dupv4sf): Merge from *vec_dupv4sf and *vec_dupv4sf_avx. + (vec_dupv2df): Remove expander. + (vec_dupv2df): Merge from *vec_dupv2df and *vec_dupv2df_sse3. + (*vec_concatv2df): Merge *vec_concatv2df_sse3. + (*vec_dupv4si): Merge *vec_dupv4si_avx. + (*vec_dupv2di): Merge *vec_dupv2di_sse3. + +2011-10-30 Dmitry Plotnikov + + * tree-cfg.c (verify_gimple_assign_unary): Allow vector conversions. + * optabs.c (supportable_convert_operation): New function. + * optabs.h (supportable_convert_operation): New prototype. + * tree-vect-stmts.c (vectorizable_conversion): Change condition and + behavior for NONE modifier case. + * tree.h (VECTOR_INTEGER_TYPE_P): New macro. + +2011-10-30 Jakub Jelinek + + * tree-vectorizer.h (NUM_PATTERNS): Bump to 9. + * tree-vect-patterns.c (vect_recog_vector_vector_shift_pattern): New + function. + (vect_vect_recog_func_ptrs): Add it. + +2011-10-30 David S. Miller + + * reorg.c (label_before_next_insn): New function. + (relax_delay_slots): Use it instead of prev_label. + * rtl.h (prev_label): Delete declaration. + * emit-rtl.c (prev_label): Remove. + +2011-10-30 Revital Eres + + * modulo-sched.c (generate_prolog_epilog): Mark prolog and epilog + as BB_DISABLE_SCHEDULE. + (mark_loop_unsched): New function. + (sms_schedule): Call it. + +2011-10-29 John David Anglin + + PR target/50617 + * config/pa/protos.h (attr_length_save_restore_dltp): Delete. + (cmpib_comparison_operator): Likewise. + (following_cal, output_and, output_ior, output_move_double, + output_fp_move_double, output_block_move, output_block_clear, + output_cbranch, output_lbranch, output_bb, output_bvb, output_dbra, + output_movb, output_parallel_movb, output_parallel_addb, output_call, + output_indirect_call, output_millicode_call, output_mul_insn, + output_div_insn, output_mod_insn, singlemove_string, + output_arg_descriptor, output_global_address, print_operand, + legitimize_pic_address, hppa_encode_label, symbolic_expression_p, + fmpyaddoperands, fmpysuboperands, emit_bcond_fp, emit_move_sequence, + emit_hpdiv_const, is_function_label_plus_const, jump_in_call_delay, + hppa_fpstore_bypass_p, attr_length_millicode_call, attr_length_call, + attr_length_indirect_call, return_addr_rtx, function_arg_padding, + insn_refs_are_delayed, get_deferred_plabel, ldil_cint_p, zdepi_cint_p, + output_ascii, compute_frame_size, and_mask_p, cint_ok_for_move, + hppa_expand_prologue, hppa_expand_epilogue, ior_mask_p, + compute_zdepdi_operands, output_64bit_and, output_64bit_ior, + reloc_needed, magic_milli, shadd_constant_p): Consistently prefix + exported functions and variables with "pa_". + * config/pa/predicates.md: Likewise. + * config/pa/pa64-hpux.h: likewise. + * config/pa/som.h: Likewise. + * config/pa/elf.h: Likewise. + * config/pa/pa64-linux.h: Likewise. + * config/pa/pa.md: Likewise. + * config/pa/pa.c: Likewise. + * config/pa/pa-linux.h: Likewise. + * config/pa/pa.h: Likewise. + * config/pa/constraints.md: Likewise. + +2011-10-29 Uros Bizjak + + * config/i386/i386.md (xop_sha3): Rename from xop_ashl3. + Update all uses. + (xop_shl3): Rename from xop_lshl3. Update all uses. + * config/i386/i386.c: Update all uses. + +2011-10-29 Uros Bizjak + + * config/i386/i386.md (lshlv16qi3): Remove expander. + (lshrv16qi3): New expander. + (v16qi3): Macroize expander from ashrv16qi3 and lshrv16qi3 + using any_shiftrt code iterator. Cleanup. + (ashlv16qi3): Cleanup. + (ashrv2di3): Ditto. + +2011-10-29 John David Anglin + + PR target/50691 + * config/pa/pa.c (emit_move_sequence): Legitimize TLS symbol + references. + (pa_legitimate_constant_p): Return false for TLS_MODEL_GLOBAL_DYNAMIC + and TLS_MODEL_LOCAL_DYNAMIC symbol references. + 2011-10-29 Georg-Johann Lay PR target/50887 @@ -87,7 +395,7 @@ * Makefile.in (MOSTLYCLEANFILES): Add gcc-ar/nm/ranlib. (native): Add gcc-ar, gcc-nm, gcc-ranlib. (AR_LIBS, gcc-ar, gcc-ar.o, gcc-ranlib, gcc-ranlib.o, - gcc-nm, gcc-nm.o, gcc-ranlib.c, gcc-nm.c): Add. + gcc-nm, gcc-nm.o, gcc-ranlib.c, gcc-nm.c): Add. (install): Depend on install-gcc-ar. (install-gcc-ar): Add. (uninstall): Uninstall gcc-ar, gcc-nm, gcc-ranlib.