diff options
author | GCC Administrator <gccadmin@gcc.gnu.org> | 2020-11-10 00:16:24 +0000 |
---|---|---|
committer | GCC Administrator <gccadmin@gcc.gnu.org> | 2020-11-10 00:16:24 +0000 |
commit | 2bee28dd41ff2b2bc73223aaa18d02e5329b219f (patch) | |
tree | 93fd7ee462611aa40c7b51327983600f50bb3a2d /gcc | |
parent | 04126e46eb2d829d7b4149d394b667e878912cc8 (diff) | |
download | gcc-2bee28dd41ff2b2bc73223aaa18d02e5329b219f.zip gcc-2bee28dd41ff2b2bc73223aaa18d02e5329b219f.tar.gz gcc-2bee28dd41ff2b2bc73223aaa18d02e5329b219f.tar.bz2 |
Daily bump.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 122 | ||||
-rw-r--r-- | gcc/DATESTAMP | 2 | ||||
-rw-r--r-- | gcc/c-family/ChangeLog | 27 | ||||
-rw-r--r-- | gcc/cp/ChangeLog | 96 | ||||
-rw-r--r-- | gcc/fortran/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/testsuite/ChangeLog | 66 |
6 files changed, 319 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1a4c4f6..7509245 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,125 @@ +2020-11-09 Claudiu Zissulescu <claziss@synopsys.com> + + * config/arc/arc.c (arc_split_move): Recognize vadd2 instructions. + * config/arc/arc.md (movdi_insn): Update pattern to use vadd2 + instructions. + (movdf_insn): Likewise. + (maddhisi4): New pattern. + (umaddhisi4): Likewise. + * config/arc/simdext.md (mov<mode>_int): Update pattern to use + vadd2. + (sdot_prodv4hi): New pattern. + (udot_prodv4hi): Likewise. + (arc_vec_<V_US>mac_hi_v4hi): Update/renamed to + arc_vec_<V_US>mac_v2hiv2si. + (arc_vec_<V_US>mac_v2hiv2si_zero): New pattern. + * config/arc/constraints.md (Ral): Accumulator register + constraint. + +2020-11-09 Aldy Hernandez <aldyh@redhat.com> + + * function-tests.c (test_ranges): Call range_op_tests. + * range-op.cc (build_range3): Move to value-range.cc. + (range3_tests): Same. + (int_range_max_tests): Same. + (multi_precision_range_tests): Same. + (range_tests): Same. + (operator_tests): Split up... + (range_op_tests): Split up... + (range_op_cast_tests): ...here. + (range_op_lshift_tests): ...here. + (range_op_rshift_tests): ...here. + (range_op_bitwise_and_tests): ...here. + * selftest.h (range_op_tests): New. + * value-range.cc (build_range3): New. + (range_tests_irange3): New. + (range_tests_int_range_max): New. + (range_tests_legacy): New. + (range_tests_misc): New. + (range_tests): New. + +2020-11-09 Richard Biener <rguenther@suse.de> + + PR tree-optimization/97761 + * tree-vect-slp.c (vect_bb_slp_mark_live_stmts): Remove + premature end of DFS walk. + +2020-11-09 Aldy Hernandez <aldyh@redhat.com> + + * value-range.cc (irange::swap_out_of_order_endpoints): Rewrite + into static function. + (irange::set): Cleanup redundant manipulations. + * value-range.h (irange::normalize_min_max): Modify object + in-place instead of modifying arguments. + +2020-11-09 Andrea Corallo <andrea.corallo@arm.com> + + * config/aarch64/aarch64-builtins.c + (aarch64_expand_fcmla_builtin): Do not alter force_reg returned + register. + +2020-11-09 Richard Biener <rguenther@suse.de> + + PR tree-optimization/97753 + * tree-vect-loop.c (vectorizable_induction): Fill vec_steps + when CSEing inside the group. + +2020-11-09 Richard Biener <rguenther@suse.de> + + PR tree-optimization/97746 + * tree-vect-patterns.c (vect_determine_precisions): First walk PHIs. + +2020-11-09 Richard Biener <rguenther@suse.de> + + * tree-ssa-pre.c (get_representative_for): CSE VN_INFO calls. + (create_expression_by_pieces): Likewise. + (insert_into_preds_of_block): Likewsie. + (do_pre_regular_insertion): Likewsie. + * tree-ssa-sccvn.c (eliminate_dom_walker::eliminate_insert): + Likewise. + (eliminate_dom_walker::eliminate_stmt): Likewise. + +2020-11-09 Richard Biener <rguenther@suse.de> + + PR tree-optimization/97765 + * tree-ssa-pre.c (bb_bitmap_sets::phi_translate_table): Add. + (PHI_TRANS_TABLE): New macro. + (phi_translate_table): Remove. + (expr_pred_trans_d::pred): Remove. + (expr_pred_trans_d::hash): Simplify. + (expr_pred_trans_d::equal): Likewise. + (phi_trans_add): Adjust. + (phi_translate): Likewise. Remove hash-table expansion + detection and optimization. + (phi_translate_set): Allocate PHI_TRANS_TABLE here. + (init_pre): Adjsust. + (fini_pre): Free PHI_TRANS_TABLE. + +2020-11-09 Lili Cui <lili.cui@intel.com> + + PR target/97685 + * config/i386/i386.h: + (PTA_BROADWELL): Delete PTA_PRFCHW. + (PTA_SILVERMONT): Add PTA_PRFCHW. + (PTA_KNL): Add PTA_PREFETCHWT1. + (PTA_TREMONT): Add PTA_MOVDIRI, PTA_MOVDIR64B, PTA_CLDEMOTE and PTA_WAITPKG. + * doc/invoke.texi: Delete PREFETCHW for broadwell, skylake, knl, knm, + skylake-avx512, cannonlake, icelake-client, icelake-server, cascadelake, + cooperlake, tigerlake and sapphirerapids. + Add PREFETCHW for silvermont, goldmont, goldmont-plus and tremont. + Add XSAVEC and XSAVES for goldmont, goldmont-plus and tremont. + Add MOVDIRI, MOVDIR64B, CLDEMOTE and WAITPKG for tremont. + Add KEYLOCKER and HREST for alderlake. + Add AMX-BF16, AMX-TILE, AMX-INT8 and UINTR for sapphirerapids. + Add KEYLOCKER for tigerlake. + +2020-11-09 Kewen Lin <linkw@linux.ibm.com> + + PR rtl-optimization/97705 + * ira.c (ira): Refactor some regstat free/init/compute invocation + into lambda function regstat_recompute_for_max_regno, and call it + when max_regno increases as remove_scratches succeeds. + 2020-11-08 David Edelsohn <dje.gcc@gmail.com> * config/rs6000/rs6000.c (rs6000_mangle_decl_assembler_name): Change diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 9938e11..2cca29c 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20201109 +20201110 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 0e9c26f..d2ad058 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,30 @@ +2020-11-09 Marek Polacek <polacek@redhat.com> + + DR 1914 + * c-common.c (attribute_fallthrough_p): Tweak the warning + message. + +2020-11-09 Patrick Palka <ppalka@redhat.com> + + * c-pragma.c (handle_pragma_diagnostic): Split the + unknown-option -Wpragmas diagnostic into a warning and a + subsequent note containing a spelling suggestion. Avoid + computing the suggestion if -Wpragmas warnings are being + suppressed. + +2020-11-09 Patrick Palka <ppalka@redhat.com> + + PR testsuite/97117 + * c-indentation.c (get_visual_column): Remove location_t + parameter. Move the column-tracking diagnostic code from here + to ... + (should_warn_for_misleading_indentation): ... here, before the + early exit for when the loci are not all distinct. Don't pass a + location_t argument to get_visual_column. + (assert_get_visual_column_succeeds): Don't pass a location_t + argument to get_visual_column. + (assert_get_visual_column_fails): Likewise. + 2020-11-08 Iain Sandoe <iain@sandoe.co.uk> * c-common.h (OBJC_IS_PATTR_KEYWORD): Add class to the list diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 2023170..9c36b80 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,99 @@ +2020-11-09 Marek Polacek <polacek@redhat.com> + + DR 1914 + * parser.c (cp_parser_check_std_attribute): Return bool. Add a + location_t parameter. Return true if the attribute wasn't duplicated. + Give a warning instead of an error. Check more attributes. + (cp_parser_std_attribute_list): Don't add duplicated attributes to + the list. Pass location to cp_parser_check_std_attribute. + +2020-11-09 Patrick Palka <ppalka@redhat.com> + + * constraint.cc (norm_info::norm_info): Initialize orig_decl. + (norm_info::orig_decl): New data member. + (normalize_atom): When caching an atom for the first time, + compute a list of template parameters used in the targets of the + parameter mapping and store it in the TREE_TYPE of the mapping. + (get_normalized_constraints_from_decl): Set current_function_decl + appropriately when normalizing. As an optimization, don't + set up a push_nested_class_guard when decl has no constraints. + (sat_hasher::hash): Use this list to hash only the template + arguments that are relevant to the atom. + (satisfy_atom): Use this list to compare only the template + arguments that are relevant to the atom. + * pt.c (keep_template_parm): Do a sanity check on the parameter's + index when flag_checking. + +2020-11-09 Patrick Palka <ppalka@redhat.com> + + * cp-tree.h (ATOMIC_CONSTR_MAP_INSTANTIATED_P): Define this flag + for ATOMIC_CONSTRs. + * constraint.cc (sat_hasher::hash): Use hash_atomic_constraint + if the flag is set, otherwise keep using a pointer hash. + (sat_hasher::equal): Return false if the flag's setting differs + on two atoms. Call atomic_constraints_identical_p if the flag + is set, otherwise keep using a pointer equality test. + (satisfy_atom): After instantiating the parameter mapping, form + another ATOMIC_CONSTR using the instantiated mapping and query + the cache again. Cache the satisfaction value of both atoms. + (diagnose_atomic_constraint): Simplify now that the supplied + atom has an instantiated mapping. + +2020-11-09 Patrick Palka <ppalka@redhat.com> + + * constraint.cc (atom_cache): Define this deletable hash_table. + (normalize_atom): Use it to cache ATOMIC_CONSTRs when not + generating diagnostics. + (sat_hasher::hash): Use htab_hash_pointer instead of + hash_atomic_constraint. + (sat_hasher::equal): Test for pointer equality instead of + atomic_constraints_identical_p. + * cp-tree.h (struct atom_hasher): Moved and renamed from ... + * logic.cc (struct constraint_hash): ... here. + (clause::m_set): Adjust accordingly. + +2020-11-09 Patrick Palka <ppalka@redhat.com> + + PR c++/93907 + * constraint.cc (tsubst_parameter_mapping): Also canonicalize + the type arguments of a TYPE_ARGUMENT_PACk. + +2020-11-09 Jason Merrill <jason@redhat.com> + + * pt.c (tsubst): Replace *_ARGUMENT_PACK code with + a call to tsubst_argument_pack. + +2020-11-09 Jason Merrill <jason@redhat.com> + + * class.c (handle_using_decl): Add an iloc_sentinel. + +2020-11-09 Marek Polacek <polacek@redhat.com> + + PR c++/97762 + * parser.c (warn_about_ambiguous_parse): Handle the case when + there is no type in the decl-specifiers. + +2020-11-09 Nathan Sidwell <nathan@acm.org> + + * cp-tree.h (LOOKUP_FOUND_P): Add ENUMERAL_TYPE. + * name-lookup.c (class name_lookup): Add comments. + (name_lookup::adl_namespace_only): Replace with ... + (name_lookup::adl_class_fns): ... this and ... + (name_lookup::adl_namespace_fns): ... this. + (name_lookup::adl_namespace): Deal with inline nests here. + (name_lookup::adl_class): Complete the type here. + (name_lookup::adl_type): Call broken-out enum .. + (name_lookup::adl_enum): New. No need to call the namespace adl + if it is class-scope. + (name_lookup::search_adl): Iterate over collected scopes here. + +2020-11-09 Nathan Sidwell <nathan@acm.org> + + * name-lookup.c (lookup_qualified_name): Expose an overload of a + singleton with known type. + (lookup_name_1): Just check the overload's type to expose it. + * parser.c (cp_parser_lookup_name): Do not do that check here. + 2020-11-08 Iain Sandoe <iain@sandoe.co.uk> * parser.c (cp_parser_objc_at_property_declaration): Handle diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index fa1e611..f5c6066 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,10 @@ +2020-11-09 Tobias Burnus <tobias@codesourcery.com> + + PR fortran/90111 + * parse.c (case_decl): Move ST_OACC_ROUTINE and ST_OACC_DECLARE to ... + (case_omp_decl): ... here. + (verify_st_order): Update comment. + 2020-11-06 Thomas Schwinge <thomas@codesourcery.com> * openmp.c (oacc_is_parallel, resolve_oacc_params_in_parallel): diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index cff8ccf..7f89efa 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,69 @@ +2020-11-09 Marek Polacek <polacek@redhat.com> + + DR 1914 + * c-c++-common/attr-fallthrough-2.c: Adjust dg-warning. + * g++.dg/cpp0x/fallthrough2.C: Likewise. + * g++.dg/cpp0x/gen-attrs-60.C: Turn dg-error into dg-warning. + * g++.dg/cpp1y/attr-deprecated-2.C: Likewise. + * g++.dg/cpp2a/attr-likely2.C: Adjust dg-warning. + * g++.dg/cpp2a/nodiscard-once.C: Turn dg-error into dg-warning. + * g++.dg/cpp0x/gen-attrs-72.C: New test. + +2020-11-09 Patrick Palka <ppalka@redhat.com> + + * g++.dg/cpp2a/concepts-decltype2.C: New file. + +2020-11-09 Patrick Palka <ppalka@redhat.com> + + PR c++/93907 + * g++.dg/cpp2a/concepts-using3.C: New test, based off of + concepts-using2.C. + +2020-11-09 Jason Merrill <jason@redhat.com> + + * g++.dg/lookup/using26.C: Adjust location. + * g++.old-deja/g++.other/using1.C: Adjust location. + +2020-11-09 Marek Polacek <polacek@redhat.com> + + PR c++/97762 + * g++.dg/warn/Wvexing-parse8.C: New test. + +2020-11-09 Patrick Palka <ppalka@redhat.com> + + * gcc.dg/pragma-diag-6.c: Adjust expected diagnostics + accordingly. + +2020-11-09 Tobias Burnus <tobias@codesourcery.com> + + PR fortran/90111 + * gfortran.dg/goacc/specification-part.f90: New test. + +2020-11-09 Richard Biener <rguenther@suse.de> + + PR tree-optimization/97761 + * gfortran.dg/vect/pr97761.f90: New testcase. + +2020-11-09 Richard Biener <rguenther@suse.de> + + PR tree-optimization/97753 + * gcc.dg/vect/pr97753.c: New testcase. + +2020-11-09 Richard Biener <rguenther@suse.de> + + PR tree-optimization/97746 + * gcc.dg/vect/bb-slp-pr97746.c: New testcase. + +2020-11-09 Andrea Corallo <andrea.corallo@arm.com> + + * gcc.target/arm/simd/vld1_lane_bf16_1.c: Require target to + support and add -mfloat-abi=hard flag. + * gcc.target/arm/simd/vld1_lane_bf16_indices_1.c: Likewise. + * gcc.target/arm/simd/vld1q_lane_bf16_indices_1.c: Likewise. + * gcc.target/arm/simd/vst1_lane_bf16_1.c: Likewise. + * gcc.target/arm/simd/vst1_lane_bf16_indices_1.c: Likewise. + * gcc.target/arm/simd/vstq1_lane_bf16_indices_1.c: Likewise. + 2020-11-08 Iain Sandoe <iain@sandoe.co.uk> * obj-c++.dg/property/at-property-4.mm: Test handling class |