OSDN Git Service

2012-04-23 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index b452488..cb6a8f4 100644 (file)
@@ -1,3 +1,223 @@
+2012-04-23  Richard Guenther  <rguenther@suse.de>
+
+       PR c/53060
+       * c-typeck.c (build_binary_op): Fix typo.
+
+2012-04-23  Jakub Jelinek  <jakub@redhat.com>
+
+       PR tree-optimizations/52891
+       * tree-vect-patterns.c (adjust_bool_pattern): Use
+       build_nonstandard_type even if rhs1 has unsigned INTEGER_TYPE,
+       but with non-standard precision.
+
+2012-04-22  Ian Lance Taylor  <iant@google.com>
+
+       * godump.c (go_output_typedef): Dump size of structs.
+
+2012-04-20  Ulrich Weigand  <ulrich.weigand@linaro.org>
+
+       Backport from mainline:
+
+       * config/arm/arm.c (arm_print_operand): Fix invalid alignment
+       hints for 'A' operand types.
+
+2012-04-19  Georg-Johann Lay  <avr@gjlay.de>
+
+       Backport from 2012-04-19 mainline r186588.
+
+       PR target/53033
+       * config/avr/avr.c (avr_out_load_psi): Fix assembler template for
+       the case *(X+const).
+
+2012-04-18  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/alpha/sync.md (fetchop_name): Change ior attribute to "or".
+
+2012-04-17  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/53020
+       * config/i386/sync.md (atomic_<code><mode>): Rename to
+       atomic_<logic><mode>.
+
+2012-04-16  Uros Bizjak  <ubizjak@gmail.com>
+
+       Backport from mainline
+       2012-04-12  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/52932
+       * config/i386/avx2intrin.h (_mm256_permutevar8x32_ps): Change second
+       argument type to __m256i.  Update call to __builtin_ia32_permvarsf256.
+       * config/i386/sse.md (avx2_permvarv8sf): Change operand 1 to V8SI.
+       (avx2_permvarv8sf, avx2_permvarv8si): Switch operands 1 and 2.
+       * config/i386/i386.c (bdesc_args) <__builtin_ia32_permvarsf256>:
+       Update builtin type to V8SF_FTYPE_V8SF_V8SI.
+       (ix86_expand_vec_perm): Update calls to gen_avx2_permvarv8si and
+       gen_avx2_permvarv8sf.
+
+2012-04-16  Martin Jambor  <mjambor@suse.cz>
+
+       Backported from mainline
+
+       2012-04-13  Martin Jambor  <mjambor@suse.cz>
+       PR middle-end/52939
+
+       * gimple-fold.c (gimple_get_virt_method_for_binfo): Bail out if
+       fold_ctor_reference returns a zero constant.
+
+2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
+
+       Backported from mainline
+       2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/i386/i386-c.c (ix86_target_macros): Define _ILP32
+       and __ILP32__ for x32.
+
+2012-04-13  Tom de Vries  <tom@codesourcery.com>
+
+       Backport from mainline r186418.
+
+       2012-04-13  Tom de Vries  <tom@codesourcery.com>
+
+       * tree-ssa-tail-merge.c (gsi_advance_bw_nondebug_nonlocal): Add
+       parameters vuse and vuse_escaped.
+       (find_duplicate): Init vuse1, vuse2 and vuse_escaped.  Pass to
+       gsi_advance_bw_nondebug_nonlocal.  Return if vuse_escaped and
+       vuse1 != vuse2.
+
+2012-04-13  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/52969
+       * tree-if-conv.c (predicate_mem_writes): Properly gimplify
+       the condition for the COND_EXPR and handle predicate negation
+       by swapping the COND_EXPR arms.
+
+2012-04-13  Richard Guenther  <rguenther@suse.de>
+
+       PR c/52862
+       * convert.c (convert_to_pointer): Remove special-casing of
+       zero.
+
+2012-04-12  Michael Meissner  <meissner@linux.vnet.ibm.com>
+
+       Backport from mainline
+       2012-04-12  Michael Meissner  <meissner@linux.vnet.ibm.com>
+
+       PR target/52775
+       * config/rs6000/rs6000.h (TARGET_FCFID): Add TARGET_PPC_GPOPT to
+       the list of options to enable the FCFID instruction.
+       (TARGET_EXTRA_BUILTINS): Adjust comment.
+
+2012-04-12  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/52943
+       * tree-chrec.h (chrec_is_positive): Remove.
+       * tree-scalar-evolution.c (chrec_is_positive): Move ...
+       * tree-data-ref.c (chrec_is_positive): ... here.  Make static.
+       Return false for a constant zero instead of negative.
+       (analyze_siv_subscript_cst_affine): Handle zero difference
+       in the initial condition explicitely.
+
+2012-04-10  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       PR middle-end/52894
+       * varasm.c (process_pending_assemble_externals): Set
+       pending_assemble_externals_processed true.
+       (assemble_external): Call assemble_external_real if the pending
+       assemble externals have been processed.
+
+2012-04-09  Eric Botcazou  <ebotcazou@adacore.com>
+
+       PR target/52717
+       * config/sparc/sparc.c (sparc_file_end): Set TREE_PUBLIC explicitly on
+       the DECL generated for the special GOT helper.
+
+2012-04-06  Walter Lee  <walt@tilera.com>
+
+       Backport from mainline
+       2012-03-07  Walter Lee  <walt@tilera.com>
+
+       * config/tilegx/tilegx.c (tilegx_expand_prologue): Don't generate
+       REG_CFA_* notes for the stack pointer.
+       (tilegx_expand_epilogue): Restore stack pointer by adjusting it by
+       EH_RETURN_STACKADJ_RTX.
+       * config/tilepro/tilepro.c (tilepro_expand_prologue): Don't
+       generate REG_CFA_* notes for the stack pointer.
+       (tilepro_expand_epilogue): Restore stack pointer by adjusting it
+       by EH_RETURN_STACKADJ_RTX.
+
+2012-04-06  Matt Turner  <mattst88@gmail.com>
+
+       * doc/install.texi: Correct typo "-mno-lsc" -> "-mno-llsc".
+
+2012-04-06  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * config/ia64/ia64.c (ia64_load_pair_ok): Return 0 if the second member
+       of the destination isn't also a FP_REGS register.
+
+2012-04-03  Richard Guenther  <rguenther@suse.de>
+
+       Backport from mainline
+       2012-03-02  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/52406
+       * tree-data-ref.h: Update documentation about DR_BASE_OBJECT.
+       (struct indices): Add unconstrained_base member.
+       (struct dr_alias): Remove unused vops member.
+       (DR_UNCONSTRAINED_BASE): New define.
+       * tree-data-ref.c (dr_analyze_indices): For COMPONENT_REFs
+       add indices to allow their disambiguation.  Make DR_BASE_OBJECT
+       be an artificial access that covers the whole indexed object,
+       or mark it with DR_UNCONSTRAINED_BASE if we cannot do so.  Canonicalize
+       plain decl base-objects to their MEM_REF variant.
+       (dr_may_alias_p): When the base-object of either data reference
+       has unknown size use only points-to information.
+       (compute_affine_dependence): Make dumps easier to read and
+       more verbose.
+       * tree-vect-data-ref.c (vector_alignment_reachable_p): Use
+       DR_REF when looking for packed references.
+       (vect_supportable_dr_alignment): Likewise.
+
+2012-04-03  Richard Guenther  <rguenther@suse.de>
+
+       Backport from mainline
+       2012-03-15  Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/52580
+       * tree-data-ref.c (subscript_dependence_tester_1): Check
+       all dimensions for non-conflicting access functions.
+
+2012-04-03  Richard Guenther  <rguenther@suse.de>
+
+       Backport from mainline
+       2012-03-06  Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/52493
+       * tree-ssa-alias.c (ptr_derefs_may_alias_p): Robustify.
+
+       2012-03-23  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/52678
+       * tree-vectorizer.h (struct _stmt_vec_info): Add
+       loop_phi_evolution_part member.
+       (STMT_VINFO_LOOP_PHI_EVOLUTION_PART): New define.
+       * tree-vect-loop.c (vect_analyze_scalar_cycles_1): Initialize
+       STMT_VINFO_LOOP_PHI_EVOLUTION_PART.
+       * tree-vect-loop-manip.c (vect_update_ivs_after_vectorizer):
+       Use the cached evolution part and the PHI nodes value from
+       the loop preheader edge instead of re-analyzing the evolution.
+
+       2012-03-26  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/52701
+       * tree-vect-loop.c (vect_analyze_scalar_cycles_1): Always
+       compute and set the evolution part of PHI nodes.
+
+       2012-03-30  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/52754
+       * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Only
+       propagate arbitrary addresses into really plain dereferences.
+
 2012-04-03  Jakub Jelinek  <jakub@redhat.com>
 
        PR tree-optimization/52835