+2019-11-21 Richard Biener <rguenther@suse.de>
+
+ * cfgloop.h (loop_iterator::~loop_iterator): Remove.
+ (loop_iterator::to_visit): Use an auto_vec with internal storage.
+ (loop_iterator::loop_iterator): Adjust.
+ * cfganal.c (compute_dominance_frontiers_1): Fold into...
+ (compute_dominance_frontiers): ... this. Hoist invariant
+ get_immediate_dominator call.
+ (compute_idf): Use a work-set instead of a work-list for more
+ optimal iteration order and duplicate avoidance.
+ * tree-into-ssa.c (mark_phi_for_rewrite): Avoid re-allocating
+ the vector all the time, instead pre-allocate the vector only
+ once.
+ (delete_update_ssa): Simplify.
+ * vec.h (va_heap::release): Disable -Wfree-nonheap-object around it.
+
+2019-11-21 Jakub Jelinek <jakub@redhat.com>
+
+ PR tree-optimization/91355
+ * tree-ssa-sink.c (select_best_block): Use >= rather than >
+ for early_bb scaled count with best_bb count comparison.
+
+ * ipa-fnsummary.h (enum ipa_hints_vals): Fix comment typo,
+ preffer -> prefer.
+ * ipa-inline.c (edge_badness): Likewise.
+ * lto-streamer.h (class lto_location_cache): Likewise.
+ * tree-ssa-sink.c (select_best_block): Likewise. Fix comment typos,
+ gratutious -> gratuitous.
+
+2019-11-21 Richard Biener <rguenther@suse.de>
+
+ Revert
+ 2019-09-17 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/91790
+ * tree-vect-stmts.c (vectorizable_load): For BB vectorization
+ use the correct DR for setting up realignment.
+
+2019-11-21 Richard Biener <rguenther@suse.de>
+
+ * tree-ssa-structalias.c (equiv_class_hasher): Change to nofree.
+ (equiv_class_obstack): New.
+ (equiv_class_lookup_or_add): Allocate from equiv_class_obstack.
+ (perform_var_substitution): Initialize equiv_class_obstack.
+ (free_var_substitution_info): Free equiv_class_obstack.
+
+2019-11-20 Jan Hubicka <jh@suse.cz>
+
+ * ipa-inline.c (want_early_inline_function_p): Do not estimate
+ edge growth when callee function is very large.
+ * ipa-inline.h (estimate_min_edge_growth): New.
+
+2019-11-20 Jan Hubicka <jh@suse.cz>
+
+ * ipa-fnsummary.c (ipa_fn_summary::account_size_time): Allow
+ negative time in calls summary; correct roundoff errors
+ leading to negative times.
+ (ipa_merge_fn_summary_after_inlining): Update calls size time table
+ if present.
+ (ipa_update_overall_fn_summary): Add RESET parameter.
+ * ipa-fnsummary.h (ipa_update_overall_fn_summary): Update prototype.
+ * ipa-inline-transform.c (inline_call): Enable incremental updates.
+
+2019-11-20 Richard Sandiford <richard.sandiford@arm.com>
+
+ * tree-vect-slp.c (vect_schedule_slp_instance): Restore stmt
+ def types for two-operation SLP.
+
+2019-11-20 Richard Sandiford <richard.sandiford@arm.com>
+
+ PR testsuite/92366
+ * doc/sourcebuild.texi (vect_char_add): Document.
+
+2019-11-20 Alexandre Oliva <oliva@adacore.com>
+
+ * function.h (CALLEE_FROM_CGRAPH_P): Remove.
+ * function.c (record_final_call): Record even calls that might
+ have been in the cgraph.
+ * toplev.c (dump_final_node_vcg): Skip iteration over cgraph
+ callees.
+
+2019-11-20 Janne Blomqvist <jb@gcc.gnu.org>
+
+ * configure.ac: Use https for gcc.gnu.org
+ * configure: Regenerated.
+ * doc/install.texi: Use https for gcc.gnu.org.
+ * doc/sourcebuild.texi: Likewise.
+
+2019-11-20 Julian Brown <julian@codesourcery.com>
+
+ * config/gcn/gcn.c (gcn_asm_output_symbol_ref): Handle null cfun.
+
+2019-11-20 Jan Hubicka <jh@suse.cz>
+
+ * ipa-fnsummary.c (ipa_fn_summary::account_size_time): Add CALL
+ parameter and update call_size_time_table.
+ (ipa_fn_summary::max_size_time_table_size): New constant.
+ (estimate_calls_size_and_time_1): Break out from ...
+ (estimate_calls_size_and_time): ... here; implement summary production.
+ (summarize_calls_size_and_time): New function.
+ (ipa_call_context::estimate_size_and_time): Bypass
+ estimate_calls_size_and_time for leaf functions.
+ (ipa_update_overall_fn_summary): Likewise.
+ * ipa-fnsummary.h (call_size_time_table): New.
+ (ipa_fn_summary::account_size_time): Update prototype.
+
+2019-11-20 Joseph Myers <joseph@codesourcery.com>
+
+ * doc/invoke.texi (-Wc11-c2x-compat): Document.
+
+2019-11-20 Wilco Dijkstra <wdijkstr@arm.com>
+
+ PR85678
+ * common.opt (fcommon): Change init to 1.
+ * doc/invoke.texi (-fcommon): Update documentation.
+
+2019-11-20 Jan Hubicka <jh@suse.cz>
+
+ * fibonacci_heap.h (fibonacci_heap<K,V>::consolidate): Turn auto_vec
+ to ordinary array.
+
+2019-11-20 Jan Hubicka <jh@suse.cz>
+
+ * fibonacci_heap.h (fibonacci_heap<K,V>::fibonacci_heap):
+ Add allocator parameter.
+ (fibonacci_heap<K,V>::~fibonacci_heap): Optimize destruction.
+ (fibonacci_heap<K,V>::m_allocator): New.
+ (fibonacci_heap<K,V>::m_own_allocator): New.
+ (fibonacci_heap<K,V>::insert): Use allocator.
+ (fibonacci_heap<K,V>::extract_min): Likewise.
+ (fibonacci_heap<K,V>::union_with): Assert that both heaps share
+ allocator.
+ (fibonacci_heap<K,V>::consolidate): Allocate constant sized vector
+ on stack.
+ * fibonacci_heap.c: Include alloc-pool
+ (test_empty_heap): Initialize allocator.
+ (test_union): Likewise.
+ * bb-reorder.c: Include alloc-pool.h.
+ * tracer.c: Inlclude alloc-pool.h.
+
+2019-11-20 Jan Hubicka <jh@suse.cz>
+
+ * lto-streamer-out.c (DFS::sccstack): Turn into auto-vec.
+ Preallocate for 32 entries.
+ (DFS::worklist): Likewise.
+ (DFS::DFS): Do not initialize sccstack and worklist.
+ (DFS::~DFS): Do not release sccstack.
+
+2019-11-20 Segher Boessenkool <segher@kernel.crashing.org>
+
+ PR target/92573
+ * config/rs6000/dfp.md (dfptstsfi_<code>_<mode> for DFP_TEST and DDTD):
+ Handle UNORDERED if !HONOR_NANS.
+
+2019-11-20 Jan Hubicka <jh@suse.cz>
+
+ * ipa-inline.c (wrapper_heuristics_may_apply): Break out from ...
+ (edge_badness): ... here.
+ (inline_small_functions): Use monotonicity of badness calculation
+ to avoid redundant updates.
+
+2019-11-20 Richard Biener <rguenther@suse.de>
+
+ * tree-vect-slp.c (vect_analyze_slp_instance): Dump
+ constructors we are actually analyzing.
+ (vect_slp_check_for_constructors): Do not vectorize uniform
+ constuctors, do not dump here.
+
+2019-11-20 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/92537
+ * tree-vect-slp.c (vect_analyze_slp_instance): Move CTOR
+ vectorization validity check...
+ (vect_slp_analyze_operations): ... here.
+
+2019-11-20 Claudiu Zissulescu <claziss@synopsys.com>
+
+ * config/arc/arc-protos.h (make_pass_arc_ifcvt): Declare.
+ (make_pass_arc_predicate_delay_insns): Likewise.
+ * config/arc/arc.c (class pass_arc_ifcvt): Reformat text, add gate
+ method, remove clone.
+ (class pass_arc_predicate_delay_insns): Likewise.
+ (arc_init): Remove registering of ARC specific passes.
+ * config/arc/t-arc (PASSES_EXTRA): Add arc-passes.def.
+ * config/arc/arc-passes.def: New file.
+
+2019-11-20 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/90840
+ * expmed.c (store_bit_field_1): Handle the case where op0 is not a MEM
+ and has a mode that doesn't have corresponding integral type.
+
+ PR target/90867
+ * config/i386/i386-options.c (ix86_valid_target_attribute_tree): Don't
+ clear opts->x_ix86_isa_flags{,2} here...
+ (ix86_valid_target_attribute_inner_p): ... but here when seeing
+ arch=. Also clear opts->x_ix86_isa_flags{,2}_explicit.
+
+ PR c/90898
+ * tree-ssa-ccp.c (insert_clobber_before_stack_restore): Remove
+ assertion.
+ (insert_clobbers_for_var): Fix a typo in function comment.
+
+2019-11-20 Jiangning Liu <jiangning.liu@amperecomputing.com>
+ Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/91195
+ * tree-ssa-phiopt.c (cond_store_replacement): Move lhs unsharing
+ earlier. Set TREE_NO_WARNING on the rhs1 of the artificially added
+ load.
+
+2019-11-20 Georg-Johann Lay <avr@gjlay.de>
+
+ Make 0-series device specs work with older versions of avr-gcc.
+
+ PR target/92545
+ * config/avr/specs.h (LINK_SPEC) <%(link_pm_base_address)>: Remove.
+ * config/avr/gen-avr-mmcu-specs.c (print_mcu)
+ <*link_pm_base_address>: Don't write spec.
+ <*link_arch>: Add --defsym=__RODATA_PM_OFFSET__= as needed.
+
+2019-11-20 Richard Biener <rguenther@suse.de>
+
+ PR c/92088
+ * builtins.c (compute_objsize): Deal with VLAs.
+
+2019-11-19 Pat Haugen <pthaugen@us.ibm.com>
+
+ * config/rs6000/rs6000.c (move_to_end_of_ready): New, factored out
+ from common code.
+ (power6_sched_reorder2): Factored out from rs6000_sched_reorder2,
+ call new function.
+ (power9_sched_reorder2): Call new function.
+ (rs6000_sched_reorder2): Likewise.
+
+2019-11-18 Jan Hubicka <jh@suse.cz>
+
+ * ipa-fnsummary.c (estimate_edge_size_and_time): Drop parameter PROB.
+ (estimate_calls_size_and_time): Update.
+
+2019-11-18 Jan Hubicka <jh@suse.cz>
+
+ * ipa-inline.c (inlining_speedup): New function.
+ (edge_badness): Use it.
+
+2019-11-19 Zoran Jovanovic <zoran.jovanovic@mips.com>
+ Dragan Mladjenovic <dmladjenovic@wavecomp.com>
+
+ * config/mips/mips-msa.md (msa_<msabr>_<msafmt_f>, msa_<msabr>_v_<msafmt_f>):
+ Mark as not having "likely" version.
+ * config/mips/mips.md (insn_count): The simd_div instruction with
+ TARGET_CHECK_ZERO_DIV consists of 3 instructions.
+ (can_delay): Exclude simd_branch.
+ (defile_delay *): Add simd_branch instructions.
+ They have one regular delay slot.
+
+2019-11-19 Richard Sandiford <richard.sandiford@arm.com>
+
+ Revert:
+ 2019-11-18 Richard Sandiford <richard.sandiford@arm.com>
+
+ * cse.c (cse_insn): Delete no-op register moves too.
+ * simplify-rtx.c (comparison_to_mask): Handle unsigned comparisons.
+ Take a second comparison to control the value for NE.
+ (mask_to_comparison): Handle unsigned comparisons.
+ (simplify_logical_relational_operation): Likewise. Update call
+ to comparison_to_mask. Handle AND if !HONOR_NANs.
+ (simplify_binary_operation_1): Call the above for AND too.
+
+2019-11-19 Martin Liska <mliska@suse.cz>
+
+ * toplev.c (general_init): Move the call...
+ (toplev::main): ... here as we need init_options_struct
+ being called.
+
+2019-11-19 Wilco Dijkstra <wdijkstr@arm.com>
+
+ PR target/79262
+ * config/aarch64/aarch64.c (generic_vector_cost): Adjust
+ vec_to_scalar_cost.
+
+2019-11-19 Wilco Dijkstra <wdijkstr@arm.com>
+
+ * config/arm/arm-cpus.in (armv7): Set tune to Cortex-A53.
+ (armv7-a): Likewise.
+ (armv7ve): Likewise.
+
+2019-11-19 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/92581
+ * tree-vect-loop.c (vect_create_epilog_for_reduction): For
+ condition reduction chains gather all conditions involved
+ for computing the index reduction vector.
+
+2019-11-19 Dennis Zhang <dennis.zhang@arm.com>
+
+ * config/aarch64/aarch64-builtins.c (enum aarch64_builtins): Add
+ AARCH64_MEMTAG_BUILTIN_START, AARCH64_MEMTAG_BUILTIN_IRG,
+ AARCH64_MEMTAG_BUILTIN_GMI, AARCH64_MEMTAG_BUILTIN_SUBP,
+ AARCH64_MEMTAG_BUILTIN_INC_TAG, AARCH64_MEMTAG_BUILTIN_SET_TAG,
+ AARCH64_MEMTAG_BUILTIN_GET_TAG, and AARCH64_MEMTAG_BUILTIN_END.
+ (aarch64_init_memtag_builtins): New.
+ (AARCH64_INIT_MEMTAG_BUILTINS_DECL): New macro.
+ (aarch64_general_init_builtins): Call aarch64_init_memtag_builtins.
+ (aarch64_expand_builtin_memtag): New.
+ (aarch64_general_expand_builtin): Call aarch64_expand_builtin_memtag.
+ (AARCH64_BUILTIN_SUBCODE): New macro.
+ (aarch64_resolve_overloaded_memtag): New.
+ (aarch64_resolve_overloaded_builtin_general): New. Call
+ aarch64_resolve_overloaded_memtag to handle overloaded MTE builtins.
+ * config/aarch64/aarch64-c.c (aarch64_update_cpp_builtins): Define
+ __ARM_FEATURE_MEMORY_TAGGING when enabled.
+ (aarch64_resolve_overloaded_builtin): Call
+ aarch64_resolve_overloaded_builtin_general.
+ * config/aarch64/aarch64-protos.h
+ (aarch64_resolve_overloaded_builtin_general): New declaration.
+ * config/aarch64/aarch64.h (AARCH64_ISA_MEMTAG): New macro.
+ (TARGET_MEMTAG): Likewise.
+ * config/aarch64/aarch64.md (UNSPEC_GEN_TAG): New unspec.
+ (UNSPEC_GEN_TAG_RND, and UNSPEC_TAG_SPACE): Likewise.
+ (irg, gmi, subp, addg, ldg, stg): New instructions.
+ * config/aarch64/arm_acle.h (__arm_mte_create_random_tag): New macro.
+ (__arm_mte_exclude_tag, __arm_mte_ptrdiff): Likewise.
+ (__arm_mte_increment_tag, __arm_mte_set_tag): Likewise.
+ (__arm_mte_get_tag): Likewise.
+ * config/aarch64/predicates.md (aarch64_memtag_tag_offset): New.
+ (aarch64_granule16_uimm6, aarch64_granule16_simm9): New.
+ * config/arm/types.md (memtag): New.
+ * doc/invoke.texi (-memtag): Update description.
+
+2019-11-19 Richard Henderson <richard.henderson@linaro.org>
+
+ * config/arm/arm-c.c (arm_cpu_builtins): Use def_or_undef_macro
+ to define __GCC_ASM_FLAG_OUTPUTS__.
+ * config/arm/arm.c (thumb1_md_asm_adjust): New function.
+ (arm_option_params_internal): Swap out targetm.md_asm_adjust
+ depending on TARGET_THUMB1.
+ * doc/extend.texi (FlagOutputOperands): Document thumb1 restriction.
+
2019-11-19 Jakub Jelinek <jakub@redhat.com>
+ PR target/92549
+ * config/i386/i386.md (peephole2 for *swap<mode>): New peephole2.
+
PR middle-end/91450
* internal-fn.c (expand_mul_overflow): For s1 * s2 -> ur, if one
operand is negative and one non-negative, compare the non-negative