OSDN Git Service

PR target/60941
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 3249195..a5390e6 100644 (file)
@@ -1,3 +1,450 @@
+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
+       2014-02-02  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/60017
+       * config/i386/i386.c (classify_argument): Fix handling of bit_offset
+       when calculating size of integer atomic types.
+
+2014-02-02  Uros Bizjak  <ubizjak@gmail.com>
+
+       Backport from mainline
+       2014-01-30  Jakub Jelinek  <jakub@redhat.com>
+
+       * config/i386/f16cintrin.h (_cvtsh_ss): Avoid -Wnarrowing warning.
+
+2014-01-31  Richard Henderson  <rth@redhat.com>
+
+       PR middle-end/60004
+       * tree-eh.c (lower_try_finally_switch): Delay lowering finally block
+       until after else_eh is processed.
+
+2014-01-29  Markus Trippelsdorf  <markus@trippelsdorf.de>
+
+       Backport from mainline
+       2012-12-13  Jakub Jelinek  <jakub@redhat.com>
+
+       PR gcov-profile/55650
+       * coverage.c (coverage_obj_init): Return false if no functions
+       are being emitted.
+
+2014-01-25  Walter Lee  <walt@tilera.com>
+
+       Backport from mainline
+       2014-01-25  Walter Lee  <walt@tilera.com>
+
+       * config/tilegx/sync.md (atomic_fetch_sub): Fix negation and
+       avoid clobbering a live register.
+
+2014-01-25  Walter Lee  <walt@tilera.com>
+
+       Backport from mainline
+       2014-01-25  Walter Lee  <walt@tilera.com>
+
+       * config/tilegx/tilegx-c.c (tilegx_cpu_cpp_builtins):
+       Define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{1,2}.
+       * config/tilegx/tilepro-c.c (tilepro_cpu_cpp_builtins):
+       Define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_{1,2,4,8}.
+
+2014-01-25  Walter Lee  <walt@tilera.com>
+
+       Backport from mainline
+       2014-01-25  Walter Lee  <walt@tilera.com>
+
+       * config/tilegx/tilegx.c (tilegx_gen_bundles): Delete barrier
+       insns before bundling.
+       * config/tilegx/tilegx.md (tile_network_barrier): Update comment.
+
+2014-01-25  Walter Lee  <walt@tilera.com>
+
+       Backport from mainline
+       2014-01-25  Walter Lee  <walt@tilera.com>
+
+       * config/tilegx/tilegx.c (tilegx_expand_builtin): Set
+       PREFETCH_SCHEDULE_BARRIER_P to true for prefetches.
+       * config/tilepro/tilepro.c (tilepro_expand_builtin): Ditto.
+
+2014-01-25  Walter Lee  <walt@tilera.com>
+
+       Backport from mainline
+       2014-01-25  Walter Lee  <walt@tilera.com>
+
+       * config/tilepro/tilepro.md (ctzdi2): Use register_operand predicate.
+       (clzdi2): Ditto.
+       (ffsdi2): Ditto.
+
+2014-01-25  Walter Lee  <walt@tilera.com>
+
+       Backport from mainline
+       2014-01-25  Walter Lee  <walt@tilera.com>
+
+       * config/tilegx/tilegx.c (tilegx_expand_to_rtl_hook): New.
+       (TARGET_EXPAND_TO_RTL_HOOK): Define.
+
+2014-01-22  Uros Bizjak  <ubizjak@gmail.com>
+           Jakub Jelinek  <jakub@redhat.com>
+
+       PR target/59880
+       * config/i386/i386.c (ix86_avoid_lea_for_addr): Return false
+       for SImode_address_operand operands.  Return false
+       if operands[1] is a REG.
+
+2014-01-21  Andrey Belevantsev  <abel@ispras.ru>
+
+       Backport from mainline
+       2013-12-23  Andrey Belevantsev  <abel@ispras.ru>
+
+       PR rtl-optimization/57422
+       * sel-sched.c (mark_unavailable_hard_regs): Fix typo when calling
+       add_to_hard_reg_set.
+
+2014-01-19  John David Anglin  <danglin@gcc.gnu.org>
+
+       * config/pa/pa.c (pa_attr_length_millicode_call): Correct length of
+       long non-pic millicode calls.
+
+2014-01-17  John David Anglin  <danglin@gcc.gnu.org>
+
+       * config/pa/pa.c (pa_attr_length_indirect_call): Don't output a short
+       call to $$dyncall when TARGET_LONG_CALLS is true.
+
+2014-01-17  Charles Baylis  <charles.baylis@linaro.org>
+
+       Backport from mainline
+       2013-12-19  Charles Baylis  <charles.baylis@linaro.org>
+
+       PR target/59142
+       * config/arm/arm-ldmstm.ml: Use low_register_operand for Thumb
+       patterns.
+       * config/arm/ldmstm.md: Regenerate.
+
+       2013-12-19  Charles Baylis  <charles.baylis@linaro.org>
+
+       PR target/59142
+       * config/arm/predicates.md (arm_hard_general_register_operand):
+       New predicate.
+       (arm_hard_register_operand): Remove.
+       * config/arm/arm-ldmstm.ml: Use arm_hard_general_register_operand
+       for all patterns.
+       * config/arm/ldmstm.md: Regenerate.
+
+2014-01-16  Jakub Jelinek  <jakub@redhat.com>
+
+       PR target/59839
+       * config/i386/i386.c (ix86_expand_builtin): If target doesn't
+       satisfy operand 0 predicate for gathers, use a new pseudo as
+       subtarget.
+
+2014-01-16  Richard Henderson  <rth@redhat.com>
+
+       PR debug/54694
+       * reginfo.c (global_regs_decl): Globalize.
+       * rtl.h (global_regs_decl): Declare.
+       * ira.c (do_reload): Diagnose frame_pointer_needed and it
+       reserved via global_regs.
+
+2014-01-16  Marek Polacek  <polacek@redhat.com>
+
+       Backport from mainline
+       2014-01-16  Marek Polacek  <polacek@redhat.com>
+
+       PR middle-end/59827
+       * gimple-low.c (gimple_check_call_args): Don't use DECL_ARG_TYPE if
+       it is error_mark_node.
+
+2014-01-14  Uros Bizjak  <ubizjak@gmail.com>
+
+       Revert:
+       2014-01-08  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/i386.c (ix86_data_alignment): Calculate max_align
+       from prefetch_block tune setting.
+
+2014-01-10  Richard Earnshaw  <rearnsha@arm.com>
+
+       PR rtl-optimization/54300
+       * regcprop.c (copyprop_hardreg_forward_1): Ensure any unused
+       outputs in a single-set are killed from the value chains.
+
+2014-01-10  Huacai Chen  <chenhc@lemote.com>
+
+       * config/mips/driver-native.c (host_detect_local_cpu): Handle new
+       kernel strings for Loongson-2E/2F/3A.
+
+2014-01-08  Uros Bizjak  <ubizjak@gmail.com>
+
+       Backport from mainline
+       2014-01-05  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/i386.c (ix86_data_alignment): Calculate max_align
+       from prefetch_block tune setting.
+       (nocona_cost): Correct size of prefetch block to 64.
+
+2013-12-28  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * doc/invoke.texi (output file options): Add missing markers.
+
+2013-12-11  Kai Tietz  <ktietz@redhat.com>
+
+       PR target/56807
+       * config/i386/i386.c (ix86_expand_prologue): plus_constant
+       takes no mode-argument.
+
+2013-12-10  Kai Tietz  <ktietz@redhat.com>
+
+       PR target/56807
+       * config/i386/i386.c (ix86_expand_prologue): Address saved
+       registers stack-relative, not via frame-pointer.
+
+2013-12-03  Marek Polacek  <polacek@redhat.com>
+
+       Backport from mainline
+       2013-12-03  Marek Polacek  <polacek@redhat.com>
+
+       PR c/59351
+       * c-decl.c (build_compound_literal): Allow compound literals with
+       empty initial value.
+
 2013-12-01  Eric Botcazou  <ebotcazou@adacore.com>
 
        * config/i386/winnt.c (i386_pe_asm_named_section): Be prepared for an