From: GCC Administrator Date: Fri, 11 Dec 2020 18:22:52 +0000 (+0000) Subject: Daily bump. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=35af87784e02c8c89f020092d91858fe066788f0;p=gcc.git Daily bump. --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f986deed3d0..277eaaffd24 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,243 @@ +2020-12-11 Christophe Lyon + + * config/arm/iterators.md (VDQ): Remove TARGET_HAVE_MVE + conditions. + * config/arm/vec-common.md (and3): Use + ARM_HAVE__ARITH. + (ior3): Likewise. + +2020-12-11 Claudiu Zissulescu + + * config/arc/arc.c (arc_active_insn): Ignore all non essential + instructions when getting the next active instruction. + (check_store_cacheline_hazard): Update. + (workaround_arc_anomaly): Remove obsolete cache hazard code. + +2020-12-11 Claudiu Zissulescu + + * config/arc/arc.c (arc_reorg): Avoid limm in BRcc. + +2020-12-11 Claudiu Zissulescu + + * config/arc/arc-protos.h (arc_scheduling_not_expected): Remove + it. + (arc_sets_cc_p): Likewise. + (arc_need_delay): Likewise. + * config/arc/arc.c (arc_sets_cc_p): Likewise. + (arc_need_delay): Likewise. + (arc_scheduling_not_expected): Likewise. + * config/arc/arc.md: Convert adc/sbc patterns to simple + instruction definitions. + +2020-12-11 Christophe Lyon + + * config/arm/iterators.md (supf): Remove VORRQ_S and VORRQ_U. + (VORRQ): Remove. + * config/arm/mve.md (mve_vorrq_s): New entry for vorr + instruction using expression ior. + (mve_vorrq_u): New expander. + (mve_vorrq_f): Use ior code instead of unspec. + * config/arm/neon.md (ior3): Renamed into ior3_neon. + * config/arm/predicates.md (imm_for_neon_logic_operand): Enable + for MVE. + * config/arm/unspecs.md (VORRQ_S, VORRQ_U, VORRQ_F): Remove. + * config/arm/vec-common.md (ior3): New expander. + +2020-12-11 Claudiu Zissulescu + + * config/arc/arc.md (mpyd_arcv2hs): New template + pattern. + (*pmpyd_arcv2hs): Likewise. + (*pmpyd_imm_arcv2hs): Likewise. + (mpyd_arcv2hs): Moved into above template. + (mpyd_imm_arcv2hs): Moved into above template. + (mpydu_arcv2hs): Likewise. + (mpydu_imm_arcv2hs): Likewise. + (su_optab): New optab prefix for sign/zero-extending operations. + +2020-12-11 H.J. Lu + + PR target/98219 + * config/i386/uintrintrin.h (__uintr_frame): Remove uirrv. + +2020-12-11 Andrea Corallo + + * doc/sourcebuild.texi (arm_softfloat): Improve documentation. + +2020-12-11 Jakub Jelinek + + PR rtl-optimization/98229 + * optabs.c (expand_doubleword_mod): Canonicalize op1 and + 1 - INTVAL (op1) as word_mode constants when used in + word_mode arithmetics. + +2020-12-11 Richard Biener + + PR tree-optimization/98235 + * tree-vect-slp.c (vect_build_slp_tree): Exchange npermutes + for limit. Decrement that for each cache miss and fail + discovery when it reaches zero. + (vect_build_slp_tree_2): Remove npermutes handling and + simply pass down limit. + (vect_build_slp_instance): Use pass down limit. + (vect_analyze_slp_instance): Likewise. + (vect_analyze_slp): Base the SLP discovery limit on + max_tree_size and pass it down. + +2020-12-11 Jakub Jelinek + + PR middle-end/98190 + * expr.c (expand_assignment): If to_rtx is a promoted SUBREG, + ensure sign or zero extension either through use of store_expr + or by extending manually. + +2020-12-11 Andrea Corallo + + PR rtl-optimization/97092 + * ira-color.c (update_costs_from_allocno): Do not carry over mode + between subsequent iterations. + +2020-12-11 Richard Biener + + PR tree-optimization/95582 + * tree-vect-patterns.c (vect_recog_bool_pattern): Check + for VECT_SCALAR_BOOLEAN_TYPE_P, not just precision one. + +2020-12-11 Hongyu + + * common/config/i386/cpuinfo.h (get_available_features): + Move check for HRESET/AVX_VNNI/UINTR out of avx512_usable. + +2020-12-10 Jakub Jelinek + + PR rtl-optimization/98212 + * dojump.c (do_compare_rtx_and_jump): Change computation of + first_prob for and_them. Add comment explaining and_them case. + +2020-12-10 Andrew MacLeod + + PR tree-optimization/98174 + * gimple-range-cache.cc (ranger_cache::ssa_range_in_bb): Only push + poor values to be examined if it isn't a pure global. + (ranger_cache::block_range): Don't process pure globals. + (ranger_cache::fill_block_cache): Adjust has_edge_range call. + * gimple-range-gori.cc (gori_map::all_outgoing): New bitmap. + (gori_map::gori_map): Allocate all_outgoing. + (gori_map::is_export_p): No specified BB returns global context. + (gori_map::calculate_gori): Accumulate each block into global. + (gori_compute::gori_compute): Preprocess each block for exports. + (gori_compute::has_edge_range_p): No edge returns global context. + * gimple-range-gori.h (has_edge_range_p): Provide default parameter. + +2020-12-10 Eric Botcazou + + * dwarf2out.c (loc_list_from_tree_1) : Deal with + a nested context type + +2020-12-10 Bernd Edlinger + + * cfgexpand.c (expand_gimple_basic_block): Remove special handling + of debug_inline_entries without block info. + * tree-inline.c (remap_gimple_stmt): Drop debug_nonbind_markers when + the call statement has no block info. + (copy_debug_stmt): Remove debug_nonbind_markers when inlining + and the block info is mapped to NULL. + * tree-ssa-live.c (clear_unused_block_pointer): Remove + debug_nonbind_markers originating from removed inline functions. + +2020-12-10 Richard Biener + + * tree-vect-stmts.c (vectorizable_assignment): Remove special + allowance of VECTOR_BOOLEAN_TYPE_P conversions. + +2020-12-10 Christophe Lyon + + * config/arm/iterators.md (supf): Remove VANDQ_S and VANDQ_U. + (VANQ): Remove. + (VDQ): Add TARGET_HAVE_MVE condition where relevant. + * config/arm/mve.md (mve_vandq_u): New entry for vand + instruction using expression 'and'. + (mve_vandq_s): New expander. + (mve_vaddq_n_f): Use 'and' code instead of unspec. + * config/arm/neon.md (and3): Rename into and3_neon. + * config/arm/predicates.md (imm_for_neon_inv_logic_operand): + Enable for MVE. + * config/arm/unspecs.md (VANDQ_S, VANDQ_U, VANDQ_F): Remove. + * config/arm/vec-common.md (and3): New expander. + +2020-12-10 Richard Sandiford + + PR tree-optimization/98069 + * tree-data-ref.c (compute_distributive_range): New function. + (nop_conversion_for_offset_p): Likewise. + (split_constant_offset): In the internal overload, treat integer + expressions as having an implicit cast to sizetype and express + them accordingly. Pass back the range of the original (uncast) + expression in a new range parameter. + (split_constant_offset_1): Likewise. Rework the handling of + conversions to account for the implicit sizetype casts. + +2020-12-10 Joel Hutton + + PR tree-optimization/97929 + * tree-vect-data-refs.c (vect_get_smallest_scalar_type): Add + WIDEN_PLUS/WIDEN_MINUS case. + +2020-12-10 Joel Hutton + + * tree-pretty-print.c (dump_generic_node): Add case for + VEC_WIDEN_(PLUS/MINUS)_(HI/LO)_EXPR and WIDEN_(PLUS/MINUS)_EXPR. + +2020-12-10 Richard Biener + + PR tree-optimization/98211 + * tree-vect-stmts.c (vectorizable_assignment): Disallow + invalid conversions to bool vector types. + +2020-12-10 Alexandre Oliva + + * tree.c (build_common_builtin_nodes): Drop __builtin_ from + __clear_cache libname. + +2020-12-10 Jakub Jelinek + + PR rtl-optimization/98212 + * dojump.c (do_compare_rtx_and_jump): When splitting NE and backend + can do UNEQ, prefer splitting x != y into x unord y || !(x uneq y) + instead of into x unord y || x ltgt y. + +2020-12-10 Jakub Jelinek + + PR tree-optimization/98169 + * dojump.c (do_compare_rtx_and_jump): Don't split self-EQ/NE + comparisons, just use ORDERED or UNORDERED. + +2020-12-10 Jakub Jelinek + + PR middle-end/98205 + * omp-expand.c (expand_omp_for_generic): Fix up broken_loop handling. + +2020-12-10 Richard Biener + + * tree-vect-slp.c (vect_get_and_check_slp_defs): Do + not mark the defs to occur in a pattern if it is the + pattern root and record the original stmt defs in that + case. + +2020-12-10 Simon Cook + + * config/riscv/multilib-generator (arch_canonicalize): Invoke + python interpreter when calling arch-canonicalize script. + +2020-12-10 Nikhil Benesch + + * godump.c (go_format_type): Don't consider whether a type has + been seen when determining whether to output a type by name. + Consider only the use_type_name parameter. + (go_output_typedef): When outputting a typedef, format the + declaration's original type, which contains the name of the + underlying type rather than the name of the typedef. + 2020-12-09 Jakub Jelinek PR bootstrap/98188 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 9320aaa99a8..77ef0ead526 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20201210 +20201211 diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index f404b3673a4..23a5d4b01f3 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,9 @@ +2020-12-10 Ed Schonberg + + PR ada/98230 + * exp_attr.adb (Expand_N_Attribute_Reference, case Mod): Use base + type of argument to obtain static bound and required size. + 2020-12-07 Eric Botcazou * gcc-interface/Make-lang.in: Remove ^L characters. diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index ce97c8553f9..353308efddc 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,133 @@ +2020-12-11 Nathan Sidwell + + * cp-tree.h (map_context_from, map_context_to): Declare. + * module.cc (map_context_from, map_context_to): Define. + * tree.c (cp_tree_equal): Check map_context_{from,to} for parm + context difference. Allow NON_LVALUE_EXPR and VIEW_CONVERT_EXPR + with null types. + +2020-12-11 Nathan Sidwell + + * cp-lang.c (LANG_HOOKS_PREPROCESS_MAIN_FILE): Override. + (LANG_HOOKS_PREPROCESS_OPTIONS): Override. + (LANG_HOOKS_PREPROCESS_TOKEN): Override. + * cp-objcp-common.c (cp_register_dumps): Add module dump. + (cp_handle_option): New. + * cp-objcp-common.h (cp_handle_option): Declare. + (LANG_HOOKS_HANDLE_OPTION): Override. + * cp-tree.h (module_dump_id): Declare. + * module.cc (module_dump_id): Define. + (module_begin_main_file, handle_module_option) + (module_preproces_options): Stubs. + +2020-12-11 Nathan Sidwell + + * module.cc (lazy_specializations_p): Stub. + * name-lookup.h (append_imported_binding_slot) + (mergeable_namespacE_slots, lookup_class_binding) + (walk_module_binding, import_module_binding, set_module_binding) + (note_pending_specializations, load_pending_specializations) + (add_module_decl, add_imported_namespace): Declare. + (get_cxx_dialect_name): Declare. + (enum WMB_flags): New. + * name-lookup.c (append_imported_binding_slot) + (mergeable_namespacE_slots, lookup_class_binding) + (walk_module_binding, import_module_binding, set_module_binding) + (note_pending_specializations, load_pending_specializations) + (add_module_decl, add_imported_namespace): New. + (get_cxx_dialect_name): Make extern. + +2020-12-11 Patrick Palka + + PR c++/78173 + * typeck.c (pointer_diff): Use complete_type_or_maybe_complain + instead of complete_type_or_else. + +2020-12-10 Jason Merrill + + * cp-tree.h (struct type_identity): New. + (make_temp_override): New. + * decl.c (grokdeclarator): Use it. + * except.c (maybe_noexcept_warning): Use it. + * parser.c (cp_parser_enum_specifier): Use it. + (cp_parser_parameter_declaration_clause): Use it. + (cp_parser_gnu_attributes_opt): Use it. + (cp_parser_std_attribute): Use it. + +2020-12-10 Nathan Sidwell + + * name-lookup.c (do_nonmember_using_decl): Add INSERT_P parm. + Deal with exporting using decls. + (finish_nonmember_using_decl): Examine BINDING_VECTOR. + +2020-12-10 Nathan Sidwell + + * cp-tree.h (visible_instantiation_path): Renamed. + * module.cc (get_originating_module_decl, lazy_load_binding) + (lazy_load_members, visible_instantiation_path): Stubs. + * name-lookup.c (STAT_TYPE_VISIBLE_P, STAT_VISIBLE): New. + (search_imported_binding_slot, init_global_partition) + (get_fixed_binding_slot): New. + (name_lookup::process_module_binding): New. + (name_lookup::search_namespace_only): Search BINDING_VECTOR. + (name_lookup::adl_namespace_fns): Likewise. + (name_lookip::search_adl): Search visible instantiation path. + (maybe_lazily_declare): Maybe lazy load members. + (implicitly_exporT_namespace): New. + (maybe_record_mergeable_decl): New. + (check_module_override): New. + (do_pushdecl): Deal with BINDING_VECTOR, check override. + (add_mergeable_namespace_entity): New. + (get_namespace_binding): Deal with BINDING_VECTOR. + (do_namespace_alias): Call set_originating_module. + (lookup_elaborated_type_1): Deal with BINDING_VECTOR. + (do_pushtag): Call set_originating_module. + (reuse_namespace): New. + (make_namespace_finish): Add FROM_IMPORT parm. + (push_namespace): Deal with BINDING_VECTOR & namespace reuse. + (maybe_save_operator_binding): Save when module CMI in play. + * name-lookup.h (add_mergeable_namespace_entity): Declare. + +2020-12-10 Nathan Sidwell + + * name-lookup.c: Include bitmap.h. + (enum binding_slots): New. + (maybe_add_fuzzy_binding): Return bool true if found. + (consider_binding_level): Add module support. + * module.cc (get_import_bitmap): Stub. + +2020-12-10 Nathan Sidwell + + * name-lookup.c (pop_local_binding): Check for IDENTIFIER_ANON_P. + (update_binding): Level may be null, don't add namespaces to + level. + (newbinding_bookkeeping): New, broken out of ... + (do_pushdecl): ... here, call it. Don't push anonymous decls. + (pushdecl, add_using_namespace): Correct comments. + (do_push_nested_namespace): Remove assert. + (make_namespace, make_namespace_finish): New, broken out of ... + (push_namespace): ... here. Call them. Add namespace to level + here. + +2020-12-10 Nathan Sidwell + + * error.c (dump_module_suffix): New. + (dump_aggr_type, dump_simple_decl, dump_function_name): Call it. + * ptree.c (cxx_print_decl): Print module information. + * module.cc (module_name, get_importing_module): Stubs. + +2020-12-10 Nathan Sidwell + + * name-lookup.h (set_class_bindings): Return vector, take signed + 'extra' parm. + * name-lookup.c (maybe_lazily_declare): Break out ... + (get_class_binding): .. of here, call it. + (find_member_slot): Adjust get_class_bindings call. + (set_class_bindings): Allow -ve extra. Return the vector. + (set_identifier_type_value_with_scope): Remove checking assert. + (lookup_using_decl): Set decl's context. + (do_pushtag): Adjust set_identifier_type_value_with_scope handling. + 2020-12-09 Nathan Sidwell * parser.h (struct cp_token): Add main_source_p field. diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 63abb26fe35..6458628f381 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,163 @@ +2020-12-11 Nathan Sidwell + + * g++.dg/modules/modules.exp: New. + +2020-12-11 Christophe Lyon + + * gcc.target/arm/simd/mve-vorr.c: Add vorr tests. + +2020-12-11 Claudiu Zissulescu + + * gcc.target/arc/pmpyd.c: New test. + * gcc.target/arc/tmac-1.c: Update. + +2020-12-11 H.J. Lu + + PR target/98219 + * gcc.dg/guality/pr98219-1.c: New test. + * gcc.dg/guality/pr98219-2.c: Likewise. + * gcc.dg/torture/pr98219-1.c: Likewise. + * gcc.dg/torture/pr98219-2.c: Likewise. + * gcc.target/i386/uintr-2.c: Scan "add[lq] $8, %[er]sp". + (uword_t): New. + (foo): Add a uword_t argument. + (UINTR_hanlder): Likewise. + * gcc.target/i386/uintr-3.c: Scan "add[lq] $8, %[er]sp". + (uword_t): New. + (UINTR_hanlder): Add a uword_t argument. + * gcc.target/i386/uintr-4.c (uword_t): New. + (UINTR_hanlder): Add a uword_t argument. + * gcc.target/i386/uintr-5.c (uword_t): New. + (UINTR_hanlder): Add a uword_t argument. + +2020-12-11 Patrick Palka + + PR c++/78173 + * g++.dg/cpp2a/concepts-pr78173.C: New test. + +2020-12-11 Andrea Corallo + + * lib/target-supports.exp (check_effective_target_arm_softfloat): + Improve documentation. + +2020-12-11 Andrea Corallo + + * gcc.target/arm/lob2.c: Use '-march=armv8.1-m.main+fp'. + * gcc.target/arm/lob3.c: Skip with '-mfloat-abi=hard'. + * gcc.target/arm/lob4.c: Likewise. + * gcc.target/arm/lob5.c: Use '-march=armv8.1-m.main+fp'. + +2020-12-11 Richard Biener + + PR testsuite/98244 + * gcc.dg/vect/vect-live-6.c: Require vect_condition. + +2020-12-11 Richard Biener + + PR testsuite/98242 + * gcc.dg/vect/bb-slp-subgroups-3.c: Require vect_int_mult. + +2020-12-11 Richard Biener + + PR testsuite/98240 + * gcc.dg/vect/pr97678.c: Require vect_int_mult and + vect_pack_trunc. + +2020-12-11 Richard Biener + + PR testsuite/98239 + * gcc.dg/vect/bb-slp-69.c: Require vect_condition. + +2020-12-11 Jakub Jelinek + + PR rtl-optimization/98229 + * gcc.c-torture/compile/pr98229.c: New test. + +2020-12-11 Richard Biener + + PR tree-optimization/98235 + * gcc.dg/torture/pr98235.c: New testcase. + +2020-12-11 Jakub Jelinek + + PR middle-end/98190 + * gcc.dg/pr98190.c: New test. + +2020-12-11 Andrea Corallo + + * gcc.target/aarch64/sve/pr97092.c: New test. + +2020-12-10 Jakub Jelinek + + PR rtl-optimization/98212 + * gcc.dg/predict-8.c: Adjust expected probability. + +2020-12-10 Ed Schonberg + + * gnat.dg/modular6.adb: New test. + +2020-12-10 Marek Polacek + + PR c++/91506 + * g++.dg/init/array60.C: New test. + +2020-12-10 Dennis Zhang + + * gcc.target/arm/simd/mve-vsub_1.c: Fix typo. + Remove needless dg-additional-options. + +2020-12-10 Marek Polacek + + PR c++/68451 + * g++.dg/cpp0x/friend6.C: New test. + +2020-12-10 Christophe Lyon + + * gcc.target/arm/simd/mve-vand.c: New test. + +2020-12-10 Richard Sandiford + + PR tree-optimization/98069 + * gcc.dg/vect/pr98069.c: New file. + +2020-12-10 Joel Hutton + + * gcc.dg/vect/pr97929.c: New test. + +2020-12-10 Richard Biener + + PR tree-optimization/98211 + * gcc.dg/pr98211.c: New testcase. + +2020-12-10 Jakub Jelinek + + PR rtl-optimization/98212 + * gcc.target/i386/pr98212.c: New test. + +2020-12-10 Jakub Jelinek + + PR tree-optimization/98169 + * gcc.target/i386/pr98169.c: New test. + +2020-12-10 Jakub Jelinek + + PR middle-end/98205 + * c-c++-common/gomp/doacross-4.c: New test. + +2020-12-10 Richard Biener + + * gcc.dg/vect/bb-slp-div-1.c: Expect the load to be + vectorized. + +2020-12-10 Nikhil Benesch + + * gcc.misc-tests/godump-1.c: Add test case. + +2020-12-10 Ian Lance Taylor + + * go.test/go-test.exp (go-gc-tests): Recognize errorcheckdir -n, + for bug345.go. + 2020-12-09 Ian Lance Taylor * go.test/go-test.exp (errchk): Rewrite regexp quoting to use diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index 83cbde30b3c..e5a1d8c0a19 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,7 @@ +2020-12-10 Jason Merrill + + * init.c (cpp_init_builtins): Update __cplusplus for C++20. + 2020-12-01 JeanHeyd Meneide * charset.c (init_iconv_desc): Initialize "to" and "from" fields. diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index e494f05490a..45c3d673731 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2020-12-10 Jonathan Wakely + + PR libstdc++/98226 + * include/std/bit (__countl_one, __countr_one): Remove redundant + branches. + 2020-12-09 Jonathan Wakely * acinclude.m4 (GLIBCXX_ENABLE_LIBSTDCXX_TIME): Define NO_SLEEP