From: GCC Administrator Date: Thu, 29 Oct 2020 00:16:50 +0000 (+0000) Subject: Daily bump. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e93aae4a497c38b46df818a629c78149fe6af24b;p=gcc.git Daily bump. --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 17ab27a5735..58ed7b12850 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,139 @@ +2020-10-29 David Malcolm + + * Makefile.in (ANALYZER_OBJS): Add analyzer/complexity.o. + +2020-10-28 Marek Polacek + + PR c++/97573 + * doc/invoke.texi: Document -Wdeprecated-enum-enum-conversion + and -Wdeprecated-enum-float-conversion. -Wenum-conversion is + no longer C/ObjC only. + +2020-10-28 Richard Sandiford + + PR tree-optimization/97457 + * value-range.cc (irange::set): Don't decay POLY_INT_CST ranges + to integer ranges. + +2020-10-28 Carl Love + + * config/rs6000/vsx.md(xxgenpcvm__internal): Remove TARGET_64BIT. + +2020-10-28 Richard Biener + + * tree-vect-slp.c (vect_slp_analyze_node_operations_1): Dump + when shared vectype update fails. + +2020-10-28 Richard Biener + + * tree-vect-slp.c (vect_get_and_check_slp_defs): For skipped + args just push NULLs and vect_uninitialized_def. + (vect_build_slp_tree_2): Allocate skip_args for all ops + and pass it down to vect_get_and_check_slp_defs. + +2020-10-28 Richard Biener + + PR tree-optimization/97615 + * tree-vect-slp.c (vect_build_slp_tree_2): Do not build + an external from pattern defs. + +2020-10-28 Richard Biener + + * tree-vect-slp.c (vect_optimize_slp): Fix iteration over + all loads. + +2020-10-28 Richard Biener + + * tree-vect-slp.c (vect_build_slp_instance): Split the store + group at the failure boundary and also re-analyze a large enough + matching rest. + +2020-10-28 Richard Biener + + * tree-vect-data-refs.c (vect_slp_analyze_node_alignment): + Dump when vect_update_shared_vectype fails. + +2020-10-28 Andrea Corallo + + * config/aarch64/arm_neon.h (__ST2_LANE_FUNC, __ST3_LANE_FUNC) + (__ST4_LANE_FUNC): Rename the macro generating the 'q' variants + into __ST2Q_LANE_FUNC, __ST2Q_LANE_FUNC, __ST2Q_LANE_FUNC so they + all can be undefed at the and of the file. + (vst2_lane_bf16, vst2q_lane_bf16, vst3_lane_bf16, vst3q_lane_bf16) + (vst4_lane_bf16, vst4q_lane_bf16): Add new intrinsics. + +2020-10-28 Andrea Corallo + + * config/aarch64/arm_neon.h (__LD2_LANE_FUNC, __LD3_LANE_FUNC) + (__LD4_LANE_FUNC): Rename the macro generating the 'q' variants + into __LD2Q_LANE_FUNC, __LD2Q_LANE_FUNC, __LD2Q_LANE_FUNC so they + all can be undefed at the and of the file. + (vld2_lane_bf16, vld2q_lane_bf16, vld3_lane_bf16, vld3q_lane_bf16) + (vld4_lane_bf16, vld4q_lane_bf16): Add new intrinsics. + +2020-10-28 Jakub Jelinek + + * tree-core.h (enum omp_clause_code): Add OMP_CLAUSE_ALLOCATE. + * tree.h (OMP_CLAUSE_ALLOCATE_ALLOCATOR, + OMP_CLAUSE_ALLOCATE_COMBINED): Define. + * tree.c (omp_clause_num_ops, omp_clause_code_name): Add allocate + clause. + (walk_tree_1): Handle OMP_CLAUSE_ALLOCATE. + * tree-pretty-print.c (dump_omp_clause): Likewise. + * gimplify.c (gimplify_scan_omp_clauses, gimplify_adjust_omp_clauses, + gimplify_omp_for): Likewise. + * tree-nested.c (convert_nonlocal_omp_clauses, + convert_local_omp_clauses): Likewise. + * omp-low.c (scan_sharing_clauses): Likewise. + +2020-10-28 Jakub Jelinek + + * omp-offload.c (omp_declare_target_tgt_fn_r): Handle direct calls to + declare variant base functions. + +2020-10-28 Jakub Jelinek + + PR lto/96680 + * lto-streamer.h (omp_lto_output_declare_variant_alt, + omp_lto_input_declare_variant_alt): Declare variant. + * symtab.c (symtab_node::get_partitioning_class): Return + SYMBOL_DUPLICATE for declare_variant_alt nodes. + * passes.c (ipa_write_summaries): Add declare_variant_alt to + partition. + * lto-cgraph.c (output_refs): Call omp_lto_output_declare_variant_alt + on declare_variant_alt nodes. + (input_refs): Call omp_lto_input_declare_variant_alt on + declare_variant_alt nodes. + * lto-streamer-out.c (output_function): Don't call + collect_block_tree_leafs if DECL_INITIAL is error_mark_node. + (lto_output): Call output_function even for declare_variant_alt + nodes. + * omp-general.c (omp_lto_output_declare_variant_alt, + omp_lto_input_declare_variant_alt): New functions. + +2020-10-28 Jakub Jelinek + + * wide-int.cc (wi::set_bit_large): Call canonize unless setting + msb bit and clearing bits above it. + +2020-10-28 Andrew MacLeod + + * gimple-range-gori.cc (gori_compute_cache::cache_stmt): Accumulate + return values and only set cache when everything returned true. + * gimple-range.cc (get_tree_range): Set the return range to UNDEFINED + when the range isn't supported. + (gimple_ranger::calc_stmt): Return varying if the type is supported, + even if the stmt processing failed. False otherwise. + (range_of_builtin_ubsan_call): Don't use gcc_assert. + (range_of_builtin_call): Ditto. + (gimple_ranger::range_of_cond_expr): Ditto. + (gimple_ranger::range_of_expr): Ditto + (gimple_ranger::range_on_entry): Ditto. + (gimple_ranger::range_on_exit): Ditto. + (gimple_ranger::range_on_edge): DItto. + (gimple_ranger::range_of_stmt): Don't use gcc_assert, and initialize + return value to UNDEFINED. + 2020-10-27 Andreas Krebbel PR rtl-optimization/97497 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 52d576a34f9..8559f6c8b74 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20201028 +20201029 diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index b881f2fe3b9..17fd9b75cc7 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,9 @@ +2020-10-28 Alexandre Oliva + + PR ada/97504 + * Makefile.rtl (LIBGNAT_TARGET_PAIRS> : Use wraplf + version of Aux_Long_Long_Float. + 2020-10-27 Doug Rupp * Makefile.rtl: Add vx7r2cert spec file to ARM, PowerPC and x86 diff --git a/gcc/analyzer/ChangeLog b/gcc/analyzer/ChangeLog index d79a2ac9017..f87d2a7c357 100644 --- a/gcc/analyzer/ChangeLog +++ b/gcc/analyzer/ChangeLog @@ -1,3 +1,45 @@ +2020-10-29 David Malcolm + + * program-state.cc (sm_state_map::on_liveness_change): Sort the + leaking svalues before calling on_state_leak. + (program_state::detect_leaks): Likewise when calling + on_svalue_leak. + * region-model-reachability.cc + (reachable_regions::mark_escaped_clusters): Likewise when + calling on_escaped_function. + +2020-10-29 David Malcolm + + PR analyzer/97608 + * region-model-reachability.cc (reachable_regions::handle_sval): + Operands of reachable reversible operations are reachable. + +2020-10-29 David Malcolm + + * analyzer.h (class state_machine): New forward decl. + (class logger): Likewise. + (class visitor): Likewise. + * complexity.cc: New file, taken from svalue.cc. + * complexity.h: New file, taken from region-model.h. + * region-model.h: Include "analyzer/svalue.h" and + "analyzer/region.h". Move struct complexity to complexity.h. + Move svalue, its subclasses and supporting decls to svalue.h. + Move region, its subclasses and supporting decls to region.h. + * region.cc: Include "analyzer/region.h". + (symbolic_region::symbolic_region): Move here from region-model.h. + * region.h: New file, based on material from region-model.h. + * svalue.cc: Include "analyzer/svalue.h". + (complexity::complexity): Move to complexity.cc. + (complexity::from_pair): Likewise. + * svalue.h: New file, based on material from region-model.h. + +2020-10-29 David Malcolm + + * program-state.cc (sm_state_map::print): Guard the printing of + the origin pointer with !flag_dump_noaddr. + * region.cc (string_region::dump_to_pp): Likewise for + m_string_cst. + 2020-10-27 David Malcolm PR analyzer/97568 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 1664a70c285..4a1feae2b54 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,19 @@ +2020-10-28 Marek Polacek + + PR c++/97573 + * c-opts.c (c_common_post_options): In C++20, turn on + -Wdeprecated-enum-enum-conversion and + -Wdeprecated-enum-float-conversion. + * c.opt (Wdeprecated-enum-enum-conversion, + Wdeprecated-enum-float-conversion): New options. + (Wenum-conversion): Allow for C++ too. + +2020-10-28 Jakub Jelinek + + * c-pragma.h (enum pragma_omp_clause): Add PRAGMA_OMP_CLAUSE_ALLOCATE. + * c-omp.c: Include bitmap.h. + (c_omp_split_clauses): Handle OMP_CLAUSE_ALLOCATE. + 2020-10-26 Ville Voutilainen * c-common.c (__is_nothrow_assignable): New. diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 727762b5ef1..89913b72a89 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,21 @@ +2020-10-28 Joseph Myers + + * c-decl.c (store_parm_decls_newstyle): Use pedwarn_c11 not + error_at for omitted parameter name. + +2020-10-28 Jakub Jelinek + + * c-parser.c (c_parser_omp_clause_name): Handle allocate. + (c_parser_omp_clause_allocate): New function. + (c_parser_omp_all_clauses): Handle PRAGMA_OMP_CLAUSE_ALLOCATE. + (OMP_FOR_CLAUSE_MASK, OMP_SECTIONS_CLAUSE_MASK, + OMP_PARALLEL_CLAUSE_MASK, OMP_SINGLE_CLAUSE_MASK, + OMP_TASK_CLAUSE_MASK, OMP_TASKGROUP_CLAUSE_MASK, + OMP_DISTRIBUTE_CLAUSE_MASK, OMP_TEAMS_CLAUSE_MASK, + OMP_TARGET_CLAUSE_MASK, OMP_TASKLOOP_CLAUSE_MASK): Add + PRAGMA_OMP_CLAUSE_ALLOCATE. + * c-typeck.c (c_finish_omp_clauses): Handle OMP_CLAUSE_ALLOCATE. + 2020-10-27 Joseph Myers * c-parser.c (c_parser_std_attribute_specifier): Allow duplicate diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 6cf5d409fcc..aebf247711c 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,70 @@ +2020-10-28 Marek Polacek + + * decl.c (grokdeclarator): Offer a fix-it hint for the "unnecessary + parentheses in declaration" warning. + * parser.c (cp_parser_direct_declarator): When setting + declarator->parenthesized, use a location range. + +2020-10-28 Marek Polacek + + PR c++/97573 + * call.c (build_conditional_expr_1): Warn about the deprecated + enum/real type conversion in C++20. Also warn about a non-enumerated + and enumerated type in ?: when -Wenum-conversion is on. + * typeck.c (do_warn_enum_conversions): New function. + (cp_build_binary_op): Call it. + +2020-10-28 Marek Polacek + + PR c++/96675 + PR c++/96742 + * pt.c (tsubst_copy_and_build): Call value_dependent_expression_p or + type_dependent_expression_p instead of type_dependent_expression_p_push. + But only call value_dependent_expression_p for expressions that are + potential_constant_expression. + +2020-10-28 Marek Polacek + + PR c++/94799 + * parser.c (cp_parser_class_name): Use parser->scope when + setting typename_p. + +2020-10-28 Marek Polacek + + PR c++/86773 + * parser.c (cp_parser_fold_expression): Return error_mark_node + if a left fold is preceded by an expression. + +2020-10-28 Nathan Sidwell + + * parser.c (cp_parser_omp_declare_reduction): Set + DECL_LOCAL_DECL_P before push_template_decl. + * pt.c (instantiate_body): Nested fns do not have template_info. + +2020-10-28 Patrick Palka + + PR c++/95132 + * decl2.c (mark_used): Move up the constraints_satisfied_p check + so that we check constraints before calling maybe_instantiate_decl. + +2020-10-28 Nathan Sidwell + + * pt.c (push_template_decl): Refactor for some RAII. + +2020-10-28 Jakub Jelinek + + * parser.c (cp_parser_omp_clause_name): Handle allocate. + (cp_parser_omp_clause_allocate): New function. + (cp_parser_omp_all_clauses): Handle PRAGMA_OMP_CLAUSE_ALLOCATE. + (OMP_FOR_CLAUSE_MASK, OMP_SECTIONS_CLAUSE_MASK, + OMP_PARALLEL_CLAUSE_MASK, OMP_SINGLE_CLAUSE_MASK, + OMP_TASK_CLAUSE_MASK, OMP_TASKGROUP_CLAUSE_MASK, + OMP_DISTRIBUTE_CLAUSE_MASK, OMP_TEAMS_CLAUSE_MASK, + OMP_TARGET_CLAUSE_MASK, OMP_TASKLOOP_CLAUSE_MASK): Add + PRAGMA_OMP_CLAUSE_ALLOCATE. + * semantics.c (finish_omp_clauses): Handle OMP_CLAUSE_ALLOCATE. + * pt.c (tsubst_omp_clauses): Likewise. + 2020-10-27 Nathan Sidwell * cp-tree.h (struct lang_type): Delete nested_udts field. diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog index 5fbbce841c5..25de7aed13e 100644 --- a/gcc/lto/ChangeLog +++ b/gcc/lto/ChangeLog @@ -1,3 +1,11 @@ +2020-10-28 Jakub Jelinek + + PR lto/96680 + * lto-common.c (lto_fixup_prevailing_decls): Don't use + LTO_NO_PREVAIL on TREE_LIST's TREE_PURPOSE. + * lto-partition.c (lto_balanced_map): Treat declare_variant_alt + nodes like definitions. + 2020-10-23 Jan Hubicka * lto-partition.c (add_symbol_to_partition_1): Update for new thunk diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 3ebf5e7b46d..7f784b996bb 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,226 @@ +2020-10-29 David Malcolm + + PR analyzer/97608 + * gcc.dg/analyzer/malloc-1.c (test_42d): New. + * gcc.dg/analyzer/pr97608.c: New test. + +2020-10-28 Alan Modra + + * gcc.target/powerpc/vsx-load-element-extend-char.c: Put "dg-do run" + before "dg-do compile", and make them mutually exclusive. + * gcc.target/powerpc/vsx-load-element-extend-int.c: Likewise. + * gcc.target/powerpc/vsx-load-element-extend-longlong.c: Likewise. + * gcc.target/powerpc/vsx-load-element-extend-short.c: Likewise. + * gcc.target/powerpc/vsx-store-element-truncate-char.c: Likewise. + * gcc.target/powerpc/vsx-store-element-truncate-int.c: Likewise. + * gcc.target/powerpc/vsx-store-element-truncate-longlong.c: Likewise. + * gcc.target/powerpc/vsx-store-element-truncate-short.c: Likewise. + * gcc.target/powerpc/altivec-consts.c: Likewise, add -save-temps. + * gcc.target/powerpc/le-altivec-consts.c: Likewise. + +2020-10-28 Alan Modra + + * gcc.target/powerpc/float128-type-1.c: Simplify target test. + * gcc.target/powerpc/float128-type-2.c: Likewise. + +2020-10-28 Alan Modra + + * gcc.target/powerpc/fold-vec-extract-char.p9.c: Don't check addi + count for ilp32. + * gcc.target/powerpc/fold-vec-extract-int.p9.c: Likewise. + * gcc.target/powerpc/fold-vec-extract-longlong.p7.c: Likewise. + * gcc.target/powerpc/fold-vec-extract-longlong.p8.c: Likewise. + * gcc.target/powerpc/fold-vec-insert-int-p9.c: Likewise. + +2020-10-28 Marek Polacek + + * g++.dg/warn/mvp3.C: New test. + +2020-10-28 Marek Polacek + + PR c++/97573 + * g++.dg/cpp0x/linkage2.C: Add dg-warning. + * g++.dg/parse/attr3.C: Likewise. + * g++.dg/cpp2a/enum-conv1.C: New test. + * g++.dg/cpp2a/enum-conv2.C: New test. + * g++.dg/cpp2a/enum-conv3.C: New test. + +2020-10-28 Marek Polacek + + PR c++/96675 + PR c++/96742 + * g++.dg/warn/Wdiv-by-zero-3.C: Turn dg-warning into dg-bogus. + * g++.dg/warn/Wtautological-compare3.C: New test. + * g++.dg/warn/Wtype-limits5.C: New test. + * g++.old-deja/g++.pt/crash10.C: Remove dg-warning. + +2020-10-28 David Edelsohn + + * gcc.target/powerpc/sad-vectorize-1.c: Remove AIX skip. + * gcc.target/powerpc/sad-vectorize-2.c: Remove AIX skip. + * gcc.target/powerpc/sad-vectorize-3.c: Remove target. + Require p9vector_hw. + * gcc.target/powerpc/sad-vectorize-4.c: Remove target. + Require p9vector_hw. + * gcc.target/powerpc/signbit-1.c: Remove target. + Require ppc_float128_sw. + * gcc.target/powerpc/signbit-2.c: Remove target. + Require ppc_float128_sw. + * gcc.target/powerpc/signbit-3.c: Remove target. + Require ppc_float128_sw. + +2020-10-28 Marek Polacek + + PR c++/94799 + * g++.dg/template/lookup16.C: New test. + +2020-10-28 Marek Polacek + + PR c++/86773 + * g++.dg/cpp1z/fold12.C: New test. + +2020-10-28 Tamar Christina + + PR target/97535 + * gcc.target/aarch64/pr97535.c: Exclude ILP32. + +2020-10-28 Richard Sandiford + + PR tree-optimization/97457 + * gcc.dg/vect/pr97457.c: New test. + +2020-10-28 Joseph Myers + + * gcc.dg/c11-parm-omit-1.c, gcc.dg/c11-parm-omit-2.c, + gcc.dg/c11-parm-omit-3.c, gcc.dg/c11-parm-omit-4.c, + gcc.dg/c2x-parm-omit-1.c, gcc.dg/c2x-parm-omit-2.c, + gcc.dg/c2x-parm-omit-3.c, gcc.dg/c2x-parm-omit-4.c: New tests. + * gcc.dg/noncompile/pr79758.c: Do not expect error for omitted + parameter name. + +2020-10-28 Patrick Palka + + PR c++/95132 + * g++.dg/cpp2a/concepts-fn7.C: New test. + +2020-10-28 David Edelsohn + + * gcc.target/powerpc/vadsdu-0.c: Remove target. + * gcc.target/powerpc/vadsdu-1.c: Remove target. + * gcc.target/powerpc/vadsdu-2.c: Remove target. + * gcc.target/powerpc/vadsdu-3.c: Remove target. + * gcc.target/powerpc/vadsdu-4.c: Remove target. + * gcc.target/powerpc/vadsdu-5.c: Remove target. + * gcc.target/powerpc/vadsdub-1.c: Remove target. + * gcc.target/powerpc/vadsdub-2.c: Remove target. + * gcc.target/powerpc/vadsduh-1.c: Remove target. + * gcc.target/powerpc/vadsduh-2.c: Remove target. + * gcc.target/powerpc/vadsduw-1.c: Remove target. + * gcc.target/powerpc/vadsduw-2.c: Remove target. + * gcc.target/powerpc/vslv-0.c: Remove target. + * gcc.target/powerpc/vslv-1.c: Remove target. + * gcc.target/powerpc/vsrv-0.c: Remove target. + * gcc.target/powerpc/vsrv-1.c: Remove target. + +2020-10-28 David Edelsohn + Alan Modra + + * gcc.target/powerpc/byte-in-either-range-0.c: Remove target. + * gcc.target/powerpc/byte-in-either-range-1.c: Remove target. + * gcc.target/powerpc/byte-in-range-0.c: Remove target. + * gcc.target/powerpc/byte-in-range-1.c: Remove target. + * gcc.target/powerpc/byte-in-set-0.c: Remove target. + * gcc.target/powerpc/byte-in-set-1.c: Remove target. + * gcc.target/powerpc/byte-in-set-2.c: Remove target. Expect + implicit declaration warning. + +2020-10-28 Richard Biener + + * gcc.dg/vect/bb-slp-58.c: Require vect_double. + * gcc.dg/vect/bb-slp-59.c: Likewise. + +2020-10-28 Richard Biener + + PR tree-optimization/97615 + * gcc.dg/vect/bb-slp-pr97615.c: New testcase. + +2020-10-28 Richard Biener + + * gcc.dg/vect/bb-slp-68.c: New testcase. + +2020-10-28 Andrea Corallo + + * gcc.target/aarch64/advsimd-intrinsics/arm-neon-ref.h + (hbfloat16_t): Define type. + (CHECK_FP): Make it working for bfloat types. + * gcc.target/aarch64/advsimd-intrinsics/bf16_vstN_lane_1.c: New file. + * gcc.target/aarch64/advsimd-intrinsics/bf16_vstN_lane_2.c: Likewise. + * gcc.target/aarch64/advsimd-intrinsics/vst2_lane_bf16_indices_1.c: + Likewise. + * gcc.target/aarch64/advsimd-intrinsics/vst2q_lane_bf16_indices_1.c: + Likewise. + * gcc.target/aarch64/advsimd-intrinsics/vst3_lane_bf16_indices_1.c: + Likewise. + * gcc.target/aarch64/advsimd-intrinsics/vst3q_lane_bf16_indices_1.c: + Likewise. + * gcc.target/aarch64/advsimd-intrinsics/vst4_lane_bf16_indices_1.c: + Likewise. + * gcc.target/aarch64/advsimd-intrinsics/vst4q_lane_bf16_indices_1.c: + Likewise. + +2020-10-28 Andrea Corallo + + * gcc.target/aarch64/advsimd-intrinsics/bf16_vldN_lane_1.c: New + testcase. + * gcc.target/aarch64/advsimd-intrinsics/bf16_vldN_lane_2.c: + Likewise. + * gcc.target/aarch64/advsimd-intrinsics/vld2_lane_bf16_indices_1.c: + Likewise. + * gcc.target/aarch64/advsimd-intrinsics/vld2q_lane_bf16_indices_1.c: + Likewise. + * gcc.target/aarch64/advsimd-intrinsics/vld3_lane_bf16_indices_1.c: + Likewise. + * gcc.target/aarch64/advsimd-intrinsics/vld3q_lane_bf16_indices_1.c: + Likewise. + * gcc.target/aarch64/advsimd-intrinsics/vld4_lane_bf16_indices_1.c: + Likewise. + * gcc.target/aarch64/advsimd-intrinsics/vld4q_lane_bf16_indices_1.c: + Likewise. + +2020-10-28 Jakub Jelinek + + * c-c++-common/gomp/allocate-1.c: New test. + * c-c++-common/gomp/allocate-2.c: New test. + * c-c++-common/gomp/clauses-1.c (omp_allocator_handle_t): New typedef. + (foo, bar, baz): Add allocate clauses where allowed. + +2020-10-28 Alan Modra + + * gcc.target/powerpc/vsx-load-element-extend-char.c: Add -save-temps. + * gcc.target/powerpc/vsx-load-element-extend-int.c: Likewise. + * gcc.target/powerpc/vsx-load-element-extend-longlong.c: Likewise. + * gcc.target/powerpc/vsx-load-element-extend-short.c: Likewise. + * gcc.target/powerpc/vsx-store-element-truncate-char.c: Likewise. + * gcc.target/powerpc/vsx-store-element-truncate-int.c: Likewise. + * gcc.target/powerpc/vsx-store-element-truncate-longlong.c: Likewise. + * gcc.target/powerpc/vsx-store-element-truncate-short.c: Likewise. + +2020-10-28 Alan Modra + + * gcc.target/powerpc/vec-blend-runnable.c: Add save-temps. + * gcc.target/powerpc/vec-insert-word-runnable.c: Likewise. + * gcc.target/powerpc/vec-permute-ext-runnable.c: Likewise. + * gcc.target/powerpc/vec-replace-word-runnable.c: Likewise. + * gcc.target/powerpc/vec-splati-runnable.c: Likewise. + * gcc.target/powerpc/vec-ternarylogic-3.c: Likewise. + * gcc.target/powerpc/vec-ternarylogic-9.c: Likewise. + * gcc.target/powerpc/vsx_mask-count-runnable.c: Likewise. + * gcc.target/powerpc/vsx_mask-expand-runnable.c: Likewise. + * gcc.target/powerpc/vsx_mask-extract-runnable.c: Likewise. + * gcc.target/powerpc/vsx_mask-move-runnable.c: Likewise. + * gcc.target/powerpc/vec-shift-double-runnable.c: Likewise, + and correct assembly match. + 2020-10-27 Joseph Myers * gcc.dg/c2x-attr-deprecated-4.c, gcc.dg/c2x-attr-fallthrough-4.c, diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 35b6689276e..49ab9beeeaa 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,22 @@ +2020-10-28 Jakub Jelinek + + * testsuite/libgomp.c/target-42.c: New test. + +2020-10-28 Jakub Jelinek + Tom de Vries + + PR testsuite/81690 + * testsuite/libgomp.c/usleep.h: New file. + * testsuite/libgomp.c/target-32.c: Include usleep.h. + (main): Use tgt_usleep instead of usleep. + * testsuite/libgomp.c/thread-limit-2.c: Include usleep.h. + (main): Use tgt_usleep instead of usleep. + +2020-10-28 Jakub Jelinek + + PR lto/96680 + * testsuite/libgomp.c/declare-variant-1.c: New test. + 2020-10-22 Jakub Jelinek * testsuite/libgomp.c/target-41.c: New test. diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 723541cfe29..69de22f9f6c 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,104 @@ +2020-10-28 Jonathan Wakely + + * config/abi/pre/gnu.ver (GLIBCXX_3.4.29): Remove duplicate + patterns. + (CXXABI_1.3.13): Restore missing piece. + +2020-10-28 Thomas Rodgers + + * acinclude.m4 (glibcxx_SUBDIRS): Add src/c++20. + * config/abi/pre/gnu.ver (GLIBCXX_3.4.29): New symbols. + * configure: Regenerate. + * include/std/sstream: + (basic_stringbuf::basic_stringbuf(allocator const&)): New constructor. + (basic_stringbuf::basic_stringbuf(openmode, allocator const&)): Likewise. + (basic_stringbuf::basic_stringbuf(basic_string&&, openmode)): Likewise. + (basic_stringbuf::basic_stringbuf(basic_stringbuf&&, allocator const&)): + Likewise. + (basic_stringbuf::get_allocator()): New method. + (basic_stringbuf::view()): Likewise. + (basic_istringstream::basic_istringstream(basic_string&&, openmode)): + New constructor. + (basic_istringstream::basic_istringstream(openmode, allocator const&)): + Likewise + (basic_istringstream::view()): New method. + (basic_ostringstream::basic_ostringstream(basic_string&&, openmode)): + New constructor. + (basic_ostringstream::basic_ostringstream(openmode, allocator const&)): + Likewise + (basic_ostringstream::view()): New method. + (basic_stringstream::basic_stringstream(basic_string&&, openmode)): + New constructor. + (basic_stringstream::basic_stringstream(openmode, allocator const&)): + Likewise + (basic_stringstream::view()): New method. + * src/Makefile.in: Add c++20 directory. + * src/Makefile.am: Regenerate. + * src/c++20/Makefile.am: Add makefile for new sub-directory. + * src/c++20/Makefile.in: Generate. + * src/c++20/sstream-inst.cc: New file defining explicit + instantiations for basic_stringbuf, basic_istringstream, + basic_ostringstream, and basic_stringstream member functions + added in C++20. + * testsuite/27_io/basic_stringbuf/cons/char/2.cc: New test. + * testsuite/27_io/basic_stringbuf/cons/wchar_t/2.cc: Likewise. + * testsuite/27_io/basic_stringbuf/view/char/1.cc: Likewise. + * testsuite/27_io/basic_stringbuf/view/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_istringstream/cons/char/1.cc: Likewise. + * testsuite/27_io/basic_istringstream/cons/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_istringstream/view/char/1.cc: Likewise. + * testsuite/27_io/basic_istringstream/view/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_ostringstream/cons/char/1.cc: Likewise. + * testsuite/27_io/basic_ostringstream/cons/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_ostringstream/view/char/1.cc: Likewise. + * testsuite/27_io/basic_ostringstream/view/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_stringstream/cons/char/1.cc: Likewise. + * testsuite/27_io/basic_stringstream/cons/wchar_t/1.cc: Likewise. + * testsuite/27_io/basic_stringstream/view/char/1.cc: Likewise. + * testsuite/27_io/basic_stringstream/view/wchar_t/1.cc: Likewise. + +2020-10-28 Patrick Palka + + PR libstdc++/96713 + * include/std/chrono (year_month_weekday::operator sys_days): + Cast the result of index() to int so that the initializer for + days{} is sign-extended when it's converted to the underlying + type. + * testsuite/std/time/year_month_weekday/3.cc: New test. + +2020-10-28 Jonathan Wakely + + * libsupc++/new_opnt.cc (new): Add comment about forced unwind + exceptions. + +2020-10-28 Jonathan Wakely + + PR libstdc++/94268 + * config/os/mingw32-w64/os_defines.h (_GLIBCXX_BUFSIZ): + Define. + * config/os/mingw32/os_defines.h (_GLIBCXX_BUFSIZ): + Define. + * include/bits/fstream.tcc: Use _GLIBCXX_BUFSIZ instead + of BUFSIZ. + * include/ext/stdio_filebuf.h: Likewise. + * include/std/fstream (_GLIBCXX_BUFSIZ): Define. + +2020-10-28 Jonathan Wakely + + PR libstdc++/95592 + * include/bits/valarray_after.h (_DEFINE_EXPR_UNARY_OPERATOR) + (_DEFINE_EXPR_BINARY_OPERATOR, _DEFINE_EXPR_BINARY_FUNCTION): + Use elaborated-type-specifier and qualified-id to avoid + ambiguities with QNX system headers. + * testsuite/26_numerics/valarray/95592.cc: New test. + +2020-10-28 Jonathan Wakely + + PR libstdc++/95609 + * include/std/span (span): Reorder data members to match common + implementations of struct iovec. + * testsuite/23_containers/span/layout_compat.cc: New test. + 2020-10-27 Jonathan Wakely * include/std/functional (std::_Placeholder): Define for C++98