Daily bump.
This commit is contained in:
parent
96292c3e34
commit
019a922063
@ -1,3 +1,39 @@
|
||||
2021-04-08 David Edelsohn <dje.gcc@gmail.com>
|
||||
|
||||
* config/rs6000/rs6000.c (rs6000_xcoff_select_section): Select
|
||||
TLS BSS before TLS data.
|
||||
* config/rs6000/xcoff.h (ASM_OUTPUT_TLS_COMMON): Use .comm.
|
||||
|
||||
2021-04-08 Richard Sandiford <richard.sandiford@arm.com>
|
||||
|
||||
* doc/sourcebuild.texi (stdint_types_mbig_endian): Document.
|
||||
|
||||
2021-04-08 Richard Sandiford <richard.sandiford@arm.com>
|
||||
|
||||
* match.pd: Extend vec_cond folds to handle shifts.
|
||||
|
||||
2021-04-08 Maciej W. Rozycki <macro@orcam.me.uk>
|
||||
|
||||
* config/vax/vax.md: Fix comment for `*bit<mode>' pattern's
|
||||
peephole.
|
||||
|
||||
2021-04-08 Alex Coplan <alex.coplan@arm.com>
|
||||
|
||||
PR target/99647
|
||||
* config/arm/iterators.md (MVE_vecs): New.
|
||||
(V_elem): Also handle V2DF.
|
||||
* config/arm/mve.md (*mve_mov<mode>): Rename to ...
|
||||
(*mve_vdup<mode>): ... this. Remove second alternative since
|
||||
vec_duplicate of const_int is not canonical RTL, and we don't
|
||||
want to match symbol_refs.
|
||||
(*mve_vec_duplicate<mode>): Delete (pattern is redundant).
|
||||
|
||||
2021-04-08 Xionghu Luo <luoxhu@linux.ibm.com>
|
||||
|
||||
* fold-const.c (fold_single_bit_test): Fix typo.
|
||||
* print-rtl.c (print_rtx_insn_vec): Call print_rtl_single
|
||||
instead.
|
||||
|
||||
2021-04-07 Richard Sandiford <richard.sandiford@arm.com>
|
||||
|
||||
PR tree-optimization/97513
|
||||
|
@ -1 +1 @@
|
||||
20210408
|
||||
20210409
|
||||
|
@ -1,3 +1,97 @@
|
||||
2021-04-08 David Malcolm <dmalcolm@redhat.com>
|
||||
|
||||
PR analyzer/99042
|
||||
PR analyzer/99774
|
||||
* engine.cc
|
||||
(impl_region_model_context::impl_region_model_context): Add
|
||||
uncertainty param and use it to initialize m_uncertainty.
|
||||
(impl_region_model_context::get_uncertainty): New.
|
||||
(impl_sm_context::get_fndecl_for_call): Add NULL for new
|
||||
uncertainty param when constructing impl_region_model_context.
|
||||
(impl_sm_context::get_state): Likewise.
|
||||
(impl_sm_context::set_next_state): Likewise.
|
||||
(impl_sm_context::warn): Likewise.
|
||||
(exploded_node::on_stmt): Add uncertainty param
|
||||
and use it when constructing impl_region_model_context.
|
||||
(exploded_node::on_edge): Add uncertainty param and pass
|
||||
to on_edge call.
|
||||
(exploded_node::detect_leaks): Create uncertainty_t and pass to
|
||||
impl_region_model_context.
|
||||
(exploded_graph::get_or_create_node): Create uncertainty_t and
|
||||
pass to prune_for_point.
|
||||
(maybe_process_run_of_before_supernode_enodes): Create
|
||||
uncertainty_t and pass to impl_region_model_context.
|
||||
(exploded_graph::process_node): Create uncertainty_t instances and
|
||||
pass around as needed.
|
||||
* exploded-graph.h
|
||||
(impl_region_model_context::impl_region_model_context): Add
|
||||
uncertainty param.
|
||||
(impl_region_model_context::get_uncertainty): New decl.
|
||||
(impl_region_model_context::m_uncertainty): New field.
|
||||
(exploded_node::on_stmt): Add uncertainty param.
|
||||
(exploded_node::on_edge): Likewise.
|
||||
* program-state.cc (sm_state_map::on_liveness_change): Get
|
||||
uncertainty from context and use it to unset sm-state from
|
||||
svalues as appropriate.
|
||||
(program_state::on_edge): Add uncertainty param and use it when
|
||||
constructing impl_region_model_context. Fix indentation.
|
||||
(program_state::prune_for_point): Add uncertainty param and use it
|
||||
when constructing impl_region_model_context.
|
||||
(program_state::detect_leaks): Get any uncertainty from ctxt and
|
||||
use it to get maybe-live svalues for dest_state, rather than
|
||||
definitely-live ones; use this when determining which svalues
|
||||
have leaked.
|
||||
(selftest::test_program_state_merging): Create uncertainty_t and
|
||||
pass to impl_region_model_context.
|
||||
* program-state.h (program_state::on_edge): Add uncertainty param.
|
||||
(program_state::prune_for_point): Likewise.
|
||||
* region-model-impl-calls.cc (call_details::get_uncertainty): New.
|
||||
(region_model::impl_call_memcpy): Pass uncertainty to
|
||||
mark_region_as_unknown call.
|
||||
(region_model::impl_call_memset): Likewise.
|
||||
(region_model::impl_call_strcpy): Likewise.
|
||||
* region-model-reachability.cc (reachable_regions::handle_sval):
|
||||
Also add sval to m_mutable_svals.
|
||||
* region-model.cc (region_model::on_assignment): Pass any
|
||||
uncertainty from ctxt to the store::set_value call.
|
||||
(region_model::handle_unrecognized_call): Get any uncertainty from
|
||||
ctxt and use it to record mutable svalues at the unknown call.
|
||||
(region_model::get_reachable_svalues): Add uncertainty param and
|
||||
use it to mark any maybe-bound svalues as being reachable.
|
||||
(region_model::set_value): Pass any uncertainty from ctxt to the
|
||||
store::set_value call.
|
||||
(region_model::mark_region_as_unknown): Add uncertainty param and
|
||||
pass it on to the store::mark_region_as_unknown call.
|
||||
(region_model::update_for_call_summary): Add uncertainty param and
|
||||
pass it on to the region_model::mark_region_as_unknown call.
|
||||
* region-model.h (call_details::get_uncertainty): New decl.
|
||||
(region_model::get_reachable_svalues): Add uncertainty param.
|
||||
(region_model::mark_region_as_unknown): Add uncertainty param.
|
||||
(region_model_context::get_uncertainty): New vfunc.
|
||||
(noop_region_model_context::get_uncertainty): New vfunc
|
||||
implementation.
|
||||
* store.cc (dump_svalue_set): New.
|
||||
(uncertainty_t::dump_to_pp): New.
|
||||
(uncertainty_t::dump): New.
|
||||
(binding_cluster::clobber_region): Pass NULL for uncertainty to
|
||||
remove_overlapping_bindings.
|
||||
(binding_cluster::mark_region_as_unknown): Add uncertainty param
|
||||
and pass it to remove_overlapping_bindings.
|
||||
(binding_cluster::remove_overlapping_bindings): Add uncertainty param.
|
||||
Use it to record any svalues that were in clobbered bindings.
|
||||
(store::set_value): Add uncertainty param. Pass it to
|
||||
binding_cluster::mark_region_as_unknown when handling symbolic
|
||||
regions.
|
||||
(store::mark_region_as_unknown): Add uncertainty param and pass it
|
||||
to binding_cluster::mark_region_as_unknown.
|
||||
(store::remove_overlapping_bindings): Add uncertainty param and
|
||||
pass it to binding_cluster::remove_overlapping_bindings.
|
||||
* store.h (binding_cluster::mark_region_as_unknown): Add
|
||||
uncertainty param.
|
||||
(binding_cluster::remove_overlapping_bindings): Likewise.
|
||||
(store::set_value): Likewise.
|
||||
(store::mark_region_as_unknown): Likewise.
|
||||
|
||||
2021-04-05 David Malcolm <dmalcolm@redhat.com>
|
||||
|
||||
PR analyzer/99906
|
||||
|
@ -1,3 +1,19 @@
|
||||
2021-04-08 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* c-warn.c (do_warn_double_promotion): Fix comment typo,
|
||||
occured -> occurred.
|
||||
(check_alignment_of_packed_member): Fix a comment typo,
|
||||
memeber -> member.
|
||||
(warn_parm_ptrarray_mismatch): Fix comment typos, os -> of
|
||||
and onless -> unless.
|
||||
(warn_parm_array_mismatch): Fix comment typos, declaratation
|
||||
-> declaration and woud -> would. Fix up comment indentation.
|
||||
|
||||
2021-04-08 Martin Sebor <msebor@redhat.com>
|
||||
|
||||
PR middle-end/99883
|
||||
* c.opt (Wmismatched-new-delete): Correct spelling.
|
||||
|
||||
2021-04-05 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* c-ada-spec.c (is_simple_enum): Minor tweaks.
|
||||
|
@ -1,3 +1,65 @@
|
||||
2021-04-08 Patrick Palka <ppalka@redhat.com>
|
||||
|
||||
PR c++/99874
|
||||
* constraint.cc (get_normalized_constraints_from_decl): Handle
|
||||
regenerated lambdas.
|
||||
(satisfy_declaration_constraints): Likewise. Check for
|
||||
dependent args later.
|
||||
* cp-tree.h (LAMBDA_EXPR_INSTANTIATED): Replace with ...
|
||||
(LAMBDA_EXPR_REGENERATED_FROM): ... this.
|
||||
(LAMBDA_EXPR_REGENERATING_TARGS): New.
|
||||
(tree_lambda_expr::regenerated_from): New data member.
|
||||
(tree_lambda_expr::regenerating_targs): New data member.
|
||||
(add_to_template_args): Declare.
|
||||
(regenerated_lambda_fn_p): Likewise.
|
||||
(most_general_lambda): Likewise.
|
||||
* lambda.c (build_lambda_expr): Set LAMBDA_EXPR_REGENERATED_FROM
|
||||
and LAMBDA_EXPR_REGENERATING_TARGS.
|
||||
* pt.c (add_to_template_args): No longer static.
|
||||
(tsubst_function_decl): Unconditionally propagate constraints on
|
||||
the substituted function decl.
|
||||
(instantiated_lambda_fn_p): Rename to ...
|
||||
(regenerated_lambda_fn_p): ... this. Check
|
||||
LAMBDA_EXPR_REGENERATED_FROM instead of
|
||||
LAMBDA_EXPR_INSTANTIATED.
|
||||
(most_general_lambda): Define.
|
||||
(enclosing_instantiation_of): Adjust after renaming
|
||||
instantiated_lambda_fn_p.
|
||||
(tsubst_lambda_expr): Don't set LAMBDA_EXPR_INSTANTIATED. Set
|
||||
LAMBDA_EXPR_REGENERATED_FROM and LAMBDA_EXPR_REGENERATING_TARGS.
|
||||
Don't substitute or set constraints on the regenerated lambda.
|
||||
|
||||
2021-04-08 Patrick Palka <ppalka@redhat.com>
|
||||
|
||||
PR c++/97679
|
||||
* pt.c (build_deduction_guide): Document OUTER_ARGS. Substitute
|
||||
them into the propagated constraints.
|
||||
|
||||
2021-04-08 Jason Merrill <jason@redhat.com>
|
||||
|
||||
PR c++/91849
|
||||
* call.c (convert_like_internal): Improve reference diagnostic.
|
||||
|
||||
2021-04-08 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR c++/99859
|
||||
* constexpr.c (addr_of_non_const_var): New function.
|
||||
(cxx_bind_parameters_in_call): Set *non_constant_args to true
|
||||
even if cp_walk_tree on arg with addr_of_non_const_var callback
|
||||
returns true.
|
||||
|
||||
2021-04-08 Jason Merrill <jason@redhat.com>
|
||||
|
||||
PR c++/94529
|
||||
* pt.c (determine_specialization): Improve diagnostic.
|
||||
|
||||
2021-04-08 Marek Polacek <polacek@redhat.com>
|
||||
|
||||
PR c++/99844
|
||||
* decl.c (build_explicit_specifier): Call
|
||||
check_for_bare_parameter_packs.
|
||||
* except.c (build_noexcept_spec): Likewise.
|
||||
|
||||
2021-04-07 Jason Merrill <jason@redhat.com>
|
||||
|
||||
PR c++/41723
|
||||
|
@ -1,3 +1,46 @@
|
||||
2021-04-08 Iain Buclaw <ibuclaw@gdcproject.org>
|
||||
|
||||
* d-attribs.cc: Include fold-const.h and opts.h.
|
||||
(attr_noreturn_exclusions): Add alloc_size.
|
||||
(attr_const_pure_exclusions): Likewise.
|
||||
(attr_inline_exclusions): Add target_clones.
|
||||
(attr_noinline_exclusions): Rename forceinline to always_inline.
|
||||
(attr_target_exclusions): New array.
|
||||
(attr_target_clones_exclusions): New array.
|
||||
(attr_alloc_exclusions): New array.
|
||||
(attr_cold_hot_exclusions): New array.
|
||||
(d_langhook_common_attribute_table): Add new D attribute handlers.
|
||||
(build_attributes): Update to look for gcc.attributes. Issue warning
|
||||
if not given a struct literal. Handle void initialized arguments.
|
||||
(handle_always_inline_attribute): Remove function.
|
||||
(d_handle_noinline_attribute): Don't extract TYPE_LANG_FRONTEND.
|
||||
(d_handle_forceinline_attribute): Rename to...
|
||||
(d_handle_always_inline_attribute): ...this. Remove special handling.
|
||||
(d_handle_flatten_attribute): Don't extract TYPE_LANG_FRONTEND.
|
||||
(d_handle_target_attribute): Likewise. Warn about empty arguments.
|
||||
(d_handle_target_clones_attribute): New function.
|
||||
(optimize_args): New static variable.
|
||||
(parse_optimize_options): New function.
|
||||
(d_handle_optimize_attribute): New function.
|
||||
(d_handle_noclone_attribute): Don't extract TYPE_LANG_FRONTEND.
|
||||
(d_handle_alias_attribute): Remove function.
|
||||
(d_handle_noicf_attribute): New function.
|
||||
(d_handle_noipa_attribute): New function.
|
||||
(d_handle_section_attribute): Call the handle_generic_attribute target
|
||||
hook after performing target independent processing.
|
||||
(d_handle_symver_attribute): New function.
|
||||
(d_handle_noplt_attribute): New function.
|
||||
(positional_argument): New function.
|
||||
(d_handle_alloc_size_attribute): New function.
|
||||
(d_handle_cold_attribute): New function.
|
||||
(d_handle_restrict_attribute): New function.
|
||||
(d_handle_used_attribute): New function.
|
||||
* decl.cc (gcc_attribute_p): Update to look for gcc.attributes.
|
||||
(get_symbol_decl): Update decl source location of old prototypes to
|
||||
the new declaration being merged.
|
||||
* types.cc (layout_aggregate_members): Apply user defined attributes
|
||||
on fields.
|
||||
|
||||
2021-04-06 Iain Buclaw <ibuclaw@gdcproject.org>
|
||||
|
||||
PR d/99917
|
||||
|
@ -1,3 +1,8 @@
|
||||
2021-04-08 Martin Sebor <msebor@redhat.com>
|
||||
|
||||
PR middle-end/99883
|
||||
* lto-lang.c (lto_post_options): Correct spelling.
|
||||
|
||||
2021-02-28 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR c/99304
|
||||
|
@ -1,3 +1,139 @@
|
||||
2021-04-08 David Edelsohn <dje.gcc@gmail.com>
|
||||
|
||||
* g++.dg/gomp/tls-5.C: Expect tbss failure on AIX.
|
||||
|
||||
2021-04-08 Patrick Palka <ppalka@redhat.com>
|
||||
|
||||
PR c++/99874
|
||||
* g++.dg/cpp2a/concepts-lambda16.C: New test.
|
||||
* g++.dg/cpp2a/concepts-lambda17.C: New test.
|
||||
|
||||
2021-04-08 Patrick Palka <ppalka@redhat.com>
|
||||
|
||||
PR c++/97679
|
||||
* g++.dg/cpp2a/concepts-ctad3.C: New test.
|
||||
|
||||
2021-04-08 Richard Sandiford <richard.sandiford@arm.com>
|
||||
|
||||
* lib/scanasm.exp (scan-lto-assembler): Update expected name
|
||||
of dump file.
|
||||
|
||||
2021-04-08 Richard Sandiford <richard.sandiford@arm.com>
|
||||
|
||||
* lib/target-supports.exp
|
||||
(check_effective_target_stdint_types_mbig_endian): New proc.
|
||||
* gcc.target/aarch64/advsimd-intrinsics/bf16_get-be.c: Require
|
||||
stdint_types_mbig_endian.
|
||||
* gcc.target/aarch64/advsimd-intrinsics/bfdot-2.c: Likewise.
|
||||
* gcc.target/aarch64/advsimd-intrinsics/vdot-3-2.c: Likewise.
|
||||
|
||||
2021-04-08 Jason Merrill <jason@redhat.com>
|
||||
|
||||
PR c++/91849
|
||||
* g++.dg/conversion/pr66211.C: Adjust diagnostic.
|
||||
* g++.dg/conversion/ref7.C: New test.
|
||||
|
||||
2021-04-08 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR c++/99859
|
||||
* g++.dg/cpp1y/constexpr-99859-1.C: New test.
|
||||
* g++.dg/cpp1y/constexpr-99859-2.C: New test.
|
||||
* g++.dg/cpp2a/constexpr-new18.C: New test.
|
||||
* g++.dg/cpp2a/constexpr-new19.C: New test.
|
||||
|
||||
2021-04-08 Richard Sandiford <richard.sandiford@arm.com>
|
||||
|
||||
* gcc.dg/vect/pr99102.c: Add -fdump-tree-vect-details.
|
||||
|
||||
2021-04-08 Richard Sandiford <richard.sandiford@arm.com>
|
||||
|
||||
* gcc.target/aarch64/sve/acle/general-c/func_redef_1.c: Remove
|
||||
"was here" from error message.
|
||||
* gcc.target/aarch64/sve/acle/general-c/func_redef_2.c: Likewise.
|
||||
* gcc.target/aarch64/sve/acle/general-c/func_redef_3.c: Likewise.
|
||||
* gcc.target/aarch64/sve/acle/general-c/func_redef_6.c: Likewise.
|
||||
* gcc.target/aarch64/sve/acle/general-c/type_redef_1.c: Likewise.
|
||||
* gcc.target/aarch64/sve/acle/general-c/type_redef_2.c: Likewise.
|
||||
* gcc.target/aarch64/sve/acle/general-c/type_redef_3.c: Likewise.
|
||||
* gcc.target/aarch64/sve/acle/general-c/type_redef_4.c: Likewise.
|
||||
* gcc.target/aarch64/sve/acle/general-c/type_redef_5.c: Likewise.
|
||||
* gcc.target/aarch64/sve/acle/general-c/type_redef_6.c: Likewise.
|
||||
* gcc.target/aarch64/sve/acle/general-c/type_redef_8.c: Likewise.
|
||||
* gcc.target/aarch64/sve/acle/general-c/type_redef_9.c: Likewise.
|
||||
* gcc.target/aarch64/sve/acle/general-c/type_redef_10.c: Likewise.
|
||||
* gcc.target/aarch64/sve/acle/general-c/type_redef_13.c: Likewise.
|
||||
|
||||
2021-04-08 Richard Sandiford <richard.sandiford@arm.com>
|
||||
|
||||
* gcc.target/aarch64/asimd-mull-elem.c: Add +nosve.
|
||||
* gcc.target/aarch64/pr98772.c: Likewise.
|
||||
* gcc.target/aarch64/simd/vect_su_add_sub.c: Likewise.
|
||||
|
||||
2021-04-08 Richard Sandiford <richard.sandiford@arm.com>
|
||||
|
||||
* gcc.target/aarch64/sve/mul_2.c: Adjust negative constants to avoid
|
||||
conversion to shifts and adds.
|
||||
|
||||
2021-04-08 David Malcolm <dmalcolm@redhat.com>
|
||||
|
||||
PR analyzer/99042
|
||||
PR analyzer/99774
|
||||
* gcc.dg/analyzer/pr99042.c: New test.
|
||||
* gcc.dg/analyzer/pr99774-1.c: New test.
|
||||
* gcc.dg/analyzer/pr99774-2.c: New test.
|
||||
|
||||
2021-04-08 Iain Buclaw <ibuclaw@gdcproject.org>
|
||||
|
||||
* gdc.dg/gdc108.d: Update test.
|
||||
* gdc.dg/gdc142.d: Likewise.
|
||||
* gdc.dg/pr90136a.d: Likewise.
|
||||
* gdc.dg/pr90136b.d: Likewise.
|
||||
* gdc.dg/pr90136c.d: Likewise.
|
||||
* gdc.dg/pr95173.d: Likewise.
|
||||
* gdc.dg/attr_allocsize1.d: New test.
|
||||
* gdc.dg/attr_allocsize2.d: New test.
|
||||
* gdc.dg/attr_alwaysinline1.d: New test.
|
||||
* gdc.dg/attr_cold1.d: New test.
|
||||
* gdc.dg/attr_exclusions1.d: New test.
|
||||
* gdc.dg/attr_exclusions2.d: New test.
|
||||
* gdc.dg/attr_flatten1.d: New test.
|
||||
* gdc.dg/attr_module.d: New test.
|
||||
* gdc.dg/attr_noclone1.d: New test.
|
||||
* gdc.dg/attr_noicf1.d: New test.
|
||||
* gdc.dg/attr_noinline1.d: New test.
|
||||
* gdc.dg/attr_noipa1.d: New test.
|
||||
* gdc.dg/attr_noplt1.d: New test.
|
||||
* gdc.dg/attr_optimize1.d: New test.
|
||||
* gdc.dg/attr_optimize2.d: New test.
|
||||
* gdc.dg/attr_optimize3.d: New test.
|
||||
* gdc.dg/attr_optimize4.d: New test.
|
||||
* gdc.dg/attr_restrict1.d: New test.
|
||||
* gdc.dg/attr_section1.d: New test.
|
||||
* gdc.dg/attr_symver1.d: New test.
|
||||
* gdc.dg/attr_target1.d: New test.
|
||||
* gdc.dg/attr_targetclones1.d: New test.
|
||||
* gdc.dg/attr_used1.d: New test.
|
||||
* gdc.dg/attr_used2.d: New test.
|
||||
* gdc.dg/attr_weak1.d: New test.
|
||||
* gdc.dg/imports/attributes.d: New test.
|
||||
|
||||
2021-04-08 Jason Merrill <jason@redhat.com>
|
||||
|
||||
PR c++/94529
|
||||
* g++.dg/template/mem-spec2.C: New test.
|
||||
|
||||
2021-04-08 Marek Polacek <polacek@redhat.com>
|
||||
|
||||
PR c++/99844
|
||||
* g++.dg/cpp2a/explicit16.C: Use c++20.
|
||||
* g++.dg/cpp0x/noexcept66.C: New test.
|
||||
* g++.dg/cpp2a/explicit17.C: New test.
|
||||
|
||||
2021-04-08 Alex Coplan <alex.coplan@arm.com>
|
||||
|
||||
PR target/99647
|
||||
* gcc.c-torture/compile/pr99647.c: New test.
|
||||
|
||||
2021-04-07 Jason Merrill <jason@redhat.com>
|
||||
|
||||
PR c++/41723
|
||||
|
@ -1,3 +1,13 @@
|
||||
2021-04-08 Iain Buclaw <ibuclaw@gdcproject.org>
|
||||
|
||||
* libdruntime/Makefile.am (DRUNTIME_DSOURCES): Add
|
||||
gcc/attributes.d.
|
||||
* libdruntime/Makefile.in: Regenerate.
|
||||
* libdruntime/gcc/attribute.d: Deprecate module, publicly import
|
||||
gcc.attributes.
|
||||
* libdruntime/gcc/deh.d: Update imports.
|
||||
* libdruntime/gcc/attributes.d: New file.
|
||||
|
||||
2021-04-06 Iain Buclaw <ibuclaw@gdcproject.org>
|
||||
|
||||
* libdruntime/MERGE: Merge upstream druntime 1134b710.
|
||||
|
@ -1,3 +1,153 @@
|
||||
2021-04-08 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
* include/bits/basic_string.h: Tweak doxygen comment.
|
||||
|
||||
2021-04-08 Patrick Palka <ppalka@redhat.com>
|
||||
|
||||
* include/std/ranges (__detail::find): Define.
|
||||
(split_view::_OuterIter::operator++): Apply proposed resolution
|
||||
of LWG 3505.
|
||||
* testsuite/std/ranges/adaptors/split.cc (test10): New test.
|
||||
|
||||
2021-04-08 Patrick Palka <ppalka@redhat.com>
|
||||
|
||||
* include/std/ranges (__detail::find_if): Simplify.
|
||||
(__detail::find_if_not): Likewise.
|
||||
(__detail::min): Remove.
|
||||
(__detail::mismatch): Simplify.
|
||||
(take_view::size): Use std::min instead of __detail::min.
|
||||
|
||||
2021-04-08 Patrick Palka <ppalka@redhat.com>
|
||||
|
||||
* include/std/ranges (__detail::__returnable_element): New
|
||||
concept.
|
||||
(elements_view): Use this concept in its constraints. Add
|
||||
missing private access specifier.
|
||||
(elements_view::_S_get_element): Define as per LWG 3502.
|
||||
(elements_view::operator*, elements_view::operator[]): Use
|
||||
_S_get_element.
|
||||
(elements_view::operator++): Remove unnecessary constraint
|
||||
as per LWG 3492.
|
||||
* testsuite/std/ranges/adaptors/elements.cc (test05): New test.
|
||||
|
||||
2021-04-08 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
* doc/Makefile.am (stamp-pdf-doxygen): Also grep for
|
||||
out-of-memory error in log file.
|
||||
* doc/Makefile.in: Regenerate.
|
||||
|
||||
2021-04-08 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
* configure: Regenerate.
|
||||
|
||||
2021-04-08 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
* include/bits/random.h: Fix doxygen group commands.
|
||||
* include/bits/regex_constants.h: Likewise.
|
||||
* include/tr1/random.h: Likewise.
|
||||
|
||||
2021-04-08 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
* include/bits/hashtable.h (_Hashtable::_S_nothrow_move()):
|
||||
New function to determine noexcept-specifier for move
|
||||
constructors.
|
||||
(_Hashtable): Use _S_nothrow_move() on move constructors.
|
||||
* testsuite/23_containers/unordered_map/cons/noexcept_move_construct.cc:
|
||||
Correct static assertion message.
|
||||
* testsuite/23_containers/unordered_multimap/cons/noexcept_move_construct.cc:
|
||||
Likewise.
|
||||
* testsuite/23_containers/unordered_multiset/cons/noexcept_move_construct.cc:
|
||||
Likewise.
|
||||
* testsuite/23_containers/unordered_set/cons/noexcept_move_construct.cc:
|
||||
Likewise.
|
||||
|
||||
2021-04-08 Patrick Palka <ppalka@redhat.com>
|
||||
|
||||
PR libstdc++/98384
|
||||
* testsuite/20_util/to_chars/long_double.cc: Don't run the test
|
||||
on targets without a large long double. XFAIL the execution on
|
||||
targets with a non-conforming printf.
|
||||
|
||||
2021-04-08 Patrick Palka <ppalka@redhat.com>
|
||||
|
||||
PR libstdc++/99433
|
||||
* include/std/ranges (__adaptor::__maybe_refwrap): Remove.
|
||||
(__adaptor::__adaptor_invocable): New concept.
|
||||
(__adaptor::__adaptor_partial_app_viable): New concept.
|
||||
(__adaptor::_RangeAdaptorClosure): Rewrite, turning it into a
|
||||
non-template base class.
|
||||
(__adaptor::_RangeAdaptor): Rewrite, turning it into a CRTP base
|
||||
class template.
|
||||
(__adaptor::_Partial): New class template that represents
|
||||
partial application of a range adaptor non-closure.
|
||||
(__adaptor::__pipe_invocable): New concept.
|
||||
(__adaptor::_Pipe): New class template.
|
||||
(__detail::__can_ref_view): New concept.
|
||||
(__detail::__can_subrange): New concept.
|
||||
(all): Replace the lambda here with ...
|
||||
(_All): ... this functor. Add appropriate constraints.
|
||||
(__detail::__can_filter_view): New concept.
|
||||
(filter, _Filter): As in all/_All.
|
||||
(__detail::__can_transform): New concept.
|
||||
(transform, _Transform): As in all/_All.
|
||||
(__detail::__can_take_view): New concept.
|
||||
(take, _Take): As in all/_All.
|
||||
(__detail::__can_take_while_view): New concept.
|
||||
(take_while, _TakeWhile): As in all/_All.
|
||||
(__detail::__can_drop_view): New concept.
|
||||
(drop, _Drop): As in all/_All.
|
||||
(__detail::__can_drop_while_view): New concept.
|
||||
(drop_while, _DropWhile): As in all/_All.
|
||||
(__detail::__can_join_view): New concept.
|
||||
(join, _Join): As in all/_All.
|
||||
(__detail::__can_split_view): New concept.
|
||||
(split, _Split): As in all/_All. Rename template parameter
|
||||
_Fp to _Pattern.
|
||||
(__detail::__already_common): New concept.
|
||||
(__detail::__can_common_view): New concept.
|
||||
(common, _Common): As in all/_All.
|
||||
(__detail::__can_reverse_view): New concept.
|
||||
(reverse, _Reverse): As in all/_All.
|
||||
(__detail::__can_elements_view): New concept.
|
||||
(elements, _Elements): As in all/_All.
|
||||
(keys, values): Adjust.
|
||||
* testsuite/std/ranges/adaptors/99433.cc: New test.
|
||||
* testsuite/std/ranges/adaptors/all.cc: No longer expect that
|
||||
adding empty range adaptor closure objects to a pipeline doesn't
|
||||
increase the size of the pipeline.
|
||||
(test05): New test.
|
||||
* testsuite/std/ranges/adaptors/common.cc (test03): New test.
|
||||
* testsuite/std/ranges/adaptors/drop.cc (test09): New test.
|
||||
* testsuite/std/ranges/adaptors/drop_while.cc (test04): New test.
|
||||
* testsuite/std/ranges/adaptors/elements.cc (test04): New test.
|
||||
* testsuite/std/ranges/adaptors/filter.cc (test06): New test.
|
||||
* testsuite/std/ranges/adaptors/join.cc (test09): New test.
|
||||
* testsuite/std/ranges/adaptors/p2281.cc: New test.
|
||||
* testsuite/std/ranges/adaptors/reverse.cc (test07): New test.
|
||||
* testsuite/std/ranges/adaptors/split.cc (test01, test04):
|
||||
Adjust.
|
||||
(test09): New test.
|
||||
* testsuite/std/ranges/adaptors/split_neg.cc (test01): Adjust
|
||||
expected error message.
|
||||
(test02): Likewise. Extend test.
|
||||
* testsuite/std/ranges/adaptors/take.cc (test06): New test.
|
||||
* testsuite/std/ranges/adaptors/take_while.cc (test05): New test.
|
||||
* testsuite/std/ranges/adaptors/transform.cc (test07, test08):
|
||||
New test.
|
||||
|
||||
2021-04-08 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
* include/std/string_view: Adjust Doxygen @file comment.
|
||||
|
||||
2021-04-08 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
* include/std/type_traits (is_scoped_enum<T>): Constrain partial
|
||||
specialization to not match incomplete enum types. Use a
|
||||
requires-expression instead of instantiating is_convertible.
|
||||
(is_scoped_enum<const T>): Add as workaround for PR c++/99968.
|
||||
* testsuite/20_util/is_scoped_enum/value.cc: Check with
|
||||
incomplete types and opaque-enum-declarations.
|
||||
|
||||
2021-04-07 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
PR libstdc++/99805
|
||||
|
@ -1,3 +1,17 @@
|
||||
2021-04-08 Jonathan Wakely <jwakely@redhat.com>
|
||||
|
||||
* generate_libstdcxx_web_docs: Add --disable-multilib to
|
||||
configure command.
|
||||
|
||||
2021-04-08 Martin Liska <mliska@suse.cz>
|
||||
|
||||
* branch_changer.py: Fix wrongly converted assert.
|
||||
|
||||
2021-04-08 Martin Liska <mliska@suse.cz>
|
||||
|
||||
* branch_changer.py: Modernize and fix flake8 issues.
|
||||
* setup.cfg: New file.
|
||||
|
||||
2020-12-16 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* update_version_git: Put BASEDIR into /sourceware/snapshot-tmp/gcc
|
||||
|
Loading…
Reference in New Issue
Block a user