From fdcc0283c6fbae461214a011ac517443c81b0102 Mon Sep 17 00:00:00 2001 From: GCC Administrator Date: Fri, 11 Sep 2020 00:16:28 +0000 Subject: [PATCH] Daily bump. --- gcc/ChangeLog | 122 ++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/ada/ChangeLog | 16 ++++++ gcc/cp/ChangeLog | 30 ++++++++++ gcc/d/ChangeLog | 16 ++++++ gcc/testsuite/ChangeLog | 35 ++++++++++++ libcc1/ChangeLog | 4 ++ libphobos/ChangeLog | 22 ++++++++ libstdc++-v3/ChangeLog | 99 ++++++++++++++++++++++++++++++++ lto-plugin/ChangeLog | 5 ++ 10 files changed, 350 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 615c1a0e7fe..bc47d90254b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,125 @@ +2020-09-10 Michael Meissner + + * config/rs6000/rs6000-protos.h (rs6000_emit_cmove): Change return + type to bool. + (rs6000_emit_int_cmove): Change return type to bool. + * config/rs6000/rs6000.c (rs6000_emit_cmove): Change return type + to bool. + (rs6000_emit_int_cmove): Change return type to bool. + +2020-09-10 Tom de Vries + + PR target/97004 + * config/nvptx/nvptx.c (nvptx_assemble_value): Handle shift by + number of bits in shift operand. + +2020-09-10 Jakub Jelinek + + * lto-streamer-out.c (collect_block_tree_leafs): Recurse on + root rather than BLOCK_SUBBLOCKS (root). + +2020-09-10 Alex Coplan + + * config/aarch64/aarch64-cores.def: Add Cortex-R82. + * config/aarch64/aarch64-tune.md: Regenerate. + * doc/invoke.texi: Add entry for Cortex-R82. + +2020-09-10 Alex Coplan + + * common/config/aarch64/aarch64-common.c + (aarch64_get_extension_string_for_isa_flags): Don't force +crc for + Armv8-R. + * config/aarch64/aarch64-arches.def: Add entry for Armv8-R. + * config/aarch64/aarch64-c.c (aarch64_define_unconditional_macros): Set + __ARM_ARCH_PROFILE correctly for Armv8-R. + * config/aarch64/aarch64.h (AARCH64_FL_V8_R): New. + (AARCH64_FL_FOR_ARCH8_R): New. + (AARCH64_ISA_V8_R): New. + * doc/invoke.texi: Add Armv8-R to architecture table. + +2020-09-10 Jakub Jelinek + + * config/arm/arm.c (arm_override_options_after_change_1): Add opts_set + argument, test opts_set->x_str_align_functions rather than + opts->x_str_align_functions. + (arm_override_options_after_change, arm_option_override_internal, + arm_set_current_function): Adjust callers. + +2020-09-10 Jakub Jelinek + + PR target/96939 + * config/arm/arm.c (arm_override_options_after_change): Don't call + arm_configure_build_target here. + (arm_set_current_function): Call arm_override_options_after_change_1 + at the end. + +2020-09-10 Pat Haugen + + * config/rs6000/rs6000.md + (lfiwzx, floatunssi2_lfiwzx, p8_mtvsrwz, p8_mtvsrd_sf): Fix insn + type. + * config/rs6000/vsx.md + (vsx_concat_, vsx_splat__reg, vsx_splat_v4sf): Likewise. + +2020-09-10 Jonathan Yong <10walls@gmail.com> + + * config.host: Adjust plugin name for Windows. + +2020-09-10 Tom de Vries + + PR tree-optimization/97000 + * tree-cfgcleanup.c (cleanup_call_ctrl_altering_flag): Don't clear + flag for IFN_UNIQUE. + +2020-09-10 Jakub Jelinek + + PR debug/93865 + * lto-streamer.h (struct output_block): Add emit_pwd member. + * lto-streamer-out.c: Include toplev.h. + (clear_line_info): Set emit_pwd. + (lto_output_location_1): Encode the ob->current_file != xloc.file + bit directly into the location number. If changing file, emit + additionally a bit whether pwd is emitted and emit it before the + first relative pathname since clear_line_info. + (output_function, output_constructor): Don't call clear_line_info + here. + * lto-streamer-in.c (struct string_pair_map): New type. + (struct string_pair_map_hasher): New type. + (string_pair_map_hasher::hash): New method. + (string_pair_map_hasher::equal): New method. + (path_name_pair_hash_table, string_pair_map_allocator): New variables. + (relative_path_prefix, canon_relative_path_prefix, + canon_relative_file_name): New functions. + (canon_file_name): Add relative_prefix argument, if non-NULL + and string is a relative path, return canon_relative_file_name. + (lto_location_cache::input_location_and_block): Decode file change + bit from the location number. If changing file, unpack bit whether + pwd is streamed and stream in pwd. Adjust canon_file_name caller. + (lto_free_file_name_hash): Delete path_name_pair_hash_table + and string_pair_map_allocator. + +2020-09-10 Richard Biener + + PR tree-optimization/96043 + * tree-vectorizer.h (_slp_instance::cost_vec): New. + (_slp_instance::subgraph_entries): Likewise. + (BB_VINFO_TARGET_COST_DATA): Remove. + * tree-vect-slp.c (vect_free_slp_instance): Free + cost_vec and subgraph_entries. + (vect_analyze_slp_instance): Initialize them. + (vect_slp_analyze_operations): Defer passing costs to + the target, instead record them in the SLP graph entry. + (get_ultimate_leader): New helper for graph partitioning. + (vect_bb_partition_graph_r): Likewise. + (vect_bb_partition_graph): New function to partition the + SLP graph into independently costable parts. + (vect_bb_vectorization_profitable_p): Adjust to work on + a subgraph. + (vect_bb_vectorization_profitable_p): New wrapper, + discarding non-profitable vectorization of subgraphs. + (vect_slp_analyze_bb_1): Call vect_bb_partition_graph before + costing. + 2020-09-09 David Malcolm PR analyzer/94355 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 18b8812ec43..15fb79cba7d 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20200910 +20200911 diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index df967c5dec1..f945ae883bc 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,19 @@ +2020-09-10 Eric Botcazou + + * gcc-interface/decl.c (set_rm_size): Do not take into account the + Value_Size clause if it is not for the entity itself. + +2020-09-10 Eric Botcazou + + * gcc-interface/decl.c (build_subst_list): For a definition, make + sure to instantiate the SAVE_EXPRs generated by the elaboration of + the constraints in front of the elaboration of the type itself. + +2020-09-10 Eric Botcazou + + * gcc-interface/misc.c: Include tree-pass.h. + (internal_error_function): Call emergency_dump_function. + 2020-09-03 Arnaud Charlet * fe.h, opt.ads (Enable_128bit_Types): New. diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 5a7f9217b11..b1b9e27b74d 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,33 @@ +2020-09-10 Nathan Sidwell + + * cp-tree.h (TINFO_VAR_DECLARED_CONSTINIT): Replace with ... + (DECL_DECLARED_CONSTINIT_P): ... this. + * decl.c (start_decl): No need to retrofit_lang_decl for constinit + flag. + (cp_finish_decl): Use DECL_DECLARED_CONSTINIT_P. + * pt.c (tsubst_decl): No need to handle constinit flag + propagation. + (tsubst_expr): Or here. + +2020-09-10 Nathan Sidwell + + * cp-tree.h (DECL_LOCAL_FUNCTION_P): Rename to ... + (DECL_LOCAL_DECL_P): ... here. Accept both fns and vars. + * decl.c (start_decl): Set DECL_LOCAL_DECL_P for local externs. + (omp_declare_variant_finalize_one): Use DECL_LOCAL_DECL_P. + (local_variable_p): Simplify. + * name-lookup.c (set_decl_context_in_fn): Assert DECL_LOCAL_DECL_P + is as expected. Simplify. + (do_pushdecl): Don't set decl_context_in_fn for friends. + (is_local_extern): Simplify. + * call.c (equal_functions): Use DECL_LOCAL_DECL_P. + * parser.c (cp_parser_postfix_expression): Likewise. + (cp_parser_omp_declare_reduction): Likewise. + * pt.c (check_default_tmpl_args): Likewise. + (tsubst_expr): Assert nested reduction function is local. + (type_dependent_expression_p): Use DECL_LOCAL_DECL_P. + * semantics.c (finish_call_expr): Likewise. + 2020-09-09 Marek Polacek PR c++/77841 diff --git a/gcc/d/ChangeLog b/gcc/d/ChangeLog index f4c39250a6b..7487d4edb3a 100644 --- a/gcc/d/ChangeLog +++ b/gcc/d/ChangeLog @@ -1,3 +1,19 @@ +2020-09-10 Iain Buclaw + + * lang.opt (Waddress): Enable warning by -Wextra. + (Wcast-result): Likewise. + (Wunknown-pragmas): Likewise. + +2020-09-10 Iain Buclaw + + * decl.cc (DeclVisitor::visit (VarDeclaration *)): Don't warn about + variables initialized with 'void'. + +2020-09-10 Iain Buclaw + + * d-convert.cc (convert_expr): Warn when casting from a D class to a + C++ class. + 2020-09-04 Iain Buclaw PR d/96924 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 1e7e691cb0a..7e5d32be0fc 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,38 @@ +2020-09-10 Alex Coplan + + * gcc.target/aarch64/acle/armv8-r.c: New test. + +2020-09-10 Iain Buclaw + + * gdc.dg/Waddress.d: New test. + * gdc.dg/Wcastresult1.d: New test. + * gdc.dg/Wcastresult2.d: New test. + +2020-09-10 Eric Botcazou + + * gnat.dg/specs/size_clause5.ads: New test. + +2020-09-10 Eric Botcazou + + * gnat.dg/discr59.adb: New test. + * gnat.dg/discr59_pkg1.ads: New helper. + * gnat.dg/discr59_pkg2.ads: Likewise. + +2020-09-10 Jakub Jelinek + + PR target/96939 + * gcc.target/arm/lto/pr96939_0.c: New test. + * gcc.target/arm/lto/pr96939_1.c: New file. + +2020-09-10 Tom de Vries + + * gcc.dg/analyzer/vla-1.c: Add require-effective-target alloca. + +2020-09-10 Richard Biener + + PR tree-optimization/96043 + * gcc.dg/vect/costmodel/x86_64/costmodel-pr69297.c: Adjust. + 2020-09-09 Marek Polacek PR c++/77841 diff --git a/libcc1/ChangeLog b/libcc1/ChangeLog index fbf238eb8bc..381a823a577 100644 --- a/libcc1/ChangeLog +++ b/libcc1/ChangeLog @@ -1,3 +1,7 @@ +2020-09-10 Nathan Sidwell + + * libcp1plugin.cc (plugin_build_call_expr): Use DECL_LOCAL_DECL_P. + 2020-08-14 Nathan Sidwell * libcp1plugin.cc (plugin_build_dependent_expr): Rename diff --git a/libphobos/ChangeLog b/libphobos/ChangeLog index 07ccdc78d55..d8c9914e0b5 100644 --- a/libphobos/ChangeLog +++ b/libphobos/ChangeLog @@ -1,3 +1,25 @@ +2020-09-10 Iain Buclaw + + PR d/95680 + PR d/97007 + * Makefile.am (AM_MAKEFLAGS): Remove $(CET_FLAGS). + * Makefile.in: Regenerate. + * configure: Regenerate. + * configure.ac (DCFG_ENABLE_CET): Remove substitution. + (CET_DFLAGS): Substitute. + * libdruntime/Makefile.am (AM_DFLAGS): Add $(CET_DFLAGS). + (AM_CFLAGS): Add $(CET_FLAGS). + (AM_CCASFLAGS): Likewise. + * libdruntime/Makefile.in: Regenerate. + * libdruntime/core/thread.d: Replace static if GNU_Enable_CET + condition with `version (CET)'. + * libdruntime/gcc/config.d.in (GNU_Enable_CET): Remove. + * src/Makefile.am (AM_DFLAGS): Add $(CET_DFLAGS). + (AM_CFLAGS): Add $(CET_FLAGS). + * src/Makefile.in: Regenerate. + * testsuite/Makefile.in: Regenerate. + * testsuite/testsuite_flags.in: Add $(CET_DFLAGS) to --gdcflags. + 2020-09-09 H.J. Lu PR d/95680 diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index db46c407d6e..717e227a883 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,102 @@ +2020-09-10 Jonathan Wakely + + * include/bits/locale_conv.h (__do_str_codecvt, __str_codecvt_in_all): + Add casts to compare types of the same signedness. + +2020-09-10 Jonathan Wakely + + * include/bits/ranges_algobase.h (__equal_fn): Remove unused + typedef. + +2020-09-10 Jonathan Wakely + + * include/std/version (__cpp_lib_array_constexpr): + (__cpp_lib_constexpr_char_traits): Only define C++17 value when + compiling C++17. + +2020-09-10 Jonathan Wakely + + * include/experimental/bits/shared_ptr.h (shared_ptr(auto_ptr&&)) + (operator=(auto_ptr&&)): Add diagnostic pragmas to suppress + warnings for uses of std::auto_ptr. + * include/experimental/type_traits (is_literal_type_v): + Likewise, for use of std::is_literal_type. + * include/std/condition_variable (condition_variable_any::_Unlock): + Likewise, for use of std::uncaught_exception. + +2020-09-10 Jonathan Wakely + + * include/bits/fs_path.h (path::_List::type()): Avoid narrowing + conversion. + * include/std/chrono (operator+(const year&, const years&)): + Likewise. + +2020-09-10 Jonathan Wakely + + * include/bits/codecvt.h (codecvt_byname): Remove names of + unused parameters. + +2020-09-10 Jonathan Wakely + + * include/bits/locale_facets_nonio.tcc: Adjust whitespace. + +2020-09-10 Krystian Kuźniarek + + * include/c_global/cmath (__lerp): Avoid -Wparentheses warnings. + +2020-09-10 Krystian Kuźniarek + + * include/bits/atomic_base.h: Fix -Wunused-variable + warnings. + * include/ext/new_allocator.h: Fix -Wunused-parameter + warnings. + +2020-09-10 Jonathan Wakely + + * include/bits/stl_iterator.h (counted_iterator): Add assertions + to check preconditions added by LWG 3472. + +2020-09-10 Jonathan Wakely + + PR libstdc++/94160 + * src/c++17/memory_resource.cc (munge_options): Round + max_blocks_per_chunk to a multiple of four. + (__pool_resource::_M_alloc_pools()): Simplify slightly. + * testsuite/20_util/unsynchronized_pool_resource/allocate.cc: + Check that valid pointers are returned when small values are + used for max_blocks_per_chunk. + +2020-09-10 Jonathan Wakely + + PR libstdc++/96942 + * include/std/memory_resource (monotonic_buffer_resource::do_allocate): + Use __builtin_expect when checking if a new buffer needs to be + allocated from the upstream resource, and for checks for edge + cases like zero sized buffers and allocations. + * src/c++17/memory_resource.cc (aligned_size): New class template. + (aligned_ceil): New helper function to round up to a given + alignment. + (monotonic_buffer_resource::chunk): Replace _M_size and _M_align + with an aligned_size member. Remove _M_canary member. Change _M_next + to pointer instead of unaligned buffer. + (monotonic_buffer_resource::chunk::allocate): Round up to multiple + of 64 instead of to power of two. Check for size overflow. Remove + redundant check for minimum required alignment. + (monotonic_buffer_resource::chunk::release): Adjust for changes + to data members. + (monotonic_buffer_resource::_M_new_buffer): Use aligned_ceil. + (big_block): Replace _M_size and _M_align with aligned_size + member. + (big_block::big_block): Check for size overflow. + (big_block::size, big_block::align): Adjust to use aligned_size. + (big_block::alloc_size): Use aligned_ceil. + (munge_options): Use aligned_ceil. + (__pool_resource::allocate): Use big_block::align for alignment. + * testsuite/20_util/monotonic_buffer_resource/allocate.cc: Check + upstream resource gets expected values for impossible sizes. + * testsuite/20_util/unsynchronized_pool_resource/allocate.cc: + Likewise. Adjust checks for expected alignment in existing test. + 2020-09-07 Jonathan Wakely * include/std/chrono (duration::_S_gcd): Use invariant that diff --git a/lto-plugin/ChangeLog b/lto-plugin/ChangeLog index f2568a9a1b1..4f285ce0c3e 100644 --- a/lto-plugin/ChangeLog +++ b/lto-plugin/ChangeLog @@ -1,3 +1,8 @@ +2020-09-10 Jonathan Yong <10walls@gmail.com> + + * Makefile.am: drop versioning from libtool completely. + * Makefile.in: regenerate. + 2020-09-09 Nick Clifton * lto-plugin.c (struct plugin_symtab): Add last_sym field. -- 2.30.2