diff options
-rw-r--r-- | gcc/ChangeLog | 122 | ||||
-rw-r--r-- | gcc/DATESTAMP | 2 | ||||
-rw-r--r-- | gcc/ada/ChangeLog | 16 | ||||
-rw-r--r-- | gcc/cp/ChangeLog | 30 | ||||
-rw-r--r-- | gcc/d/ChangeLog | 16 | ||||
-rw-r--r-- | gcc/testsuite/ChangeLog | 35 | ||||
-rw-r--r-- | libcc1/ChangeLog | 4 | ||||
-rw-r--r-- | libphobos/ChangeLog | 22 | ||||
-rw-r--r-- | libstdc++-v3/ChangeLog | 99 | ||||
-rw-r--r-- | lto-plugin/ChangeLog | 5 |
10 files changed, 350 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 615c1a0..bc47d90 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,125 @@ +2020-09-10 Michael Meissner <meissner@linux.ibm.com> + + * 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 <tdevries@suse.de> + + PR target/97004 + * config/nvptx/nvptx.c (nvptx_assemble_value): Handle shift by + number of bits in shift operand. + +2020-09-10 Jakub Jelinek <jakub@redhat.com> + + * lto-streamer-out.c (collect_block_tree_leafs): Recurse on + root rather than BLOCK_SUBBLOCKS (root). + +2020-09-10 Alex Coplan <alex.coplan@arm.com> + + * 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 <alex.coplan@arm.com> + + * 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 <jakub@redhat.com> + + * 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 <jakub@redhat.com> + + 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 <pthaugen@linux.ibm.com> + + * config/rs6000/rs6000.md + (lfiwzx, floatunssi<mode>2_lfiwzx, p8_mtvsrwz, p8_mtvsrd_sf): Fix insn + type. + * config/rs6000/vsx.md + (vsx_concat_<mode>, vsx_splat_<mode>_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 <tdevries@suse.de> + + PR tree-optimization/97000 + * tree-cfgcleanup.c (cleanup_call_ctrl_altering_flag): Don't clear + flag for IFN_UNIQUE. + +2020-09-10 Jakub Jelinek <jakub@redhat.com> + + 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 <rguenther@suse.de> + + 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 <dmalcolm@redhat.com> PR analyzer/94355 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 18b8812..15fb79c 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20200910 +20200911 diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index df967c5..f945ae8 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,19 @@ +2020-09-10 Eric Botcazou <ebotcazou@gcc.gnu.org> + + * 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 <ebotcazou@gcc.gnu.org> + + * 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 <ebotcazou@gcc.gnu.org> + + * gcc-interface/misc.c: Include tree-pass.h. + (internal_error_function): Call emergency_dump_function. + 2020-09-03 Arnaud Charlet <charlet@adacore.com> * fe.h, opt.ads (Enable_128bit_Types): New. diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 5a7f921..b1b9e27 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,33 @@ +2020-09-10 Nathan Sidwell <nathan@acm.org> + + * 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 <nathan@acm.org> + + * 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 <polacek@redhat.com> PR c++/77841 diff --git a/gcc/d/ChangeLog b/gcc/d/ChangeLog index f4c3925..7487d4e 100644 --- a/gcc/d/ChangeLog +++ b/gcc/d/ChangeLog @@ -1,3 +1,19 @@ +2020-09-10 Iain Buclaw <ibuclaw@gdcproject.org> + + * lang.opt (Waddress): Enable warning by -Wextra. + (Wcast-result): Likewise. + (Wunknown-pragmas): Likewise. + +2020-09-10 Iain Buclaw <ibuclaw@gdcproject.org> + + * decl.cc (DeclVisitor::visit (VarDeclaration *)): Don't warn about + variables initialized with 'void'. + +2020-09-10 Iain Buclaw <ibuclaw@gdcproject.org> + + * d-convert.cc (convert_expr): Warn when casting from a D class to a + C++ class. + 2020-09-04 Iain Buclaw <ibuclaw@gdcproject.org> PR d/96924 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 1e7e691..7e5d32b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,38 @@ +2020-09-10 Alex Coplan <alex.coplan@arm.com> + + * gcc.target/aarch64/acle/armv8-r.c: New test. + +2020-09-10 Iain Buclaw <ibuclaw@gdcproject.org> + + * gdc.dg/Waddress.d: New test. + * gdc.dg/Wcastresult1.d: New test. + * gdc.dg/Wcastresult2.d: New test. + +2020-09-10 Eric Botcazou <ebotcazou@gcc.gnu.org> + + * gnat.dg/specs/size_clause5.ads: New test. + +2020-09-10 Eric Botcazou <ebotcazou@gcc.gnu.org> + + * gnat.dg/discr59.adb: New test. + * gnat.dg/discr59_pkg1.ads: New helper. + * gnat.dg/discr59_pkg2.ads: Likewise. + +2020-09-10 Jakub Jelinek <jakub@redhat.com> + + 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 <tdevries@suse.de> + + * gcc.dg/analyzer/vla-1.c: Add require-effective-target alloca. + +2020-09-10 Richard Biener <rguenther@suse.de> + + PR tree-optimization/96043 + * gcc.dg/vect/costmodel/x86_64/costmodel-pr69297.c: Adjust. + 2020-09-09 Marek Polacek <polacek@redhat.com> PR c++/77841 diff --git a/libcc1/ChangeLog b/libcc1/ChangeLog index fbf238e..381a823 100644 --- a/libcc1/ChangeLog +++ b/libcc1/ChangeLog @@ -1,3 +1,7 @@ +2020-09-10 Nathan Sidwell <nathan@acm.org> + + * libcp1plugin.cc (plugin_build_call_expr): Use DECL_LOCAL_DECL_P. + 2020-08-14 Nathan Sidwell <nathan@acm.org> * libcp1plugin.cc (plugin_build_dependent_expr): Rename diff --git a/libphobos/ChangeLog b/libphobos/ChangeLog index 07ccdc7..d8c9914 100644 --- a/libphobos/ChangeLog +++ b/libphobos/ChangeLog @@ -1,3 +1,25 @@ +2020-09-10 Iain Buclaw <ibuclaw@gdcproject.org> + + 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 <hjl.tools@gmail.com> PR d/95680 diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index db46c40..717e227 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,102 @@ +2020-09-10 Jonathan Wakely <jwakely@redhat.com> + + * 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 <jwakely@redhat.com> + + * include/bits/ranges_algobase.h (__equal_fn): Remove unused + typedef. + +2020-09-10 Jonathan Wakely <jwakely@redhat.com> + + * 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 <jwakely@redhat.com> + + * 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 <jwakely@redhat.com> + + * 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 <jwakely@redhat.com> + + * include/bits/codecvt.h (codecvt_byname): Remove names of + unused parameters. + +2020-09-10 Jonathan Wakely <jwakely@redhat.com> + + * include/bits/locale_facets_nonio.tcc: Adjust whitespace. + +2020-09-10 Krystian Kuźniarek <krystian.kuzniarek@gmail.com> + + * include/c_global/cmath (__lerp): Avoid -Wparentheses warnings. + +2020-09-10 Krystian Kuźniarek <krystian.kuzniarek@gmail.com> + + * include/bits/atomic_base.h: Fix -Wunused-variable + warnings. + * include/ext/new_allocator.h: Fix -Wunused-parameter + warnings. + +2020-09-10 Jonathan Wakely <jwakely@redhat.com> + + * include/bits/stl_iterator.h (counted_iterator): Add assertions + to check preconditions added by LWG 3472. + +2020-09-10 Jonathan Wakely <jwakely@redhat.com> + + 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 <jwakely@redhat.com> + + 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 <jwakely@redhat.com> * include/std/chrono (duration::_S_gcd): Use invariant that diff --git a/lto-plugin/ChangeLog b/lto-plugin/ChangeLog index f2568a9..4f285ce0 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 <nickc@redhat.com> * lto-plugin.c (struct plugin_symtab): Add last_sym field. |