OSDN Git Service

Backported from mainline
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 446ca4a..8838f62 100644 (file)
@@ -1,3 +1,325 @@
+2014-05-07  Jakub Jelinek  <jakub@redhat.com>
+
+       Backported from mainline
+       2013-08-23  Jakub Jelinek  <jakub@redhat.com>
+
+       PR tree-optimization/58209
+       * tree-tailcall.c (find_tail_calls): Give up for pointer result types
+       if m or a is non-NULL.
+
+       2013-07-03  Jakub Jelinek  <jakub@redhat.com>
+
+       PR target/57777
+       * config/i386/predicates.md (vsib_address_operand): Disallow
+       SYMBOL_REF or LABEL_REF in parts.disp if TARGET_64BIT && flag_pic.
+
+       2013-06-27  Jakub Jelinek  <jakub@redhat.com>
+
+       PR target/57623
+       * config/i386/i386.md (bmi_bextr_<mode>): Swap predicates and
+       constraints of operand 1 and 2.
+
+       PR target/57623
+       * config/i386/i386.md (bmi2_bzhi_<mode>3): Swap AND arguments
+       to match RTL canonicalization.  Swap predicates and
+       constraints of operand 1 and 2.
+
+2014-05-07  Richard Biener  <rguenther@suse.de>
+
+       Backport from mainline
+       2013-11-19  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/59164
+       * tree-vect-loop.c (vect_analyze_loop_operations): Adjust
+       check whether we can create an epilogue loop to reflect the
+       cases where we create one.
+
+2014-05-07  Richard Biener  <rguenther@suse.de>
+
+       Backport from mainline
+       2013-11-29  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/59334
+       * tree-ssa-dce.c (eliminate_unnecessary_stmts): Fix bug
+       in previous commit.
+
+       2013-11-28  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/59330
+       * tree-ssa-dce.c (eliminate_unnecessary_stmts): Simplify
+       and fix delayed marking of free calls not necessary.
+
+       2014-01-09  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/59715
+       * tree-cfg.h (split_critical_edges): Declare.
+       * tree-cfg.c (split_critical_edges): Export.
+       * tree-ssa-sink.c (execute_sink_code): Split critical edges.
+
+2014-05-07  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/57864
+       * tree-ssa-pre.c (phi_translate_1): Backport NAME case
+       simplification from mainline.  Do not lookup the VN
+       value-number here.
+
+2014-05-07  Richard Biener  <rguenther@suse.de>
+
+       Backport from mainline
+       2013-08-29  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/58246
+       * tree-ssa-dce.c (mark_aliased_reaching_defs_necessary_1): Properly
+       handle the dominance check inside a basic-block.
+
+2014-05-06  Richard Biener  <rguenther@suse.de>
+
+       Backport from mainline
+       2013-05-27  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/57417
+       * tree-ssa-sccvn.c (set_ssa_val_to): Compare addresses using
+       get_addr_base_and_unit_offset.
+
+2014-04-25  Eric Botcazou  <ebotcazou@adacore.com>
+
+       PR target/60941
+       * config/sparc/sparc.md (ashlsi3_extend): Delete.
+
+2014-04-23  Uros Bizjak  <ubizjak@gmail.com>
+
+       Backport from mainline
+       2014-04-21  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/60909
+       * config/i386/i386.c (ix86_expand_builtin)
+       <case IX86_BUILTIN_RDRAND{16,32,64}_STEP>: Use temporary
+        register for target RTX.
+
+2014-04-07  Martin Jambor  <mjambor@suse.cz>
+
+       PR ipa/60640
+       * ipa-cp.c (propagate_constants_accross_call): Do not propagate
+       accross thunks.
+
+2014-04-07  Dominique d'Humieres <dominiq@lps.ens.fr>
+
+       Backport from mainline
+       2013-09-14  Iain Sandoe <iains@gcc.gnu.org>
+
+       PR target/48094
+       * config/darwin.c (darwin_objc2_section): Note if ObjC Metadata
+       is seen.
+       (darwin_objc1_section): Likewise.
+       (darwin_file_end): Emit Image Info section when required.
+
+2014-04-04  Richard Biener  <rguenther@suse.de>
+
+       * tree-ssanames.c (make_ssa_name_fn): Fix assert.
+
+2014-04-01  Richard Biener  <rguenther@suse.de>
+
+       * gimple.h (struct gimple_statement_base): Align subcode to
+       16 bits.
+
+2014-04-01  Sebastian Huber  <sebastian.huber@embedded-brains.de>
+
+       * doc/invoke.texi (mapp-regs): Clarify.
+
+2014-03-23  Eric Botcazou  <ebotcazou@adacore.com>
+
+       PR rtl-optimization/60601
+       * bb-reorder.c (fix_up_fall_thru_edges): Test EDGE_FALLTHRU everywhere.
+
+2014-03-20  Jakub Jelinek  <jakub@redhat.com>
+
+       PR target/60568
+       * config/i386/i386.c (x86_output_mi_thunk): Surround UNSPEC_GOT
+       into CONST, put pic register as first operand of PLUS.  Use
+       gen_const_mem for both 32-bit and 64-bit PIC got loads.
+
+2014-03-19  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * tree-dfa.c (get_ref_base_and_extent) <ARRAY_REF>: Remove space.
+
+2014-03-18  Kai Tietz  <ktietz@redhat.com>
+
+       PR rtl-optimization/56356
+       * sdbout.c (sdbout_parms): Verify that parms'
+       incoming argument is valid.
+       (sdbout_reg_parms): Likewise.
+
+2014-03-18  Richard Biener  <rguenther@suse.de>
+
+       Backport from mainline
+       2013-11-05  Richard Biener  <rguenther@suse.de>
+
+       PR middle-end/58941
+       * tree-dfa.c (get_ref_base_and_extent): Merge common code
+       in MEM_REF and TARGET_MEM_REF handling.  Make sure to
+       process trailing array detection before diving into the
+       view-converted object (and possibly apply some extra offset).
+
+       2012-05-07  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * tree-dfa.c (get_ref_base_and_extent) <ARRAY_REF>: Do the offset
+       computation using the precision of the index type.
+
+       2012-05-31  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * tree-dfa.c (get_ref_base_and_extent): Compute the offset using
+       double ints throughout.
+
+2014-03-18  Richard Biener  <rguenther@suse.de>
+
+       Backport from mainline
+       2013-08-27  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/57521
+       * tree-if-conv.c (if_convertible_bb_p): Verify that at least
+       one edge is non-critical.
+       (find_phi_replacement_condition): Make sure to use a non-critical
+       edge.  Cleanup and remove old bug workarounds.
+       (bb_postdominates_preds): Remove.
+       (if_convertible_loop_p_1): Do not compute post-dominators.
+       (combine_blocks): Do not free post-dominators.
+       (main_tree_if_conversion): Likewise.
+
+       2013-09-03  Richard Biener  <rguenther@suse.de>
+
+       PR middle-end/57656
+       * fold-const.c (negate_expr_p): Fix division case.
+       (negate_expr): Likewise.
+
+       2013-11-19  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/57517
+       * tree-predcom.c (combinable_refs_p): Verify the combination
+       is always executed when the refs are.
+
+2014-03-17  Richard Biener  <rguenther@suse.de>
+
+       Backport from mainline
+       2013-05-21  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/57303
+       * tree-ssa-sink.c (statement_sink_location): Properly handle
+       self-assignments.
+
+       2013-12-02  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/59139
+       * tree-ssa-loop-niter.c (chain_of_csts_start): Properly match
+       code in get_val_for.
+       (get_val_for): Use gcc_checking_asserts.
+
+       2014-02-14  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/60183
+       * tree-ssa-phiprop.c (propagate_with_phi): Avoid speculating
+       loads.
+       (tree_ssa_phiprop): Calculate and free post-dominators.
+
+2014-03-14  Georg-Johann Lay  <avr@gjlay.de>
+
+       Backport from 2014-03-14 trunk r208562.
+
+       PR target/59396
+       * config/avr/avr.c (avr_set_current_function): Pass function name
+       through default_strip_name_encoding before sanity checking instead
+       of skipping the first char of the assembler name.
+
+2014-02-24  John David Anglin  <danglin@gcc.gnu.org>
+
+       * config/pa/pa.c (pa_output_move_double): Don't valididate when
+       adjusting offsetable addresses.
+
+2014-02-21  Uros Bizjak  <ubizjak@gmail.com>
+
+       Backport from mainline
+       2014-02-21  Jakub Jelinek  <jakub@redhat.com>
+
+       * config/i386/i386.c (ix86_expand_vec_perm): Use V8SImode
+       mode for mask of V8SFmode permutation.
+
+       Backport from 4.8 branch
+       2014-02-20  Jakub Jelinek  <jakub@redhat.com>
+
+       PR target/57896
+       * config/i386/i386.c (expand_vec_perm_interleave2): Don't call
+       gen_reg_rtx if d->testing_p.
+       (expand_vec_perm_pshufb2, expand_vec_perm_even_odd_1,
+       expand_vec_perm_broadcast_1): Return early if d->testing_p and
+       we will certainly return true.
+
+2014-02-20  Terry Guo  <terry.guo@arm.com>
+
+       Backport from mainline
+       2014-02-08  Terry Guo  <terry.guo@arm.com>
+
+       * doc/invoke.texi: Document ARM -march=armv7e-m.
+
+2014-02-19  H.J. Lu  <hongjiu.lu@intel.com>
+
+       Backport from mainline
+       2014-02-19  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR target/60207
+       * config/i386/i386.c (construct_container): Remove TFmode check
+       for X86_64_INTEGER_CLASS.
+
+2014-02-18  Kai Tietz  <ktietz@redhat.com>
+
+       Backport from mainline
+       PR target/60193
+       * config/i386/i386.c (ix86_expand_prologue): Use
+       rax register as displacement for restoring %r10, %rax.
+       Additional fix wrong offset for restoring both-registers.
+
+2014-02-18  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * ipa-prop.c (compute_complex_ancestor_jump_func): Replace overzealous
+       assertion with conditional return.
+
+2014-02-18  Jakub Jelinek  <jakub@redhat.com>
+           Uros Bizjak  <ubizjak@gmail.com>
+
+       PR driver/60233
+       * config/i386/driver-i386.c (host_detect_local_cpu): If
+       YMM state is not saved by the OS, also clear has_f16c.  Move
+       CPUID 0x80000001 handling before YMM state saving checking.
+
+2014-02-13  Uros Bizjak  <ubizjak@gmail.com>
+
+       Backport from mainline
+       2014-02-13  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/sse.md (xop_vmfrcz<mode>2): Generate const0 in
+       operands[2], not operands[3].
+
+2014-02-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+       Backport from mainline
+       2014-02-12  H.J. Lu  <hongjiu.lu@intel.com>
+                   Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/60151
+       * configure.ac (HAVE_AS_GOTOFF_IN_DATA): Pass --32 to GNU assembler.
+
+2014-02-05  James Greenhalgh  <james.greenhalgh@arm.com>
+
+       * doc/invoke.texi: Fix thinko introduced by previous revision.
+
+2014-02-05  James Greenhalgh  <james.greenhalgh@arm.com>
+
+       Backport from mainline.
+       2014-02-05  James Greenhalgh  <james.greenhalgh@arm.com>
+
+       PR target/59718
+       * doc/invoke.texi (-march): Clarify documentation for ARM.
+       (-mtune): Likewise.
+       (-mcpu): Likewise.
+
 2014-02-04  Uros Bizjak  <ubizjak@gmail.com>
 
        Backport from mainline