From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2168) id A3FE93848419; Fri, 25 Jun 2021 00:17:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A3FE93848419 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" From: GCC Administrator To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r12-1799] Daily bump. X-Act-Checkin: gcc X-Git-Author: GCC Administrator X-Git-Refname: refs/heads/master X-Git-Oldrev: ce3316e9c02c81c509173572c71a101f4eb62a24 X-Git-Newrev: 9aa8327e86eba9a5ad6dacb4db505e3451854976 Message-Id: <20210625001727.A3FE93848419@sourceware.org> Date: Fri, 25 Jun 2021 00:17:27 +0000 (GMT) X-BeenThere: libstdc++-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2021 00:17:27 -0000 https://gcc.gnu.org/g:9aa8327e86eba9a5ad6dacb4db505e3451854976 commit r12-1799-g9aa8327e86eba9a5ad6dacb4db505e3451854976 Author: GCC Administrator Date: Fri Jun 25 00:16:53 2021 +0000 Daily bump. Diff: --- ChangeLog | 4 + gcc/ChangeLog | 231 ++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/c-family/ChangeLog | 7 ++ gcc/c/ChangeLog | 27 ++++++ gcc/cp/ChangeLog | 30 +++++++ gcc/testsuite/ChangeLog | 76 ++++++++++++++++ libgomp/ChangeLog | 7 ++ libstdc++-v3/ChangeLog | 86 ++++++++++++++++++ 9 files changed, 469 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 285648def9c..7e16a491c4a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2021-06-24 prathamesh.kulkarni + + * .gitignore: Add entry for cscope.out. + 2021-06-22 liuhongt * MAINTAINERS: Remove my Write After Approval entry. diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 71534e475cf..d7ea100d7f7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,234 @@ +2021-06-24 Andrew MacLeod + + PR tree-optimization/101189 + * gimple-range-fold.cc (fold_using_range::range_of_range_op): Pass + LHS range of condition to postfold routine. + (fold_using_range::postfold_gcond_edges): Only process the TRUE or + FALSE edge if the LHS range supports it being taken. + * gimple-range-fold.h (postfold_gcond_edges): Add range parameter. + +2021-06-24 Andrew MacLeod + + * value-relation.cc (equiv_oracle::dump): Do not dump NULL blocks. + (relation_oracle::find_relation_block): Check correct bitmap. + (relation_oracle::dump): Do not dump NULL blocks. + +2021-06-24 Andrew MacLeod + + * gimple-range-cache.cc (ranger_cache::propagate_cache): Call + range_on_edge instead of manually calculating. + +2021-06-24 Andrew MacLeod + + * range-op.cc: Fix comment. + +2021-06-24 Uroš Bizjak + + PR target/89021 + * config/i386/i386-expand.c (ix86_expand_sse_unpack): + Handle V8QI and V4HI modes. + * config/i386/mmx.md (sse4_1_v4qiv4hi2): + New insn pattern. + (sse4_1_v4qiv4hi2): Ditto. + (mmxpackmode): New mode attribute. + (vec_pack_trunc_): New expander. + (mmxunpackmode): New mode attribute. + (vec_unpacks_lo_): New expander. + (vec_unpacks_hi_): Ditto. + (vec_unpacku_lo_): Ditto. + (vec_unpacku_hi_): Ditto. + * config/i386/i386.md (extsuffix): Move from ... + * config/i386/sse.md: ... here. + +2021-06-24 Eric Botcazou + + * dwarf2out.c (dwarf2out_assembly_start): Emit .file 0 marker here.. + (dwarf2out_finish): ...instead of here. + +2021-06-24 Eric Botcazou + + * configure.ac (--gdwarf-5 option): Use objdump instead of readelf. + (working --gdwarf-4/--gdwarf-5 for all sources): Likewise. + (--gdwarf-4 not refusing generated .debug_line): Adjust for Windows. + * configure: Regenerate. + +2021-06-24 Richard Biener + + * config/i386/sse.md (vec_addsubv4df3, vec_addsubv2df3, + vec_addsubv8sf3, vec_addsubv4sf3): Merge into ... + (vec_addsub3): ... using a new addsub_cst mode attribute. + +2021-06-24 Richard Biener + + * config/i386/sse.md (avx_addsubv4df3): Rename to + vec_addsubv4df3. + (avx_addsubv8sf3): Rename to vec_addsubv8sf3. + (sse3_addsubv2df3): Rename to vec_addsubv2df3. + (sse3_addsubv4sf3): Rename to vec_addsubv4sf3. + * config/i386/i386-builtin.def: Adjust. + * internal-fn.def (VEC_ADDSUB): New internal optab fn. + * optabs.def (vec_addsub_optab): New optab. + * tree-vect-slp-patterns.c (class addsub_pattern): New. + (slp_patterns): Add addsub_pattern. + * tree-vect-slp.c (vect_optimize_slp): Disable propagation + across CFN_VEC_ADDSUB. + * tree-vectorizer.h (vect_pattern::vect_pattern): Make + m_ops optional. + * doc/md.texi (vec_addsub3): Document. + +2021-06-24 Jakub Jelinek + + PR middle-end/101170 + * df-scan.c (df_ref_record): For paradoxical big-endian SUBREGs + where regno + subreg_regno_offset wraps around use 0 as starting + regno. + +2021-06-24 Jakub Jelinek + + PR middle-end/101172 + * stor-layout.c (finish_bitfield_representative): If nextf has + error_mark_node type, set repr type to error_mark_node too. + +2021-06-24 Ilya Leoshkevich + + * config/s390/s390.c (s390_function_profiler): Ignore labelno + parameter. + * config/s390/s390.h (NO_PROFILE_COUNTERS): Define. + +2021-06-24 Richard Biener + + * tree-vect-slp.c (vect_optimize_slp): Do not propagate + across operations that have different semantics on different + lanes. + +2021-06-24 Jakub Jelinek + + * tree.h (OMP_CLAUSE_MAP_IN_REDUCTION): Document meaning for OpenMP. + * gimplify.c (gimplify_scan_omp_clauses): For OpenMP map clauses + with OMP_CLAUSE_MAP_IN_REDUCTION flag partially defer gimplification + of non-decl OMP_CLAUSE_DECL. For OMP_CLAUSE_IN_REDUCTION on + OMP_TARGET user outer_ctx instead of ctx for placeholders and + initializer/combiner gimplification. + * omp-low.c (scan_sharing_clauses): Handle OMP_CLAUSE_MAP_IN_REDUCTION + on target constructs. + (lower_rec_input_clauses): Likewise. + (lower_omp_target): Likewise. + * omp-expand.c (expand_omp_target): Temporarily ignore nowait clause + on target if in_reduction is present. + +2021-06-24 Kewen Lin + + * tree-predcom.c (class pcom_worker): New class. + (release_chain): Renamed to... + (pcom_worker::release_chain): ...this. + (release_chains): Renamed to... + (pcom_worker::release_chains): ...this. + (aff_combination_dr_offset): Renamed to... + (pcom_worker::aff_combination_dr_offset): ...this. + (determine_offset): Renamed to... + (pcom_worker::determine_offset): ...this. + (class comp_ptrs): New class. + (split_data_refs_to_components): Renamed to... + (pcom_worker::split_data_refs_to_components): ...this, + and update with class comp_ptrs. + (suitable_component_p): Renamed to... + (pcom_worker::suitable_component_p): ...this. + (filter_suitable_components): Renamed to... + (pcom_worker::filter_suitable_components): ...this. + (valid_initializer_p): Renamed to... + (pcom_worker::valid_initializer_p): ...this. + (find_looparound_phi): Renamed to... + (pcom_worker::find_looparound_phi): ...this. + (add_looparound_copies): Renamed to... + (pcom_worker::add_looparound_copies): ...this. + (determine_roots_comp): Renamed to... + (pcom_worker::determine_roots_comp): ...this. + (determine_roots): Renamed to... + (pcom_worker::determine_roots): ...this. + (single_nonlooparound_use): Renamed to... + (pcom_worker::single_nonlooparound_use): ...this. + (remove_stmt): Renamed to... + (pcom_worker::remove_stmt): ...this. + (execute_pred_commoning_chain): Renamed to... + (pcom_worker::execute_pred_commoning_chain): ...this. + (execute_pred_commoning): Renamed to... + (pcom_worker::execute_pred_commoning): ...this. + (struct epcc_data): New member worker. + (execute_pred_commoning_cbck): Call execute_pred_commoning + with pcom_worker pointer. + (find_use_stmt): Renamed to... + (pcom_worker::find_use_stmt): ...this. + (find_associative_operation_root): Renamed to... + (pcom_worker::find_associative_operation_root): ...this. + (find_common_use_stmt): Renamed to... + (pcom_worker::find_common_use_stmt): ...this. + (combinable_refs_p): Renamed to... + (pcom_worker::combinable_refs_p): ...this. + (reassociate_to_the_same_stmt): Renamed to... + (pcom_worker::reassociate_to_the_same_stmt): ...this. + (stmt_combining_refs): Renamed to... + (pcom_worker::stmt_combining_refs): ...this. + (combine_chains): Renamed to... + (pcom_worker::combine_chains): ...this. + (try_combine_chains): Renamed to... + (pcom_worker::try_combine_chains): ...this. + (prepare_initializers_chain): Renamed to... + (pcom_worker::prepare_initializers_chain): ...this. + (prepare_initializers): Renamed to... + (pcom_worker::prepare_initializers): ...this. + (prepare_finalizers_chain): Renamed to... + (pcom_worker::prepare_finalizers_chain): ...this. + (prepare_finalizers): Renamed to... + (pcom_worker::prepare_finalizers): ...this. + (tree_predictive_commoning_loop): Renamed to... + (pcom_worker::tree_predictive_commoning_loop): ...this, adjust + some calls and remove some cleanup code. + (tree_predictive_commoning): Adjusted to use pcom_worker instance. + (static variable looparound_phis): Remove. + (static variable name_expansions): Remove. + +2021-06-24 Richard Biener + + * tree-vect-slp.c (slpg_vertex): New struct. + (vect_slp_build_vertices): Adjust. + (vect_optimize_slp): Likewise. Maintain an outgoing permute + and a materialized one. + +2021-06-24 Richard Biener + + PR tree-optimization/101105 + * tree-vect-data-refs.c (vect_prune_runtime_alias_test_list): + Only ignore steps when they are equal or scalar order is preserved. + +2021-06-24 liuhongt + + PR target/98434 + * config/i386/i386-expand.c (ix86_expand_vec_interleave): + Adjust comments for ix86_expand_vecop_qihi2. + (ix86_expand_vecmul_qihi): Renamed to .. + (ix86_expand_vecop_qihi2): Adjust function prototype to + support shift operation, add static to definition. + (ix86_expand_vec_shift_qihi_constant): Add static to definition. + (ix86_expand_vecop_qihi): Call ix86_expand_vecop_qihi2 and + ix86_expand_vec_shift_qihi_constant. + * config/i386/i386-protos.h (ix86_expand_vecmul_qihi): Deleted. + (ix86_expand_vec_shift_qihi_constant): Deleted. + * config/i386/sse.md (VI12_256_512_AVX512VL): New mode + iterator. + (mulv8qi3): Call ix86_expand_vecop_qihi directly, add + condition TARGET_64BIT. + (mul3): Ditto. + (3): Ditto. + (vlshr3): Extend to support avx512 vlshr. + (v3): New expander for + vashr/vlshr/vashl. + (vv8qi3): Ditto. + (vashrv8hi3): Renamed to .. + (vashr3): And extend to support V16QImode for avx512. + (vashrv16qi3): Deleted. + (vashrv2di3): Extend expander to support avx512 + instruction. + 2021-06-23 Dimitar Dimitrov * doc/lto.texi (Design Overview): Update that slim objects are diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index fb7726b9661..ed06b627c4d 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20210624 +20210625 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index ba218e652cc..1521f2db878 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,10 @@ +2021-06-24 Jakub Jelinek + + * c-common.h (enum c_omp_region_type): Add C_ORT_TARGET and + C_ORT_OMP_TARGET. + * c-omp.c (c_omp_split_clauses): For OMP_CLAUSE_IN_REDUCTION on + combined target constructs also add map (always, tofrom:) clause. + 2021-06-15 Robin Dapp * c-attribs.c (common_handle_aligned_attribute): Remove short diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 5751a3789e4..c38b6655abe 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,30 @@ +2021-06-24 Jakub Jelinek + + PR c/101176 + * c-parser.c (c_parser_has_attribute_expression): Set source range for + the result. + +2021-06-24 Jakub Jelinek + + PR c/101171 + * c-typeck.c (build_c_cast): Don't call note_integer_operands on + error_mark_node. + +2021-06-24 Jakub Jelinek + + * c-parser.c (omp_split_clauses): Pass C_ORT_OMP_TARGET instead of + C_ORT_OMP for clauses on target construct. + (OMP_TARGET_CLAUSE_MASK): Add in_reduction clause. + (c_parser_omp_target): For non-combined target add + map (always, tofrom:) clauses for OMP_CLAUSE_IN_REDUCTION. Pass + C_ORT_OMP_TARGET to c_finish_omp_clauses. + * c-typeck.c (handle_omp_array_sections): Adjust ort handling + for addition of C_ORT_OMP_TARGET and simplify, mapping clauses are + never present on C_ORT_*DECLARE_SIMD. + (c_finish_omp_clauses): Likewise. Handle OMP_CLAUSE_IN_REDUCTION + on C_ORT_OMP_TARGET, set OMP_CLAUSE_MAP_IN_REDUCTION on + corresponding map clauses. + 2021-06-21 Jakub Jelinek PR inline-asm/100785 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 368ef75781a..770d327bb7b 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,33 @@ +2021-06-24 Patrick Palka + + PR c++/98832 + * pt.c (maybe_aggr_guide): Handle alias templates appropriately. + +2021-06-24 Patrick Palka + + PR c++/101182 + * constraint.cc (evaluate_requires_expr): Adjust function comment. + * cp-gimplify.c (cp_genericize_r) : Move to ... + (cp_fold) : ... here. + +2021-06-24 Jakub Jelinek + + * parser.c (cp_omp_split_clauses): Pass C_ORT_OMP_TARGET instead of + C_ORT_OMP for clauses on target construct. + (OMP_TARGET_CLAUSE_MASK): Add in_reduction clause. + (cp_parser_omp_target): For non-combined target add + map (always, tofrom:) clauses for OMP_CLAUSE_IN_REDUCTION. Pass + C_ORT_OMP_TARGET to finish_omp_clauses. + * semantics.c (handle_omp_array_sections_1): Adjust ort handling + for addition of C_ORT_OMP_TARGET and simplify, mapping clauses are + never present on C_ORT_*DECLARE_SIMD. + (handle_omp_array_sections): Likewise. + (finish_omp_clauses): Likewise. Handle OMP_CLAUSE_IN_REDUCTION + on C_ORT_OMP_TARGET, set OMP_CLAUSE_MAP_IN_REDUCTION on + corresponding map clauses. + * pt.c (tsubst_expr): Pass C_ORT_OMP_TARGET instead of C_ORT_OMP for + clauses on target construct. + 2021-06-23 Patrick Palka PR c++/101174 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 9ad2094e2a0..6895330cd85 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,79 @@ +2021-06-24 Andrew MacLeod + + * gcc.dg/tree-ssa/evrp30.c: New. + +2021-06-24 Andrew MacLeod + + * gcc.dg/tree-ssa/pr101189.c: New. + +2021-06-24 Patrick Palka + + PR c++/98832 + * g++.dg/cpp2a/class-deduction-alias9.C: New test. + +2021-06-24 Patrick Palka + + PR c++/101182 + * g++.dg/cpp2a/concepts-requires25.C: New test. + +2021-06-24 Jakub Jelinek + + PR c/101171 + * gcc.dg/pr101171.c: New test. + +2021-06-24 Uroš Bizjak + + PR target/89021 + * gcc.dg/vect/vect-nb-iter-ub-3.c (dg-additional-options): + Add --param vect-epilogues-nomask=0. + * gcc.target/i386/pr97249-1.c (foo): Add #pragma GCC unroll + to avoid loop vectorization. + (foo1): Ditto. + (foo2): Ditto. + +2021-06-24 Richard Biener + + * gcc.target/i386/vect-addsubv2df.c: New testcase. + * gcc.target/i386/vect-addsubv4sf.c: Likewise. + * gcc.target/i386/vect-addsubv4df.c: Likewise. + * gcc.target/i386/vect-addsubv8sf.c: Likewise. + * gcc.target/i386/vect-addsub-2.c: Likewise. + * gcc.target/i386/vect-addsub-3.c: Likewise. + +2021-06-24 Jakub Jelinek + + PR middle-end/101170 + * gcc.dg/pr101170.c: New test. + +2021-06-24 Jakub Jelinek + + PR middle-end/101172 + * gcc.dg/pr101172.c: New test. + +2021-06-24 Ilya Leoshkevich + + * gcc.target/s390/mnop-mcount-m31-mzarch.c: Adapt to the new + prologue size. + * gcc.target/s390/mnop-mcount-m64.c: Likewise. + +2021-06-24 Jakub Jelinek + + * c-c++-common/gomp/target-in-reduction-1.c: New test. + * c-c++-common/gomp/clauses-1.c: Add in_reduction clauses on + target or combined target constructs. + +2021-06-24 Richard Biener + + PR tree-optimization/101105 + * gcc.dg/torture/pr101105.c: New testcase. + +2021-06-24 liuhongt + + PR target/98434 + * gcc.target/i386/pr98434-1.c: New test. + * gcc.target/i386/pr98434-2.c: New test. + * gcc.target/i386/avx512vl-pr95488-1.c: Adjust testcase. + 2021-06-23 Patrick Palka PR c++/101174 diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 6a87abba666..640d6fa3c1a 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,10 @@ +2021-06-24 Jakub Jelinek + + * testsuite/libgomp.c-c++-common/target-in-reduction-1.c: New test. + * testsuite/libgomp.c-c++-common/target-in-reduction-2.c: New test. + * testsuite/libgomp.c++/target-in-reduction-1.C: New test. + * testsuite/libgomp.c++/target-in-reduction-2.C: New test. + 2021-06-23 Jakub Jelinek PR middle-end/101167 diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 08355108daa..58d591cccfb 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,89 @@ +2021-06-24 Matthias Kretz + + * include/experimental/bits/simd_math.h + (_GLIBCXX_SIMD_MATH_CALL2_): Rename arg2_ to __arg2. + (_GLIBCXX_SIMD_MATH_CALL3_): Rename arg2_ to __arg2 and arg3_ to + __arg3. + +2021-06-24 Matthias Kretz + + * include/experimental/bits/simd.h (__execute_on_index_sequence) + (__execute_on_index_sequence_with_return) + (__call_with_n_evaluations, __call_with_subscripts): Add flatten + attribute. + +2021-06-24 Matthias Kretz + + * include/experimental/bits/simd_x86.h (_S_trunc, _S_floor) + (_S_ceil): Set bit 8 (_MM_FROUND_NO_EXC) on AVX and SSE4.1 + roundp[sd] calls. + +2021-06-24 Matthias Kretz + + * include/experimental/bits/simd_x86.h (_S_ldexp): The AVX512F + implementation doesn't require a _VecBltnBtmsk ABI tag, it + requires either a 64-Byte input (in which case AVX512F must be + available) or AVX512VL. + +2021-06-24 Matthias Kretz + + * include/experimental/bits/simd_math.h: Undefine internal + macros after use. + (frexp): Move #if to a more sensible position and reformat + preceding code. + (logb): Call _SimdImpl::_S_logb for fixed_size instead of + duplicating the code here. + (modf): Simplify condition. + +2021-06-24 Matthias Kretz + + * include/experimental/bits/simd_math.h (fabs): Remove + fabs(simd) overload. + +2021-06-24 Matthias Kretz + + * include/experimental/bits/simd_converter.h + (_SimdConverter::operator()): Pass _SimdTuple by const-ref. + * include/experimental/bits/simd_fixed_size.h + (_GLIBCXX_SIMD_FIXED_OP): Pass binary operator _SimdTuple + arguments by const-ref. + (_S_masked_unary): Pass _SimdTuple by const-ref. + +2021-06-24 Matthias Kretz + + * include/experimental/bits/simd_fixed_size.h + (_AbisInSimdTuple): Removed. + +2021-06-24 Matthias Kretz + + * include/experimental/bits/simd.h: Add missing operator~ + overload for simd to __float_bitwise_operators. + * include/experimental/bits/simd_builtin.h + (_SimdImplBuiltin::_S_complement): Bitcast to int (and back) to + implement complement for floating-point vectors. + * include/experimental/bits/simd_fixed_size.h + (_SimdImplFixedSize::_S_copysign): New function, forwarding to + copysign implementation of _SimdTuple members. + * include/experimental/bits/simd_math.h (copysign): Call + _SimdImpl::_S_copysign for fixed_size arguments. Simplify + generic copysign implementation using the new ~ operator. + +2021-06-24 Jonathan Wakely + + * testsuite/experimental/simd/README.md: Fix typos. + +2021-06-24 Jonathan Wakely + + * include/bits/shared_ptr_base.h (__shared_ptr_access::operator[]): + Add noexcept. + * include/bits/unique_ptr.h (unique_ptr::operator*): Add + conditional noexcept as per LWG 2762. + * testsuite/20_util/shared_ptr/observers/array.cc: Check that + dereferencing cannot throw. + * testsuite/20_util/shared_ptr/observers/get.cc: Likewise. + * testsuite/20_util/optional/observers/lwg2762.cc: New test. + * testsuite/20_util/unique_ptr/lwg2762.cc: New test. + 2021-06-23 Patrick Palka PR c++/101174