OSDN Git Service

PR target/45844
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 0c9102c..8762623 100644 (file)
@@ -1,4 +1,120 @@
-2011-01-14  Tom Tromey  <tromey@redhat.com>
+2011-03-16  Alan Modra  <amodra@gmail.com>
+
+       PR target/45844
+       * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Don't
+       create invalid offset address for vsx splat insn.
+       * config/rs6000/predicates.md (splat_input_operand): New.
+       * config/rs6000/vsx.md (vsx_splat_*): Use it.
+
+2011-03-15  Xinliang David Li  <davidxl@google.com>
+
+       PR c/47837
+       * tree-ssa-uninit.c (pred_chain_length_cmp): New function.
+       (normalize_preds): New function.
+       (is_use_properly_guarded): Normalize def predicates.
+
+2011-03-15  Ramana Radhakrishnan  <ramana.radhakrishnan@linaro.org>
+
+       PR target/46778
+       * config/arm/arm.md (arm_movtas_ze): Use 'L' instead of 'c'
+       in the output template.
+
+2011-03-15  Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/47650
+       * tree-pretty-print.c (dump_function_declaration): Properly
+       dump unprototyped and varargs function types.
+
+2011-03-15  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/13954
+       * tree-ssa-sccvn.c (vn_reference_lookup_3): Look through memcpy
+       and friends.
+
+2011-03-15  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/48037
+       * tree-ssa.c (maybe_rewrite_mem_ref_base): Rewrite vector
+       selects into BIT_FIELD_REFs.
+       (non_rewritable_mem_ref_base): Check if a MEM_REF is a
+       vector select.
+
+2011-03-15  Jakub Jelinek  <jakub@redhat.com>
+
+       PR tree-optimization/48129
+       * builtins.c (fold_builtin_snprintf): Convert to type of
+       built_in_decls[BUILT_IN_SNPRINTF] retval instead of
+       implicit_built_in_decls[BUILT_IN_SNPRINTF] retval.
+
+2011-03-15  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/41490
+       * tree-ssa-dce.c (propagate_necessity): Handle returns without
+       value but with VUSE.
+       * tree-ssa-operands.c (parse_ssa_operands): Add a VUSE on all
+       return statements.
+       * tree-ssa-sink.c (statement_sink_location): Fix store sinking.
+       * tree-ssa-phiopt.c (tree_ssa_phiopt_worker): Handle virtual PHIs.
+       * tree-tailcall.c (find_tail_calls): Ignore returns.
+
+2011-03-15  Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/48031
+       * fold-const.c (fold_indirect_ref_1): Do not create new variable-sized
+       or variable-indexed array accesses when in gimple form.
+
+2011-03-15  Richard Guenther  <rguenther@suse.de>
+
+       * config/i386/i386.c (ix86_emit_swdivsf): Implement more
+       efficiently.
+
+2011-03-15  Alan Modra  <amodra@gmail.com>
+
+       PR target/48032
+       * config/rs6000/rs6000.c (offsettable_ok_by_alignment): Do not
+       presume symbol_refs without a symbol_ref_decl are suitably
+       aligned, nor other trees we may see here.  Handle anchor symbols.
+       (legitimate_constant_pool_address_p): Comment.  Add mode param.
+       Check cmodel=medium addresses.  Adjust all calls.
+       (rs6000_emit_move): Don't call offsettable_ok_by_alignment on
+       creating cmodel=medium optimized access to locals.
+       * config/rs6000/constraints.md (R): Pass QImode to
+       legitimate_constant_pool_address_p.
+       * config/rs6000/predicates.md (input_operand): Pass mode to
+       legitimate_constant_pool_address_p.
+       * config/rs6000/rs6000-protos.h (legitimate_constant_pool_address_p):
+       Update prototype.
+
+2011-03-14  Michael Meissner  <meissner@linux.vnet.ibm.com>
+
+       PR target/48053
+       * config/rs6000/rs6000.md (movdi split for 32-bit): Don't split up
+       64-bit constants being loaded into registers other than GPRs such
+       as loading 0 into a VSX register.
+
+2011-03-14  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * config/sol2.c (solaris_assemble_visibility): Remove obsolete
+       URLs.
+
+2011-03-14  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/47917
+       * builtins.c (fold_builtin_snprintf): New function.
+       (fold_builtin_3): Call it for BUILT_IN_SNPRINTF.
+       (fold_builtin_4): Likewise.
+
+       PR middle-end/38878
+       * fold-const.c (fold_binary_loc) <case EQ_EXPR, NE_EXPR>: Add
+       STRIP_NOPS on arg0 and arg1.  When optimizing X +- C == X
+       and C - X == X also strip nops from +/-/p+ operand.
+       When optimizing -X == C, fold C to arg0's type.
+
+       PR debug/47946
+       * dwarf2out.c (add_bit_offset_attribute): If bit_offset is negative,
+       emit it as add_AT_int instead of add_AT_unsigned.
+
+2011-03-14  Tom Tromey  <tromey@redhat.com>
 
        * unwind-dw2.c: Include sys/sdt.h if it exists.
        (_Unwind_DebugHook): Use STAP_PROBE2.