OSDN Git Service

* godump.c (struct macro_hash_value): Define.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 28112f7..fc8704d 100644 (file)
@@ -1,3 +1,154 @@
+2011-11-01  Ian Lance Taylor  <iant@google.com>
+
+       * 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  <amodra@gmail.com>
+
+       * config/rs6000/rs6000.c (rs6000_code_end): Declare ATTRIBUTE_UNUSED.
+
+2011-11-01  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       PR c++/44277
+       * doc/invoke.texi: Document -Wzero-as-null-pointer-constant.
+
+2011-11-01  Andrew Stubbs  <ams@codesourcery.com>
+
+       * config/arm/bpabi.h (BE8_LINK_SPEC): Recognize generic-armv7 tuning.
+
+2011-11-01  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/i386.md (splitters for int-float conversion): Use
+       SUBREG_REG on SUBREGs in splitter constraints.
+
+2011-11-01  Jakub Jelinek  <jakub@redhat.com>
+
+       * 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_trunc<mode><sseintvecmodelower>2): Use it.
+       (ssepackfltmode): New mode attr.
+       (vec_pack_ufix_trunc_<mode>): New expander.
+
+2011-11-01  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/50940
+       * config/i386/i386.md (floatsi<mode>2_vector_sse_with_temp splitter):
+       Compare <ssevecmode>mode with V4SFmode, not V4SImode.
+
+2011-11-01  Peter Bergner  <bergner@vnet.ibm.com>
+
+       * 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  <avr@gjlay.de>
+
+       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  <tom@codesourcery.com>
+
+       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  <davem@davemloft.net>
+
+       * 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<mode><mode>): New VIS3 expander.
+       (vconduv8qiv8qi): Likewise.
+
+2011-11-01  Alexandre Oliva  <aoliva@redhat.com>
+
+       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  <jakub@redhat.com>
+
+       * config/i386/sse.md (fixuns_trunc<mode><sseintvecmodelower>2): New
+       expander.
+
+       * config/i386/sse.md (sseintvecmode): Remove duplicate modes.
+       (sseintvecmodelower): New mode iterator.
+       (floatv8siv8sf2, floatunsv4siv4sf2): Macroize into...
+       (float<sseintvecmodelower><mode>2): ... this using VF1 iterator.
+       (floatunsv4siv4sf2): Macroize into...
+       (floatuns<sseintvecmodelower><mode>2): ... this using VF1 iterator.
+
+2011-10-31  David S. Miller  <davem@davemloft.net>
+
+       * 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  <rth@redhat.com>
+
+       * 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  <mjambor@suse.cz>
 
        * ipa-prop.c (mark_modified): Moved up in the file.