Do not gather mem stats in run_exit_handles (PR
[gcc.git] / gcc / ChangeLog
index 0ba100dedf24f9165b0c939ebc43ba9ec1bc5677..0414e0970130dbcc7e913e3485adac758b1a7b62 100644 (file)
@@ -1,3 +1,141 @@
+2016-02-25  Martin Liska  <mliska@suse.cz>
+
+       PR middle-end/69919
+       * alloc-pool.c (after_memory_report): New variable.
+       * alloc-pool.h (base_pool_allocator ::release): Do not use
+       the infrastructure if after_memory_report.
+       * toplev.c (toplev::main): Mark after memory report.
+
+2016-02-25  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/48795
+       * tree-vrp.c (check_array_ref): Use array_at_struct_end_p.
+
+2016-02-25  Ilya Verbin  <ilya.verbin@intel.com>
+
+       PR driver/68463
+       * config/gnu-user.h (CRTOFFLOADBEGIN): Define.  Add crtoffloadbegin.o if
+       offloading is enabled and -fopenacc or -fopenmp is specified.
+       (CRTOFFLOADEND): Likewise.
+       (GNU_USER_TARGET_STARTFILE_SPEC): Add CRTOFFLOADBEGIN.
+       (GNU_USER_TARGET_ENDFILE_SPEC): Add CRTOFFLOADEND.
+       * lto-wrapper.c (offloadbegin, offloadend): Remove static vars.
+       (offload_objects_file_name): New static var.
+       (tool_cleanup): Remove offload_objects_file_name file.
+       (find_offloadbeginend): Replace with ...
+       (find_crtoffloadtable): ... this.
+       (run_gcc): Remove offload_argc and offload_argv.
+       Get offload_objects_file_name from -foffload-objects=... option.
+       Read names of object files with offload from this file, pass them to
+       compile_images_for_offload_targets.  Don't call find_offloadbeginend and
+       don't pass offloadbegin and offloadend to the linker.  Don't pass
+       offload non-LTO files to the linker, because now they're not claimed.
+
+2016-02-25  Jan Hubicka  <hubicka@ucw.cz>
+
+       PR ipa/69630
+       * ipa-devirt.c (possible_polymorphic_call_targets): Do not ICE
+       on builtin_unreachable.
+
+2016-02-25  Jakub Jelinek  <jakub@redhat.com>
+
+       PR rtl-optimization/69896
+       * regcprop.c: Include cfgrtl.h.
+       (copyprop_hardreg_forward_1): If noop_p insn uses narrower
+       than remembered mode, either delete it (if noop_move_p), or
+       treat like copy_p but not noop_p instruction.
+
+2016-02-24  Jakub Jelinek  <jakub@redhat.com>
+
+       PR debug/69705
+       * dwarf2out.c (gen_variable_die): Work around buggy LTO
+       - allow NULL decl for Fortran DW_TAG_common_block variables.
+
+2016-02-24  Jason Merrill  <jason@redhat.com>
+
+       * common.opt (flifetime-dse): Add -flifetime-dse=1.
+
+2016-02-24  Richard Biener  <rguenther@suse.de>
+           Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/69760
+       * tree-scalar-evolution.c (interpret_rhs_expr): Re-write
+       conditionally executed ops to well-defined overflow behavior.
+
+2016-02-24  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/69915
+       * tree.c (build_vector_from_ctor): Fix handling of VECTOR_CST
+       elements.
+
+2016-02-24  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
+
+       PR rtl-optimization/69886
+       * gcse.c (can_assign_to_reg_without_clobbers_p): Accept mode
+       argument.  Use it when checking validity of set instructions.
+       (want_to_gcse_p): Pass mode to can_assign_to_reg_without_clobbers_p.
+       (compute_ld_motion_mems): Update can_assign_to_reg_without_clobbers_p
+       callsite.
+       * rtl.h (can_assign_to_reg_without_clobbers_p): Update prototype.
+       * store-motion.c (find_moveable_store): Update
+       can_assign_to_reg_without_clobbers_p callsite.
+
+2016-02-24  Richard Biener  <rguenther@suse.de>
+
+       PR middle-end/68963
+       * tree-ssa-loop-niter.c (derive_constant_upper_bound_ops): Fix
+       bogus check.
+       (record_nonwrapping_iv): Do not fall back to the low/high bound
+       for non-constant IV bases if the stmt is not always executed.
+
+2016-02-24  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
+
+       * config/arm/arm-cores.def (cortex-a32): New entry.
+       * config/arm/arm-tables.opt: Regenerate.
+       * config/arm/arm-tune.md: Regenerate.
+       * config/arm/bpabi.h (BE8_LINK_SPEC): Add mcpu=cortex-a32.
+       * config/arm/t-aprofile: Handle mcpu=cortex-a32.
+       * doc/invoke.texi (ARM Options): Document cortex-a32 as value
+       for -mcpu and -mtune.
+
+2016-02-24  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
+
+       PR target/69875
+       * config/arm/arm.h (TARGET_HAVE_LPAE): Define.
+       * config/arm/unspecs.md (VUNSPEC_LDRD_ATOMIC): New value.
+       * config/arm/sync.md (arm_atomic_loaddi2_ldrd): New pattern.
+       (atomic_loaddi_1): Delete.
+       (atomic_loaddi): Rewrite expander using the above changes.
+
+2016-02-24  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c/69918
+       * params.def (PARAM_MAX_SSA_NAME_QUERY_DEPTH): Bump default from
+       2 to 3.
+
+2016-02-24  Jakub Jelinek  <jakub@redhat.com>
+           Richard Biener  <rguenth@suse.de>
+
+       PR middle-end/69909
+       * expr.c (expand_expr_real_1) <normal_inner_ref>: Avoid
+       set_mem_attributes if tem is SSA_NAME which got expanded
+       as a MEM.
+
+2016-02-24  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/69907
+       * tree-vect-stmts.c (vectorizable_load): Check for gaps at the
+       end of permutations for BB vectorization.
+
+2016-02-24  Christian Bruel  <christian.bruel@st.com>
+
+       * config/arm/arm-c.c (arm_option_override): Initialize
+       target_option_current_node.
+       * config/arm/arm.c (arm_pragma_target_parse): Replace
+       build_target_option_node call by target_option_current_node.
+       Set target_option_current_node.
+       Fix comments.
+
 2016-02-23  David Edelsohn  <dje.gcc@gmail.com>
 
        PR target/69810