From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2168) id 4F9C0385023A; Tue, 14 Jun 2022 00:17:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4F9C0385023A 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 r13-1078] Daily bump. X-Act-Checkin: gcc X-Git-Author: GCC Administrator X-Git-Refname: refs/heads/master X-Git-Oldrev: 4f19e078ccb698cab1588f452bf00932fd4ef574 X-Git-Newrev: c3642271e884c06f5d266a8cbfc67035c9fbcc77 Message-Id: <20220614001716.4F9C0385023A@sourceware.org> Date: Tue, 14 Jun 2022 00:17:16 +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: Tue, 14 Jun 2022 00:17:16 -0000 https://gcc.gnu.org/g:c3642271e884c06f5d266a8cbfc67035c9fbcc77 commit r13-1078-gc3642271e884c06f5d266a8cbfc67035c9fbcc77 Author: GCC Administrator Date: Tue Jun 14 00:16:39 2022 +0000 Daily bump. Diff: --- gcc/ChangeLog | 98 +++++++++++++++++++++++++++++++++++++++++++++++++ gcc/DATESTAMP | 2 +- gcc/c-family/ChangeLog | 4 ++ gcc/cp/ChangeLog | 10 +++++ gcc/d/ChangeLog | 31 ++++++++++++++++ gcc/testsuite/ChangeLog | 37 +++++++++++++++++++ include/ChangeLog | 4 ++ libgomp/ChangeLog | 40 ++++++++++++++++++++ libphobos/ChangeLog | 8 ++++ libstdc++-v3/ChangeLog | 12 ++++++ 10 files changed, 245 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 014caeab247..26ef1b53bee 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,101 @@ +2022-06-13 Jason Merrill + + * tree-cfg.cc (pass_warn_function_return::execute): Also check + BUILT_IN_TRAP. + +2022-06-13 Maciej W. Rozycki + + * config/riscv/riscv.md (length): Remove the explicit setting + for "fcmp". + +2022-06-13 H.J. Lu + + * common/config/i386/cpuinfo.h (get_available_features): Require + AVX for F16C and VAES. + +2022-06-13 Uroš Bizjak + + PR target/105927 + * config/i386/predicates.md (register_no_elim_operand): + Return true for subreg of a memory operand. + +2022-06-13 Richard Sandiford + + * internal-fn.def (DEF_INTERNAL_INSN_FN): New macro. + (GOMP_SIMT_ENTER_ALLOC, GOMP_SIMT_EXIT, GOMP_SIMT_LANE) + (GOMP_SIMT_LAST_LANE, GOMP_SIMT_ORDERED_PRED, GOMP_SIMT_VOTE_ANY) + (GOMP_SIMT_XCHG_BFLY, GOMP_SIMT_XCHG_IDX): Use it. + * internal-fn.h (direct_internal_fn_info::directly_mapped): New + member variable. + (direct_internal_fn_info::vectorizable): Reduce to 1 bit. + (direct_internal_fn_p): Also return true for internal functions + that map directly to instructions defined target-insns.def. + (direct_internal_fn): Adjust comment accordingly. + * internal-fn.cc (direct_insn, optab1, optab2, vectorizable_optab1) + (vectorizable_optab2): New local macros. + (not_direct): Initialize directly_mapped. + (mask_load_direct, load_lanes_direct, mask_load_lanes_direct) + (gather_load_direct, len_load_direct, mask_store_direct) + (store_lanes_direct, mask_store_lanes_direct, vec_cond_mask_direct) + (vec_cond_direct, scatter_store_direct, len_store_direct) + (vec_set_direct, unary_direct, binary_direct, ternary_direct) + (cond_unary_direct, cond_binary_direct, cond_ternary_direct) + (while_direct, fold_extract_direct, fold_left_direct) + (mask_fold_left_direct, check_ptrs_direct): Use the macros above. + (expand_GOMP_SIMT_ENTER_ALLOC, expand_GOMP_SIMT_EXIT): Delete + (expand_GOMP_SIMT_LANE, expand_GOMP_SIMT_LAST_LANE): Likewise; + (expand_GOMP_SIMT_ORDERED_PRED, expand_GOMP_SIMT_VOTE_ANY): Likewise. + (expand_GOMP_SIMT_XCHG_BFLY, expand_GOMP_SIMT_XCHG_IDX): Likewise. + (direct_internal_fn_types): Handle functions that map to instructions + defined in target-insns.def. + (direct_internal_fn_types): Likewise. + (direct_internal_fn_supported_p): Likewise. + (internal_fn_expanders): Likewise. + +2022-06-13 Richard Sandiford + + * internal-fn.cc (expand_fn_using_insn): New function, + split out and adapted from... + (expand_direct_optab_fn): ...here. + (expand_GOMP_SIMT_ENTER_ALLOC): Use it. + (expand_GOMP_SIMT_EXIT): Likewise. + (expand_GOMP_SIMT_LANE): Likewise. + (expand_GOMP_SIMT_LAST_LANE): Likewise. + (expand_GOMP_SIMT_ORDERED_PRED): Likewise. + (expand_GOMP_SIMT_VOTE_ANY): Likewise. + (expand_GOMP_SIMT_XCHG_BFLY): Likewise. + (expand_GOMP_SIMT_XCHG_IDX): Likewise. + +2022-06-13 Jakub Jelinek + + * omp-expand.cc (expand_omp_target): Remap user provided + device clause arguments, -1 to -2 and -2 to -3, either + at compile time if constant, or at runtime. + +2022-06-13 Eric Botcazou + + * common.opt (finstrument-functions): Set explicit value. + (-finstrument-functions-once): New option. + * doc/invoke.texi (Program Instrumentation Options): Document it. + * gimplify.cc (build_instrumentation_call): New static function. + (gimplify_function_tree): Call it to emit the instrumentation calls + if -finstrument-functions[-once] is specified. + +2022-06-13 Eric Botcazou + + * dwarf2out.cc (output_one_line_info_table): Initialize prev_addr. + * gimple.h (gimple_set_location): Do not copy warning data from + the previous location when it is UNKNOWN_LOCATION. + * optabs.cc (expand_widen_pattern_expr): Always set oprnd{1,2}. + +2022-06-13 Jakub Jelinek + + PR target/105911 + * config/i386/i386.md (*ashl3_doubleword_mask, + *3_doubleword_mask): Use operands[3] masked with + ( * BITS_PER_UNIT) - 1 as AND operand instead of + operands[3] unmodified. + 2022-06-12 Simon Wright PR target/104871 diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 1d9796c2616..f6e8eb7c21b 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20220613 +20220614 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 2c0d86fa996..1040d4ad864 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,7 @@ +2022-06-13 Jason Merrill + + * c-ubsan.cc (ubsan_instrument_return): Use BUILTINS_LOCATION. + 2022-05-27 Marek Polacek PR c/90658 diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 459aaeae95e..a62caa2f4ed 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,13 @@ +2022-06-13 Nathan Sidwell + + * module.cc (module_state::write): Separate to ... + (module_state::write_begin, module_state::write_end): ... + these. + (module_state::write_readme): Drop extensions parameter. + (struct module_processing_cookie): Add more fields. + (finish_module_processing): Adjust state writing call. + (late_finish_module): Call write_end. + 2022-06-10 Patrick Palka PR c++/65328 diff --git a/gcc/d/ChangeLog b/gcc/d/ChangeLog index 99e10898127..d84ac23702a 100644 --- a/gcc/d/ChangeLog +++ b/gcc/d/ChangeLog @@ -1,3 +1,34 @@ +2022-06-13 Iain Buclaw + + * d-builtins.cc: Include builtins.h. + (gcc_builtins_libfuncs): Remove. + (strip_type_modifiers): New function. + (matches_builtin_type): New function. + (covariant_with_builtin_type_p): New function. + (maybe_set_builtin_1): Set front-end built-in if identifier matches + gcc built-in name. Apply user-specified attributes and assembler name + overrides to the built-in. Warn about built-in declaration mismatches. + (d_builtin_function): Set IDENTIFIER_DECL_TREE of built-in functions. + * d-compiler.cc (Compiler::onParseModule): Scan all modules for any + identifiers that match built-in function names. + * lang.opt (Wbuiltin-declaration-mismatch): New option. + +2022-06-13 Iain Buclaw + + * d-tree.h (check_typeinfo_type): Add Expression* parameter. + (build_typeinfo): Likewise. Declare new override. + * expr.cc (ExprVisitor): Call build_typeinfo with Expression*. + * typeinfo.cc (check_typeinfo_type): Include expression in the + diagnostic message. + (build_typeinfo): New override. + +2022-06-13 Iain Buclaw + + * dmd/MERGE: Merge upstream dmd 821ed393d. + * expr.cc (ExprVisitor::visit (NewExp *)): Remove handled of + allocating `@nogc' throwable object. + * runtime.def (NEWTHROW): Remove. + 2022-06-02 David Malcolm * d-lang.cc (d_get_sarif_source_language): New. diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index d89f3a03324..e50c90b325d 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,40 @@ +2022-06-13 Jason Merrill + + * g++.dg/ubsan/return-8.C: New test. + +2022-06-13 Uroš Bizjak + + PR target/105927 + * gcc.target/i386/pr105927.c: New test. + +2022-06-13 Iain Buclaw + + * gdc.dg/Wbuiltin_declaration_mismatch.d: New test. + * gdc.dg/builtins.d: New test. + +2022-06-13 Iain Buclaw + + * gdc.dg/rtti1.d: New test. + +2022-06-13 Eric Botcazou + + * gcc.dg/instrument-4.c: New test. + +2022-06-13 Eric Botcazou + + * c-c++-common/nonnull-1.c: Remove XFAIL for C++. + +2022-06-13 Jakub Jelinek + + PR target/105911 + * gcc.dg/pr105911.c: New test. + +2022-06-13 Cui,Lili + + * gcc.dg/vect/costmodel/x86_64/costmodel-pr104582-2.c: Add + -mtune=generic to dg-options. + * gcc.target/i386/pr84101.c: Likewise. + 2022-06-12 Max Filippov * g++.target/xtensa/pr95571.C (__xtensa_libgcc_window_spill): diff --git a/include/ChangeLog b/include/ChangeLog index c8b6f9a6fa3..4eab21e0e6a 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2022-06-13 Jakub Jelinek + + * gomp-constants.h (GOMP_DEVICE_INVALID): Define. + 2022-05-31 Alan Modra * dwarf2.def: Correct spelling of DW_AT_namelist_item. diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 79db01d59c1..245977060a1 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,43 @@ +2022-06-13 Jakub Jelinek + + * omp.h.in (omp_initial_device, omp_invalid_device): New enumerators. + * omp_lib.f90.in (omp_initial_device, omp_invalid_device): New + parameters. + * omp_lib.h.in (omp_initial_device, omp_invalid_device): Likewise. + * target.c (resolve_device): Add remapped argument, handle + GOMP_DEVICE_ICV only if remapped is true (and clear remapped), + for negative values, treat GOMP_DEVICE_FALLBACK as fallback only + if remapped, otherwise treat omp_initial_device that way. For + omp_invalid_device, always emit gomp_fatal, even when + OMP_TARGET_OFFLOAD isn't mandatory. + (GOMP_target, GOMP_target_ext, GOMP_target_data, GOMP_target_data_ext, + GOMP_target_update, GOMP_target_update_ext, + GOMP_target_enter_exit_data): Pass true as remapped argument to + resolve_device. + (omp_target_alloc, omp_target_free, omp_target_is_present, + omp_target_memcpy_check, omp_target_associate_ptr, + omp_target_disassociate_ptr, omp_get_mapped_ptr, + omp_target_is_accessible): Pass false as remapped argument to + resolve_device. Treat omp_initial_device the same as + gomp_get_num_devices (). Don't bypass resolve_device calls if + device_num is negative. + (omp_pause_resource): Treat omp_initial_device the same as + gomp_get_num_devices (). Call resolve_device. + * icv-device.c (omp_set_default_device): Always set to device_num + even when it is negative. + * libgomp.texi: Document that Conforming device numbers, + omp_initial_device and omp_invalid_device is implemented. + * testsuite/libgomp.c/target-41.c (main): Add test with + omp_initial_device. + * testsuite/libgomp.c/target-45.c: New test. + * testsuite/libgomp.c/target-46.c: New test. + * testsuite/libgomp.c/target-47.c: New test. + * testsuite/libgomp.c-c++-common/target-is-accessible-1.c (main): Add + test with omp_initial_device. Use -5 instead of -1 for negative value + test. + * testsuite/libgomp.fortran/target-is-accessible-1.f90 (main): + Likewise. Reorder stop numbers. + 2022-06-10 Jakub Jelinek * allocator.c (gomp_init_memkind): Call dlopen with "libmemkind.so.0" diff --git a/libphobos/ChangeLog b/libphobos/ChangeLog index 734532779c4..e56f2f25016 100644 --- a/libphobos/ChangeLog +++ b/libphobos/ChangeLog @@ -1,3 +1,11 @@ +2022-06-13 Iain Buclaw + + * libdruntime/MERGE: Merge upstream druntime 454471d8. + * libdruntime/Makefile.am (DRUNTIME_DSOURCES): Add + core/sync/package.d. + * libdruntime/Makefile.in: Regenerate. + * src/MERGE: Merge upstream phobos 1206fc94f. + 2022-06-02 David Malcolm * testsuite/lib/libphobos-dg.exp: Add load_gcc_lib of scansarif.exp. diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index a5597e04886..42111d830d8 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,15 @@ +2022-06-13 Mark Mentovai + + * include/experimental/bits/fs_path.h (__detail::__null_terminated): + Rename to __nul_terminated to avoid colliding with a macro in + Apple's SDK. + +2022-06-13 Jonathan Wakely + + * include/std/atomic (__atomic_val_t): Use __type_identity_t + instead of atomic::value_type, as per LWG 3220. + * testsuite/29_atomics/atomic/lwg3220.cc: New test. + 2022-06-10 Jonathan Wakely PR libstdc++/105844