From 13e4ba28f36817eec190fbd0dccd1f4aa99875a1 Mon Sep 17 00:00:00 2001 From: GCC Administrator Date: Tue, 1 Sep 2020 00:16:25 +0000 Subject: [PATCH] Daily bump. --- gcc/ChangeLog | 58 +++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/analyzer/ChangeLog | 57 +++++++++++++++++++++++++++++++ gcc/cp/ChangeLog | 17 ++++++++++ gcc/d/ChangeLog | 10 ++++++ gcc/testsuite/ChangeLog | 75 +++++++++++++++++++++++++++++++++++++++++ 6 files changed, 218 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5c7c56ec2b8..8344212cf37 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,61 @@ +2020-08-31 Carl Love + + PR target/85830 + * config/rs6000/altivec.h (vec_popcntb, vec_popcnth, vec_popcntw, + vec_popcntd): Remove defines. + +2020-08-31 Marek Polacek + Jason Merrill + + PR c++/93529 + * tree.c (build_constructor_from_vec): New. + * tree.h (build_constructor_from_vec): Declare. + +2020-08-31 Aldy Hernandez + + PR tree-optimization/96818 + * tree-vrp.c (find_case_label_range): Cast label range to + type of switch operand. + +2020-08-31 liuhongt + + PR target/96551 + * config/i386/sse.md (vec_unpacku_float_hi_v16si): For vector + compare to integer mask, don't use gen_rtx_LT, use + ix86_expand_mask_vec_cmp instead. + (vec_unpacku_float_hi_v16si): Ditto. + +2020-08-31 Jakub Jelinek + + * tree-cfg.c (verify_gimple_switch): If the first non-default case + label has CASE_HIGH, verify it has the same type as CASE_LOW. + +2020-08-31 Feng Xue + + PR tree-optimization/96806 + * ipa-cp.c (decide_about_value): Use safe_add to avoid cost addition + overflow. + +2020-08-31 Jakub Jelinek + + PR middle-end/54201 + * varasm.c: Include alloc-pool.h. + (output_constant_pool_contents): Emit desc->mark < 0 entries as + aliases. + (struct constant_descriptor_rtx_data): New type. + (constant_descriptor_rtx_data_cmp): New function. + (struct const_rtx_data_hasher): New type. + (const_rtx_data_hasher::hash, const_rtx_data_hasher::equal): New + methods. + (optimize_constant_pool): New function. + (output_shared_constant_pool): Call it if TARGET_SUPPORTS_ALIASES. + +2020-08-31 Kewen Lin + + * doc/sourcebuild.texi (vect_len_load_store, + vect_partial_vectors_usage_1, vect_partial_vectors_usage_2, + vect_partial_vectors): Document. + 2020-08-30 Martin Sebor * builtins.c (access_ref::access_ref): Call get_size_range instead diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 3db40e0a817..25aba91f392 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20200831 +20200901 diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog index d0be7b339b0..4d678aef545 100644 --- a/gcc/analyzer/ChangeLog +++ b/gcc/analyzer/ChangeLog @@ -1,3 +1,60 @@ +2020-08-31 David Malcolm + + PR analyzer/96798 + * region-model.cc (region_model::on_call_pre): Handle + BUILT_IN_MEMSET_CHK. + +2020-08-31 David Malcolm + + * region-model.cc (region_model::on_call_pre): Gather handling of + builtins and of internal fns into switch statements. Handle + "alloca" and BUILT_IN_ALLOCA_WITH_ALIGN. + +2020-08-31 David Malcolm + + PR analyzer/96860 + * region.cc (decl_region::get_svalue_for_constructor): Support + apply_ctor_to_region failing. + * store.cc (binding_map::apply_ctor_to_region): Add failure + handling. + (binding_map::apply_ctor_val_to_range): Likewise. + (binding_map::apply_ctor_pair_to_child_region): Likewise. Replace + assertion that child_base_offset is not symbolic with error + handling. + * store.h (binding_map::apply_ctor_to_region): Convert return type + from void to bool. + (binding_map::apply_ctor_val_to_range): Likewise. + (binding_map::apply_ctor_pair_to_child_region): Likewise. + +2020-08-31 David Malcolm + + PR analyzer/96763 + * store.cc (binding_map::apply_ctor_to_region): Handle RANGE_EXPR + by calling a new binding_map::apply_ctor_val_to_range subroutine. + Split out the existing non-CONSTRUCTOR-handling code to a new + apply_ctor_pair_to_child_region subroutine. + (binding_map::apply_ctor_val_to_range): New. + (binding_map::apply_ctor_pair_to_child_region): New, split out + from binding_map::apply_ctor_to_region as noted above. + * store.h (binding_map::apply_ctor_val_to_range): New decl. + (binding_map::apply_ctor_pair_to_child_region): New decl. + +2020-08-31 David Malcolm + + PR analyzer/96764 + * region-model-manager.cc + (region_model_manager::maybe_fold_unaryop): Handle VIEW_CONVERT_EXPR. + (region_model_manager::get_or_create_cast): Move logic for + real->integer casting to... + (get_code_for_cast): ...this new function, and add logic for + real->non-integer casts. + (region_model_manager::maybe_fold_sub_svalue): Handle + VIEW_CONVERT_EXPR. + * region-model.cc + (region_model::add_any_constraints_from_gassign): Likewise. + * svalue.cc (svalue::maybe_undo_cast): Likewise. + (unaryop_svalue::dump_to_pp): Likewise. + 2020-08-26 David Malcolm PR analyzer/94858 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 5f341e2c0a9..c9cd5a05434 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,20 @@ +2020-08-31 Marek Polacek + Jason Merrill + + PR c++/93529 + * call.c (build_new_method_call_1): Use build_constructor_from_vec + instead of build_tree_list_vec + build_constructor_from_list. + * init.c (build_new_1): Handle new char[]{"foo"}. Use + build_constructor_from_vec instead of build_tree_list_vec + + build_constructor_from_list. + (build_new): Deduce the array size in new-expression if not + present. Handle ()-init. Handle initializing an array from + a string literal. + * parser.c (cp_parser_new_type_id): Leave [] alone. + (cp_parser_direct_new_declarator): Allow []. + * pt.c (type_dependent_expression_p): In a NEW_EXPR, consider + array types whose dimension has to be deduced type-dependent. + 2020-08-27 Martin Liska * class.c (build_vtbl_initializer): Set exact argument of a vector diff --git a/gcc/d/ChangeLog b/gcc/d/ChangeLog index 00507aca582..553bb98f787 100644 --- a/gcc/d/ChangeLog +++ b/gcc/d/ChangeLog @@ -1,3 +1,13 @@ +2020-08-31 Iain Buclaw + + * d-target.cc (Target::_init): Don't set classinfosize. + * d-tree.h (base_vtable_offset): Move under typeinfo.cc section. + * decl.cc (base_vtable_offset): Move to... + * typeinfo.cc (base_vtable_offset): ...here. Get base offset from + internal TypeInfo_Class type. + * intrinsics.cc (expand_intrinsic_bt): Use pointer TYPE_SIZE for + setting bitsize value. Build integer constants of correct type. + 2020-08-26 Iain Buclaw * dmd/MERGE: Merge upstream dmd e49192807 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 92a42170770..dd1e261c50c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,78 @@ +2020-08-31 David Malcolm + + PR analyzer/96798 + * gcc.dg/analyzer/memset-1.c (test_5a): New. + +2020-08-31 David Malcolm + + PR analyzer/96860 + * gcc.dg/analyzer/pr96860-1.c: New test. + * gcc.dg/analyzer/pr96860-2.c: New test. + +2020-08-31 Marek Polacek + Jason Merrill + + PR c++/93529 + * g++.dg/cpp0x/sfinae4.C: Adjust expected result after P1009. + * g++.dg/cpp2a/new-array1.C: New test. + * g++.dg/cpp2a/new-array2.C: New test. + * g++.dg/cpp2a/new-array3.C: New test. + * g++.dg/cpp2a/new-array4.C: New test. + +2020-08-31 David Malcolm + + PR analyzer/96763 + * g++.dg/analyzer/pr96763.C: New test. + +2020-08-31 David Malcolm + + PR analyzer/96764 + * gcc.dg/analyzer/pr96764.c: New test. + +2020-08-31 Aldy Hernandez + + PR tree-optimization/96818 + * g++.dg/pr96818.C: New file. + * gcc.dg/pr96818.c: New file. + +2020-08-31 Richard Biener + + PR tree-optimization/96854 + * gcc.dg/vect/pr96854.c: New testcase. + +2020-08-31 Christophe Lyon + + * gcc.target/aarch64/strcmpopt_6.c: Suppress -Wstringop-overread. + +2020-08-31 liuhongt + + * gcc.target/i386/avx512f-pr96551-1.c: New test. + * gcc.target/i386/avx512f-pr96551-2.c: New test. + +2020-08-31 Feng Xue + + PR tree-optimization/96806 + * g++.dg/ipa/pr96806.C: New test. + +2020-08-31 Kewen Lin + + * gcc.dg/vect/bb-slp-pr69907.c: Adjust for partial vector usages. + * gcc.dg/vect/slp-3.c: Likewise. + * gcc.dg/vect/slp-multitypes-11.c: Likewise. + * gcc.dg/vect/slp-perm-1.c: Likewise. + * gcc.dg/vect/slp-perm-5.c: Likewise. + * gcc.dg/vect/slp-perm-6.c: Likewise. + * gcc.dg/vect/slp-perm-7.c: Likewise. + * gcc.dg/vect/slp-perm-8.c: Likewise. + * gcc.dg/vect/slp-perm-9.c: Likewise. + * gcc.dg/vect/vect-version-2.c: Likewise. + * lib/target-supports.exp (check_vect_partial_vector_usage): New + function. + (check_effective_target_vect_len_load_store): Likewise. + (check_effective_target_vect_partial_vectors_usage_1): Likewise. + (check_effective_target_vect_partial_vectors_usage_2): Likewise. + (check_effective_target_vect_partial_vectors): Likewise. + 2020-08-30 Martin Sebor * gcc.dg/Wstringop-overread-3.c: New test. -- 2.30.2