aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGCC Administrator <gccadmin@gcc.gnu.org>2022-06-14 00:16:39 +0000
committerGCC Administrator <gccadmin@gcc.gnu.org>2022-06-14 00:16:39 +0000
commitc3642271e884c06f5d266a8cbfc67035c9fbcc77 (patch)
tree30cf0cdd6c36868cf540b1cd2b5a8f93caa889f1
parent4f19e078ccb698cab1588f452bf00932fd4ef574 (diff)
downloadgcc-c3642271e884c06f5d266a8cbfc67035c9fbcc77.zip
gcc-c3642271e884c06f5d266a8cbfc67035c9fbcc77.tar.gz
gcc-c3642271e884c06f5d266a8cbfc67035c9fbcc77.tar.bz2
Daily bump.
-rw-r--r--gcc/ChangeLog98
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/c-family/ChangeLog4
-rw-r--r--gcc/cp/ChangeLog10
-rw-r--r--gcc/d/ChangeLog31
-rw-r--r--gcc/testsuite/ChangeLog37
-rw-r--r--include/ChangeLog4
-rw-r--r--libgomp/ChangeLog40
-rw-r--r--libphobos/ChangeLog8
-rw-r--r--libstdc++-v3/ChangeLog12
10 files changed, 245 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 014caea..26ef1b5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index 1d9796c..f6e8eb7 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20220613
+20220614
diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog
index 2c0d86f..1040d4a 100644
--- a/gcc/c-family/ChangeLog
+++ b/gcc/c-family/ChangeLog
@@ -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
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 459aaea..a62caa2 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -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
diff --git a/gcc/d/ChangeLog b/gcc/d/ChangeLog
index 99e1089..d84ac23 100644
--- a/gcc/d/ChangeLog
+++ b/gcc/d/ChangeLog
@@ -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.
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index d89f3a0..e50c90b 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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):
diff --git a/include/ChangeLog b/include/ChangeLog
index c8b6f9a..4eab21e 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -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.
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index 79db01d..2459770 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -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"
diff --git a/libphobos/ChangeLog b/libphobos/ChangeLog
index 7345327..e56f2f2 100644
--- a/libphobos/ChangeLog
+++ b/libphobos/ChangeLog
@@ -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.
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index a5597e0..42111d8 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -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