]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Daily bump.
authorGCC Administrator <gccadmin@gcc.gnu.org>
Tue, 14 Jun 2022 00:16:39 +0000 (00:16 +0000)
committerGCC Administrator <gccadmin@gcc.gnu.org>
Tue, 14 Jun 2022 00:16:39 +0000 (00:16 +0000)
gcc/ChangeLog
gcc/DATESTAMP
gcc/c-family/ChangeLog
gcc/cp/ChangeLog
gcc/d/ChangeLog
gcc/testsuite/ChangeLog
include/ChangeLog
libgomp/ChangeLog
libphobos/ChangeLog
libstdc++-v3/ChangeLog

index 014caeab2479b72699ccc334592ea41ae9a9a178..26ef1b53bee7b406691799d8391200917c0f956e 100644 (file)
@@ -1,3 +1,101 @@
+2022-06-13  Jason Merrill  <jason@redhat.com>
+
+       * tree-cfg.cc (pass_warn_function_return::execute): Also check
+       BUILT_IN_TRAP.
+
+2022-06-13  Maciej W. Rozycki  <macro@embecosm.com>
+
+       * config/riscv/riscv.md (length): Remove the explicit setting
+       for "fcmp".
+
+2022-06-13  H.J. Lu  <hjl.tools@gmail.com>
+
+       * common/config/i386/cpuinfo.h (get_available_features): Require
+       AVX for F16C and VAES.
+
+2022-06-13  Uroš Bizjak  <ubizjak@gmail.com>
+
+       PR target/105927
+       * config/i386/predicates.md (register_no_elim_operand):
+       Return true for subreg of a memory operand.
+
+2022-06-13  Richard Sandiford  <richard.sandiford@arm.com>
+
+       * 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  <richard.sandiford@arm.com>
+
+       * 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  <jakub@redhat.com>
+
+       * 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  <ebotcazou@adacore.com>
+
+       * 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  <ebotcazou@adacore.com>
+
+       * 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  <jakub@redhat.com>
+
+       PR target/105911
+       * config/i386/i386.md (*ashl<dwi>3_doubleword_mask,
+       *<insn><dwi>3_doubleword_mask): Use operands[3] masked with
+       (<MODE_SIZE> * BITS_PER_UNIT) - 1 as AND operand instead of
+       operands[3] unmodified.
+
 2022-06-12  Simon Wright  <simon@pushface.org>
 
        PR target/104871
index 1d9796c2616c5e882e4cff3a9f735d4141235e00..f6e8eb7c21b461f6b14deca9f9108856e04a6bcf 100644 (file)
@@ -1 +1 @@
-20220613
+20220614
index 2c0d86fa9969ffd796218931611a322ea3851562..1040d4ad8640e0e38f97dc113c9143140628fbe4 100644 (file)
@@ -1,3 +1,7 @@
+2022-06-13  Jason Merrill  <jason@redhat.com>
+
+       * c-ubsan.cc (ubsan_instrument_return): Use BUILTINS_LOCATION.
+
 2022-05-27  Marek Polacek  <polacek@redhat.com>
 
        PR c/90658
index 459aaeae95e688350da4802a5e2f5067eaf1ed7f..a62caa2f4ed04dc24185ac522594a2a82463dea4 100644 (file)
@@ -1,3 +1,13 @@
+2022-06-13  Nathan Sidwell  <nathan@acm.org>
+
+       * 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  <ppalka@redhat.com>
 
        PR c++/65328
index 99e108981278e5debaf524405fd6ef696e6effcd..d84ac23702a95c7fdd2560e8da37aab2d4dadf45 100644 (file)
@@ -1,3 +1,34 @@
+2022-06-13  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       * 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  <ibuclaw@gdcproject.org>
+
+       * 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  <ibuclaw@gdcproject.org>
+
+       * 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  <dmalcolm@redhat.com>
 
        * d-lang.cc (d_get_sarif_source_language): New.
index d89f3a03324630257c9a2283e42fae0624b5019d..e50c90b325dbf20c8d6b414cf2c4dc8680ecfc32 100644 (file)
@@ -1,3 +1,40 @@
+2022-06-13  Jason Merrill  <jason@redhat.com>
+
+       * g++.dg/ubsan/return-8.C: New test.
+
+2022-06-13  Uroš Bizjak  <ubizjak@gmail.com>
+
+       PR target/105927
+       * gcc.target/i386/pr105927.c: New test.
+
+2022-06-13  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       * gdc.dg/Wbuiltin_declaration_mismatch.d: New test.
+       * gdc.dg/builtins.d: New test.
+
+2022-06-13  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       * gdc.dg/rtti1.d: New test.
+
+2022-06-13  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * gcc.dg/instrument-4.c: New test.
+
+2022-06-13  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * c-c++-common/nonnull-1.c: Remove XFAIL for C++.
+
+2022-06-13  Jakub Jelinek  <jakub@redhat.com>
+
+       PR target/105911
+       * gcc.dg/pr105911.c: New test.
+
+2022-06-13  Cui,Lili  <lili.cui@intel.com>
+
+       * 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  <jcmvbkbc@gmail.com>
 
        * g++.target/xtensa/pr95571.C (__xtensa_libgcc_window_spill):
index c8b6f9a6fa378694594a85f412e42820e48f2a64..4eab21e0e6a6b75573c1df5a658f525ce4562ba4 100644 (file)
@@ -1,3 +1,7 @@
+2022-06-13  Jakub Jelinek  <jakub@redhat.com>
+
+       * gomp-constants.h (GOMP_DEVICE_INVALID): Define.
+
 2022-05-31  Alan Modra  <amodra@gmail.com>
 
        * dwarf2.def: Correct spelling of DW_AT_namelist_item.
index 79db01d59c183fd5d9c3d2728544a8ef7406babf..245977060a1d00fa5133ea52144fa7030f2e20a5 100644 (file)
@@ -1,3 +1,43 @@
+2022-06-13  Jakub Jelinek  <jakub@redhat.com>
+
+       * 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  <jakub@redhat.com>
 
        * allocator.c (gomp_init_memkind): Call dlopen with "libmemkind.so.0"
index 734532779c47fb7bcbc4ce7d6af1fc7e8a01b9ec..e56f2f250163af21d893789ee070511ce32f059e 100644 (file)
@@ -1,3 +1,11 @@
+2022-06-13  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       * 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  <dmalcolm@redhat.com>
 
        * testsuite/lib/libphobos-dg.exp: Add load_gcc_lib of scansarif.exp.
index a5597e04886edab740a78256e974f177fe627c24..42111d830d82a56b8838ec07ca65b0f10b97b649 100644 (file)
@@ -1,3 +1,15 @@
+2022-06-13  Mark Mentovai  <mark@mentovai.com>
+
+       * 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  <jwakely@redhat.com>
+
+       * include/std/atomic (__atomic_val_t): Use __type_identity_t
+       instead of atomic<T>::value_type, as per LWG 3220.
+       * testsuite/29_atomics/atomic/lwg3220.cc: New test.
+
 2022-06-10  Jonathan Wakely  <jwakely@redhat.com>
 
        PR libstdc++/105844