Adapt the numbering scheme (PR gcov-profile/64874)
[platform/upstream/gcc.git] / gcc / ChangeLog
index 5af16ba..85dd571 100644 (file)
@@ -1,3 +1,289 @@
+2016-07-25  Martin Liska  <mliska@suse.cz>
+
+       PR gcov-profile/64874
+       * gcov-io.h: Update command about file format.
+       * gcov-iov.c (main): Adapt the numbering scheme.
+
+2016-07-24  Kugan Vivekanandarajah  <kuganv@linaro.org>
+
+       PR middle-end/66726
+       * tree-ssa-reassoc.c (optimize_vec_cond_expr): Handle tcc_compare stmt
+       whose result is used in PHI.
+       (final_range_test_p): Likewise.
+       (maybe_optimize_range_tests): Likewise.
+
+2016-07-22  Michael Meissner  <meissner@linux.vnet.ibm.com>
+
+       * config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin):
+       Reformat two multi-line strings.
+
+2016-07-22 Martin Sebor  <msebor@redhat.com>
+
+       * doc/extend.texi (Compound Literals): Add '@' missed in last commit.
+
+2016-07-22 Martin Sebor  <msebor@redhat.com>
+
+       PR c/71560
+       * doc/extend.texi (Compound Literals): Correct and clarify.
+       (Cast to Union): Same.
+
+2016-07-22  Kelvin Nilsen  <kelvin@gcc.gnu.org>
+
+       * config/rs6000/rs6000.c (rs6000_option_override_internal): Add
+       comments to explain why certain error messages make mention of
+       undocumented options.
+       (rs6000_invalid_builtin): Change error messages to replace mention
+       of undocumented options with mention of the -mcpu=power9 option
+       that enables those undocumented options.
+       * config/rs6000/rs6000.h (MASK_FLOAT128): New macro.
+       (RS6000_BTM_FLOAT128): Use the new MASK_FLOAT128 macro in the
+       definition of this macro to correct an existing error.
+       * config/rs6000/rs6000.opt: Add the Undocumented qualifier to the
+       mpower9-fusion, mpower9-vector, mpower9-dform, and mmodulo entries.
+       * doc/extend.texi (PowerPC AltiVec Built-in Functions): Modify
+       descriptions of built-in functions so that they depend on
+       -mcpu=power9 instead of on the corresponding undocumented flags.
+       * doc/invoke.texi (Option Summary):  Remove all mention of newly
+       undocumented flags.
+       (IBM RS/6000 and PowerPC Options): Likewise.
+       * doc/md.texi (Constraints for Particuliar Machines): Remove all
+       mention of newly undocumented flags.
+
+2016-07-22  Evgeny Stupachenko  <evstupac@gmail.com>
+
+       * ipa-cp.c (determine_versionability): Do not create constprop clones,
+       when target_clones attribute is set.
+
+2016-07-22  Bin Cheng  <bin.cheng@arm.com>
+
+       * common.opt (funsafe-loop-optimizations): Mark ignore.
+       * doc/invoke.texi (funsafe-loop-optimizations): Remove.
+       * loop-iv.c (get_simple_loop_desc): Remove unsafe-loop-optimizations
+       related code.
+       * tree-ssa-loop-niter.c (finite_loop_p): Ditto.
+       * config/bfin/bfin.c (bfin_can_use_doloop_p): Ditto.
+
+2016-07-22  Bin Cheng  <bin.cheng@arm.com>
+
+       * tree-ssa-loop-niter.h (number_of_iterations_exit_assumptions): New
+       Parameter.
+       * tree-ssa-loop-niter.c (number_of_iterations_exit_assumptions): New
+       Parameter.
+       (number_of_iterations_exit): Warn missed loop optimization for
+       possible infinite loops.
+
+2016-07-22  Segher Boessenkool  <segher@kernel.crashing.org>
+
+       * config/rs6000/rs6000.c (rs6000_file_start): Fix condition for
+       when to emit a ".machine" pseudo-op.
+
+2016-07-22  Martin Liska  <mliska@suse.cz>
+
+       PR gcov-profile/69028
+       PR gcov-profile/62047
+       * coverage.c (coverage_compute_lineno_checksum): Do not
+       calculate checksum for fns w/o xloc.file.
+       (coverage_compute_profile_id): Likewise.
+
+2016-07-22  Georg-Johann Lay  <avr@gjlay.de>
+
+       * config/avr/avr.c (TARGET_SECONDARY_RELOAD): Remove hook define...
+       (avr_secondary_reload): ...and implementation.
+       (avr_adjust_insn_length) [ADJUST_LEN_LPM]: Remove handling.
+       * config/avr/avr.md (reload_in<mode>): Remove insns.
+       (adjust_len) [lpm]: Remove insn attribute value.
+       * config/avr/predicates.md (flash_operand): Remove insn predicate.
+
+2016-07-21  Bernd Edlinger  <bernd.edlinger@hotmail.de>
+
+       PR middle-end/71876
+       * builtin-attrs.def (ATTR_RT_NOTHROW_LEAF_LIST): New return twice
+       attribute.
+       * builtins.def (BUILT_IN_SETJMP): Use ATTR_RT_NOTHROW_LEAF_LIST here.
+       * calls.c (special_function_p): Remove the special handling of the
+       "__builtin_" prefix.
+
+2016-07-21  Bernd Edlinger  <bernd.edlinger@hotmail.de>
+
+       PR middle-end/71876
+       * calls.c (gimple_maybe_alloca_call_p): New function.  Return true
+       if STMT may be an alloca call.
+       (gimple_alloca_call_p, alloca_call_p): Return only true for the
+       builtin alloca call.
+       * calls.h (gimple_maybe_alloca_call_p): New function.
+       * tree-inline.c (inline_forbidden_p_stmt): Use
+       gimple_maybe_alloca_call_p here.
+
+2016-07-21  David Malcolm  <dmalcolm@redhat.com>
+
+       * spellcheck-tree.c (best_macro_match::best_macro_match):
+       Explictly specify the template arguments when invoking the base
+       class constructor, to help older C++ compilers.
+
+2016-07-21  Jakub Jelinek  <jakub@redhat.com>
+
+       PR sanitizer/71953
+       * asan.c (asan_dynamic_init_call): Call asan_init_shadow_ptr_types
+       before builtin_decl_implicit.
+
+2016-07-21  James Greenhalgh  <james.greenhalgh@arm.com>
+
+       * optabs.c (emit_condiitonal_move): Short circuit for identical
+       sources.
+
+2016-07-21  James Greenhalgh  <james.greenhalgh@arm.com>
+
+       * ifcvt.c (noce_if_info): New fields: speed_p, original_cost,
+       max_seq_cost.  Removed fields: then_cost, else_cost, branch_cost.
+       (noce_conversion_profitable_p): New.
+       (noce_try_store_flag_constants): Use it.
+       (noce_try_addcc): Likewise.
+       (noce_try_store_flag_mask): Likewise.
+       (noce_try_cmove): Likewise.
+       (noce_try_cmove_arith): Likewise.
+       (bb_valid_for_noce_process_p): Add to the cost parameter rather than
+       overwriting it.
+       (noce_convert_multiple_sets): Move cost model to here, from...
+       (bb_ok_for_noce_convert_multiple_sets) ...here.
+       (noce_process_if_block): Update calls for above changes.
+       (noce_find_if_block): Record new noce_if_info parameters.
+
+2016-07-21  James Greenhalgh  <james.greenhalgh@arm.com>
+
+       * target.def (max_noce_ifcvt_seq_cost): New.
+       * doc/tm.texi.in (TARGET_MAX_NOCE_IFCVT_SEQ_COST): Document it.
+       * doc/tm.texi: Regenerate.
+       * targhooks.h (default_max_noce_ifcvt_seq_cost): New.
+       * targhooks.c (default_max_noce_ifcvt_seq_cost): New.
+       * params.def (PARAM_MAX_RTL_IF_CONVERSION_PREDICTABLE_COST): New.
+       (PARAM_MAX_RTL_IF_CONVERSION_UNPREDICTABLE_COST): Likewise.
+       * doc/invoke.texi: Document new params.
+
+2016-07-21  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/71947
+       * tree-vrp.c (extract_range_from_assert): Singleton symbolic
+       ranges have useful limit_vr information.
+
+2016-07-21  Richard Biener  <rguenther@suse.de>
+
+       * function-tests.c (build_trivial_generic_function): Set
+       BLOCK_SUPERCONTEXT of DECL_INITIAL.
+       * omp-low.c (create_omp_child_function): Likewise.
+       (grid_expand_target_grid_body): Likewise.
+       * cgraphunit.c (init_lowered_empty_function): Likewise.
+       (cgraph_node::expand_thunk): Likewise.
+       * tree-parloops.c (create_loop_fn): Likewise.
+       * ipa.c (cgraph_build_static_cdtor_1): Likewise.
+
+2016-07-21  Prathamesh Kulkarni  <prathamesh.kulkarni@linaro.org>
+
+       * tree-ssa-strlen.c (strlen_dom_walker::before_dom_children): Fix typo
+       in comment.
+
+2016-07-21  Georg-Johann Lay  <avr@gjlay.de>
+
+       * config/avr/avr.md (any_extract, any_shiftrt): New code iterators.
+       (*insv.extract, *insv.shiftrt, *insv.not-bit.0, *insv.not-bit.7)
+       (*insv.xor-extract, *insv.xor1-bit.0): New insns.
+       (adjust_len) [insv_notbit, insv_notbit_0, insv_notbit_7]: New
+       values for insn attribute.
+       * config/avr/avr.c (avr_out_insert_notbit): New function.
+       (avr_adjust_insn_length): Handle ADJUST_LEN_INSV_NOTBIT,
+       ADJUST_LEN_INSV_NOTBIT_0/_7.
+       * config/avr/avr-protos.h (avr_out_insert_notbit): New proto.
+
+2016-07-21  Bin Cheng  <bin.cheng@arm.com>
+
+       * tree-chrec.c (convert_affine_scev): New parameter.  Pass new arg.
+       (chrec_convert_1, chrec_convert): Ditto.
+       * tree-chrec.h (chrec_convert, convert_affine_scev): New parameter.
+       * tree-scalar-evolution.c (interpret_rhs_expr): Pass new arg.
+       * tree-vrp.c (adjust_range_with_scev): Ditto.
+       * tree-ssa-loop-niter.c (idx_infer_loop_bounds): Ditto.
+       (scev_var_range_cant_overflow): New function.
+       (scev_probably_wraps_p): New parameter.  Call above function.
+       * tree-ssa-loop-niter.h (scev_probably_wraps_p): New parameter.
+
+2016-07-21  Bin Cheng  <bin.cheng@arm.com>
+
+       * tree-ssa-loop-niter.c (number_of_iterations_lt_to_ne): Clean up
+       by removing computation of may_be_zero.
+
+2016-07-21  Jakub Jelinek  <jakub@redhat.com>
+
+       * tree-object-size.c (unknown): Use HOST_WIDE_INT_M1U instead of -1.
+
+2016-07-21  Andrew Sutton  <andrew.n.sutton@gmail.com>
+
+       Improving concepts performance and diagnostics.
+       * timevar.def (TV_CONSTRAINT_SAT, TV_CONSTRAINT_SUB): New time vars
+       for constraint satisfaction and subsumption.
+       * timevar.h (auto_timevar): New constructor that matches the push/pop
+       pattern of usage in pt.c.
+
+2016-07-20  Uros Bizjak  <ubizjak@gmail.com>
+
+       * hwint.h (HOST_WIDE_INT_0): New define.
+       (HOST_WIDE_INT_0U): Ditto.
+       * double-int.c: Use HOST_WIDE_INT_0 instead of (HOST_WIDE_INT) 0.
+       * dse.c: Use HOST_WIDE_INT_0U instead of (unsigned HOST_WIDE_INT) 0.
+       * simplify-rtx.c: Ditto.
+       * tree-object-size.c: Ditto.
+
+2016-07-20  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
+
+       * config/s390/s390.c (s390_encode_section_info): Remove mode size
+       check.
+
+2016-07-20  Uros Bizjak  <ubizjak@gmail.com>
+
+       * cse.c: Use HOST_WIDE_INT_M1 instead of ~(HOST_WIDE_INT) 0.
+       * combine.c: Use HOST_WIDE_INT_M1U instead of
+       ~(unsigned HOST_WIDE_INT) 0.
+       * double-int.h: Ditto.
+       * dse.c: Ditto.
+       * dwarf2asm.c:Ditto.
+       * expmed.c: Ditto.
+       * genmodes.c: Ditto.
+       * match.pd: Ditto.
+       * read-rtl.c: Ditto.
+       * tree-ssa-loop-ivopts.c: Ditto.
+       * tree-ssa-loop-prefetch.c: Ditto.
+       * tree-vect-generic.c: Ditto.
+       * tree-vect-patterns.c: Ditto.
+       * tree.c: Ditto.
+
+2016-07-20  Georg-Johann Lay  <avr@gjlay.de>
+
+       * gcc/config/avr.c (avr_legitimize_address) [AVR_TINY]: Force
+       constant addresses outside [0,0xc0] into a register.
+       (avr_out_movhi_r_mr_reg_no_disp_tiny): Pass insn.  And handle
+       cases where the base address register is unused after.
+       (avr_out_movhi_r_mr_reg_disp_tiny): Same.
+       (avr_out_movhi_mr_r_reg_disp_tiny): Same.
+       (avr_out_store_psi_reg_disp_tiny): Same.
+
+2016-07-20  Georg-Johann Lay  <avr@gjlay.de>
+
+       Implement attribute progmem on reduced Tiny cores by adding
+       flash offset 0x4000 to respective symbols.
+
+       PR target/71948
+       * doc/extend.texi (AVR Variable Attributes) [progmem]: Add
+       documentation how it works on reduced Tiny cores.
+       (AVR Named Address Spaces): No support for reduced Tiny.
+       * config/avr/avr.c (AVR_SYMBOL_FLAG_TINY_PM): New macro.
+       (avr_address_tiny_pm_p): New static function.
+       (avr_print_operand_address) [AVR_TINY]: Add AVR_TINY_PM_OFFSET
+       if the address is in progmem.
+       (avr_assemble_integer): Same.
+       (avr_encode_section_info) [AVR_TINY]: Set AVR_SYMBOL_FLAG_TINY_PM
+       for symbol_ref in progmem.
+       * config/avr/avr.h (AVR_TINY_PM_OFFSET): New macro.
+       * config/avr/avr-c.c (avr_cpu_cpp_builtins): Use it instead of
+       magic 0x4000 when built-in def'ing __AVR_TINY_PM_BASE_ADDRESS__.
+
 2016-07-20  Patrick Palka  <ppalka@gcc.gnu.org>
 
        * configure.ac (thin_archive_support): New variable.  AC_SUBST it.