+2024-10-07 Jeff Law <jlaw@ventanamicro.com>
+
+ * config/riscv/iterators.md (scc_0): New code iterator.
+ * config/riscv/zicond.md: New splitters to improve code generated for
+ cases like (and (scc) (scc)) for zicond, xventanacondops, xtheadcondmov.
+
+2024-10-07 Jason Merrill <jason@redhat.com>
+
+ * doc/invoke.texi (C++ Module Preprocessing): Allow -M,
+ refer to -fdeps.
+
+2024-10-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
+
+ * config/arm/arm.cc (arm_noce_oncersion_profitable_p): Remove unused
+ argument name.
+ (arm_is_v81m_cond_insn): Initialize variable.
+
+2024-10-07 Jakub Jelinek <jakub@redhat.com>
+
+ * config/riscv/vector-crypto.md: Remove executable permissions.
+
+2024-10-07 Victor Do Nascimento <victor.donascimento@arm.com>
+
+ * tree-if-conv.cc (if_convertible_stmt_p): Check for explicit
+ function declaration before IFN fallback.
+
+2024-10-07 Richard Sandiford <richard.sandiford@arm.com>
+
+ PR tree-optimization/116583
+ * tree-vect-slp.cc (vectorizable_slp_permutation_1): Add more
+ dump messages.
+
+2024-10-07 Richard Sandiford <richard.sandiford@arm.com>
+
+ PR tree-optimization/116583
+ * tree-vect-slp.cc (vectorizable_slp_permutation_1): Handle
+ variable-length pack and unpack permutations.
+
+2024-10-07 Richard Sandiford <richard.sandiford@arm.com>
+
+ PR tree-optimization/116583
+ * tree-vect-slp.cc (vectorizable_slp_permutation_1): Remove
+ the noutputs_per_mask inner loop and instead generate a
+ separate permute vector for each output.
+
+2024-10-07 Richard Sandiford <richard.sandiford@arm.com>
+
+ PR tree-optimization/116583
+ * tree-vect-slp.cc (vectorizable_slp_permutation_1): Using
+ poly_uint64 for scalar lane indices.
+
+2024-10-07 Richard Sandiford <richard.sandiford@arm.com>
+
+ * config/aarch64/iterators.md (SVE_I): Move further up file.
+ (SVE_F): New mode iterator.
+ (SVE_ALL): Redefine in terms of SVE_I and SVE_F.
+ * config/aarch64/aarch64-sve.md (*<LOGICALF:optab><mode>3): Extend
+ to all SVE_F.
+
+2024-10-07 Richard Sandiford <richard.sandiford@arm.com>
+
+ PR target/116583
+ * config/aarch64/aarch64.cc (aarch64_coalesce_units): New function,
+ extending the Advanced SIMD handling from...
+ (aarch64_evpc_reencode): ...here to SVE data and predicate modes.
+
+2024-10-07 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/116990
+ * tree-vect-loop.cc (vect_analyze_loop_form): Check the current
+ loop body for control flow.
+
+2024-10-07 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/116982
+ * tree-vectorizer.h (vect_analyze_loop): Pass in .LOOP_VECTORIZED
+ call.
+ (vect_analyze_loop_form): Likewise.
+ * tree-vect-loop.cc (vect_analyze_loop_form): Reject loops where we
+ cannot determine a IV exit for the scalar loop.
+ (vect_analyze_loop): Adjust.
+ * tree-vectorizer.cc (try_vectorize_loop_1): Likewise.
+ * tree-parloops.cc (gather_scalar_reductions): Likewise.
+
+2024-10-07 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/116896
+ * optabs.def (spaceship_optab): Use spaceship$a4 rather than
+ spaceship$a3.
+ * internal-fn.cc (expand_SPACESHIP): Expect 3 call arguments
+ rather than 2, expand the last one, expect 4 operands of
+ spaceship_optab.
+ * tree-ssa-math-opts.cc: Include cfghooks.h.
+ (optimize_spaceship): Check if a single PHI is initialized to
+ -1, 0, 1, 2 or -1, 0, 1 values, in that case pass 1 as last (new)
+ argument to .SPACESHIP and optimize away the comparisons,
+ otherwise pass 0. Also check for integer comparisons rather than
+ floating point, in that case do it only if there is a single PHI
+ with -1, 0, 1 values and pass 1 to last argument of .SPACESHIP
+ if the <=> is signed, 2 if unsigned.
+ * config/i386/i386-protos.h (ix86_expand_fp_spaceship): Add
+ another rtx argument.
+ (ix86_expand_int_spaceship): Declare.
+ * config/i386/i386-expand.cc (ix86_expand_fp_spaceship): Add
+ arg3 argument, if it is const0_rtx, expand like before, otherwise
+ emit optimized sequence for setting the result into a GPR.
+ (ix86_expand_int_spaceship): New function.
+ * config/i386/i386.md (UNSPEC_SETCC_SI_SLP): New UNSPEC code.
+ (setcc_si_slp): New define_expand.
+ (*setcc_si_slp): New define_insn_and_split.
+ (setcc + setcc + movzbl): New define_peephole2.
+ (spaceship<mode>3): Renamed to ...
+ (spaceship<mode>4): ... this. Add an extra operand, pass it
+ to ix86_expand_fp_spaceship.
+ (spaceshipxf3): Renamed to ...
+ (spaceshipxf4): ... this. Add an extra operand, pass it
+ to ix86_expand_fp_spaceship.
+ (spaceship<mode>4): New define_expand for SWI modes.
+ * doc/md.texi (spaceship@var{m}3): Renamed to ...
+ (spaceship@var{m}4): ... this. Document the meaning of last
+ operand.
+
+2024-10-07 Tobias Burnus <tburnus@baylibre.com>
+
+ * gimplify.cc (gimplify_bind_expr): Fix corner case for OpenMP
+ allocate directive.
+ (gimplify_scan_omp_clauses): Warn if omp_thread_mem_alloc is used
+ as allocator with the target/task/taskloop directive.
+
2024-10-06 John David Anglin <danglin@gcc.gnu.org>
* config/pa/pa-64.h (PA_SECONDARY_MEMORY_NEEDED): Define
+2024-10-07 Jason Merrill <jason@redhat.com>
+
+ * c-ppoutput.cc (preprocess_file): For modules,
+ use directives-only scan even with flag_no_output.
+ (directives_only_cb): Respect flag_no_output.
+
2024-10-03 Jason Merrill <jason@redhat.com>
* c-opts.cc (c_common_post_options): Explicit -Wdeprecated enables
+2024-10-07 qing zhao <qing.zhao@oracle.com>
+
+ PR c/116735
+ * c-decl.cc (verify_counted_by_attribute): Remove the attribute
+ when error.
+
+2024-10-07 Tobias Burnus <tburnus@baylibre.com>
+
+ * c-parser.cc (c_parser_omp_allocate): Set alignment for alignof;
+ accept static variables and fix predef allocator check.
+
2024-09-25 Tobias Burnus <tburnus@baylibre.com>
* c-parser.cc (c_parser_omp_declare_target): Set target-used bit
+2024-10-07 Jason Merrill <jason@redhat.com>
+
+ * decl.cc (duplicate_decls): Only check PURVIEW_P if
+ DECL_LANG_SPECIFIC.
+
+2024-10-07 Jason Merrill <jason@redhat.com>
+
+ * decl2.cc (mark_used): Always check require_deduced_type.
+
+2024-10-07 Jason Merrill <jason@redhat.com>
+
+ * module.cc (init_modules): Don't warn about -M.
+
2024-10-04 Nathaniel Shead <nathanieloshead@gmail.com>
PR c++/113266
+2024-10-07 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ * check.cc (gfc_check_minloc_maxloc): Handle BT_UNSIGNED.
+ * trans-intrinsic.cc (gfc_conv_intrinsic_minmaxloc): Likewise.
+ * gfortran.texi: Document MAXLOC and MINLOC for UNSIGNED.
+
+2024-10-07 Tobias Burnus <tburnus@baylibre.com>
+
+ * openmp.cc (is_predefined_allocator): Use gomp-constants.h consts.
+ * trans-common.cc (translate_common): Reject OpenMP allocate directives.
+ * trans-decl.cc (gfc_finish_var_decl): Handle allocate directive
+ for static variables.
+ (gfc_trans_deferred_vars): Update for the latter.
+
2024-10-01 Thomas Koenig <tkoenig@gcc.gnu.org>
* check.cc (int_or_real_or_char_or_unsigned_check_f2003): New function.
+2024-10-07 Tobias Burnus <tburnus@baylibre.com>
+
+ * gfortran.dg/gomp/allocate-static.f90: Move to libgomp/testsuite/.
+
+2024-10-07 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ * gfortran.dg/unsigned_35.f90: New test.
+
+2024-10-07 Jeff Law <jlaw@ventanamicro.com>
+
+ * gcc.target/riscv/cset-sext-sfb.c: Turn off ssa-phiopt.
+ * gcc.target/riscv/cset-sext-thead.c: Do not check CE output anymore.
+ * gcc.target/riscv/cset-sext-ventana.c: Similarly. Adjust branch cost.
+ * gcc.target/riscv/cset-sext-zicond.c: Similarly.
+ * gcc.target/riscv/cset-sext.c: Similarly. No longer allow
+ "neg" in asm output.
+
+2024-10-07 qing zhao <qing.zhao@oracle.com>
+
+ PR c/116735
+ * gcc.dg/flex-array-counted-by-9.c: New test.
+
+2024-10-07 Jason Merrill <jason@redhat.com>
+
+ * g++.dg/cpp0x/auto43.C: Adjust diagnostic.
+ * g++.dg/cpp2a/lambda-generic7.C: Likewise.
+
+2024-10-07 Jason Merrill <jason@redhat.com>
+
+ * g++.dg/modules/macro-8_a.H: New test.
+ * g++.dg/modules/macro-8_b.C: New test.
+ * g++.dg/modules/macro-8_c.C: New test.
+ * g++.dg/modules/macro-8_d.C: New test.
+
+2024-10-07 Jakub Jelinek <jakub@redhat.com>
+
+ * gcc.target/aarch64/uxtl-combine-1.c: Remove executable permissions.
+ * gcc.target/aarch64/uxtl-combine-2.c: Likewise.
+ * gcc.target/aarch64/uxtl-combine-3.c: Likewise.
+ * gcc.target/aarch64/uxtl-combine-4.c: Likewise.
+ * gcc.target/aarch64/uxtl-combine-5.c: Likewise.
+ * gcc.target/aarch64/uxtl-combine-6.c: Likewise.
+ * gcc.target/gcn/complex.c: Likewise.
+ * gcc.target/i386/avx2-bf16-vec-absneg.c: Likewise.
+ * gcc.target/i386/avx512f-bf16-vec-absneg.c: Likewise.
+ * gcc.target/i386/pr104371-2.c: Likewise.
+ * gcc.target/i386/pr115146.c: Likewise.
+ * gcc.target/i386/vpermt2-special-bf16-shufflue.c: Likewise.
+ * g++.target/i386/pr107563-a.C: Likewise.
+ * g++.target/i386/pr107563-b.C: Likewise.
+
+2024-10-07 Victor Do Nascimento <victor.donascimento@arm.com>
+
+ * gcc.dg/vect/vect-fncall-mask-math.c: New.
+
+2024-10-07 Richard Sandiford <richard.sandiford@arm.com>
+
+ PR tree-optimization/116583
+ * gcc.dg/vect/slp-13.c: Remove xfail for vect_variable_length.
+ * gcc.dg/vect/slp-13-big-array.c: Likewise.
+
+2024-10-07 Richard Sandiford <richard.sandiford@arm.com>
+
+ * gcc.target/aarch64/sve/permute_5.c: New test.
+
+2024-10-07 Richard Sandiford <richard.sandiford@arm.com>
+
+ PR target/116583
+ * gcc.target/aarch64/sve/permute_1.c: New test.
+ * gcc.target/aarch64/sve/permute_2.c: Likewise.
+ * gcc.target/aarch64/sve/permute_3.c: Likewise.
+ * gcc.target/aarch64/sve/permute_4.c: Likewise.
+
+2024-10-07 Richard Sandiford <richard.sandiford@arm.com>
+
+ * lib/gcc-dg.exp (gcc-dg-runtest): Unset torture_current_flags
+ after each test.
+
+2024-10-07 Alex Coplan <alex.coplan@arm.com>
+
+ PR testsuite/116683
+ * g++.dg/ext/pragma-unroll-lambda-lto.C (main): Add #pragma to
+ prevent unrolling of the setup loop.
+
+2024-10-07 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/116896
+ * g++.target/i386/pr116896-1.C: New test.
+ * g++.target/i386/pr116896-2.C: New test.
+
+2024-10-07 Tobias Burnus <tburnus@baylibre.com>
+
+ * c-c++-common/gomp/allocate-9.c: Update for removed sorry.
+ * gfortran.dg/gomp/allocate-15.f90: Likewise.
+ * gfortran.dg/gomp/allocate-pinned-1.f90: Likewise.
+ * gfortran.dg/gomp/allocate-4.f90: Likewise; add dg-error for
+ previously missing diagnostic.
+ * c-c++-common/gomp/allocate-18.c: New test.
+ * c-c++-common/gomp/allocate-19.c: New test.
+ * gfortran.dg/gomp/allocate-clause.f90: New test.
+ * gfortran.dg/gomp/allocate-static-2.f90: New test.
+ * gfortran.dg/gomp/allocate-static.f90: New test.
+
+2024-10-07 Thomas Schwinge <tschwinge@baylibre.com>
+
+ * gcc.dg/vect/slp-26.c: Adjust GCN.
+
+2024-10-07 Thomas Schwinge <thomas@codesourcery.com>
+
+ * gcc.misc-tests/options.exp: Re-enable for nvptx.
+
+2024-10-07 Thomas Schwinge <thomas@codesourcery.com>
+
+ * c-c++-common/torture/complex-sign-mixed-add.c: Re-enable all
+ variants for nvptx.
+ * c-c++-common/torture/complex-sign-mixed-sub.c: Likewise.
+
+2024-10-07 Thomas Schwinge <thomas@codesourcery.com>
+
+ * gcc.dg/special/weak-2.c: Re-enable for nvptx.
+
+2024-10-07 Thomas Schwinge <thomas@codesourcery.com>
+
+ * gcc.c-torture/execute/20020529-1.c: Re-enable all variants for
+ nvptx.
+
+2024-10-07 Thomas Schwinge <thomas@codesourcery.com>
+
+ * gcc.c-torture/execute/printf-1.c: XFAIL for nvptx.
+ * gcc.c-torture/execute/printf-chk-1.c: Likewise.
+ * gcc.c-torture/execute/vprintf-1.c: Likewise.
+ * gcc.c-torture/execute/vprintf-chk-1.c: Likewise.
+ * lib/target-supports.exp (check_effective_target_freestanding):
+ Disable for nvptx.
+
+2024-10-07 Thomas Schwinge <thomas@codesourcery.com>
+
+ * gcc.c-torture/compile/920501-4.c: Re-enable nvptx
+ "ptxas times out" variants.
+ * gcc.c-torture/compile/921011-1.c: Likewise.
+ * gcc.c-torture/compile/pr34334.c: Likewise.
+ * gcc.c-torture/compile/pr37056.c: Likewise.
+ * gcc.c-torture/compile/pr39423-1.c: Likewise.
+ * gcc.c-torture/compile/pr49049.c: Likewise.
+ * gcc.c-torture/compile/pr59417.c: Likewise.
+ * gcc.c-torture/compile/limits-fndefn.c: Likewise.
+ Specify '-Wa,--no-verify' for nvptx '-O0'.
+
+2024-10-07 Thomas Schwinge <thomas@codesourcery.com>
+
+ * gcc.c-torture/compile/20080721-1.c: Re-enable for nvptx.
+
2024-10-06 John David Anglin <danglin@gcc.gnu.org>
* g++.dg/cpp0x/noexcept87.C: Require lto.
+2024-10-07 Tobias Burnus <tburnus@baylibre.com>
+
+ * gomp-constants.h (GOMP_OMP_PREDEF_ALLOC_MAX,
+ GOMP_OMPX_PREDEF_ALLOC_MIN, GOMP_OMPX_PREDEF_ALLOC_MAX,
+ GOMP_OMP_PREDEF_ALLOC_THREADS): New defines.
+
2024-09-24 Tobias Burnus <tburnus@baylibre.com>
* gomp-constants.h (GOMP_REQUIRES_SELF_MAPS): #define.
+2024-10-07 Jakub Jelinek <jakub@redhat.com>
+
+ * internal.h (_cpp_trigraph_map_s): New type for C++14 or later.
+ (_cpp_trigraph_map_d): New variable for C++14 or later.
+ (_cpp_trigraph_map): Define to _cpp_trigraph_map_d.map for C++14 or
+ later.
+ * init.cc (init_trigraph_map): Define to nothing for C++14 or later.
+ (TRIGRAPH_MAP, END, s): Define differently for C++14 or later.
+
2024-10-02 Jakub Jelinek <jakub@redhat.com>
PR preprocessor/96842
+2024-10-07 Thomas Koenig <tkoenig@gcc.gnu.org>
+
+ * Makefile.am: Add files for unsigned MINLOC and MAXLOC.
+ * Makefile.in: Regenerated.
+ * gfortran.map: Add files for unsigned MINLOC and MAXLOC.
+ * generated/maxloc0_16_m1.c: New file.
+ * generated/maxloc0_16_m16.c: New file.
+ * generated/maxloc0_16_m2.c: New file.
+ * generated/maxloc0_16_m4.c: New file.
+ * generated/maxloc0_16_m8.c: New file.
+ * generated/maxloc0_4_m1.c: New file.
+ * generated/maxloc0_4_m16.c: New file.
+ * generated/maxloc0_4_m2.c: New file.
+ * generated/maxloc0_4_m4.c: New file.
+ * generated/maxloc0_4_m8.c: New file.
+ * generated/maxloc0_8_m1.c: New file.
+ * generated/maxloc0_8_m16.c: New file.
+ * generated/maxloc0_8_m2.c: New file.
+ * generated/maxloc0_8_m4.c: New file.
+ * generated/maxloc0_8_m8.c: New file.
+ * generated/maxloc1_16_m1.c: New file.
+ * generated/maxloc1_16_m2.c: New file.
+ * generated/maxloc1_16_m4.c: New file.
+ * generated/maxloc1_16_m8.c: New file.
+ * generated/maxloc1_4_m1.c: New file.
+ * generated/maxloc1_4_m16.c: New file.
+ * generated/maxloc1_4_m2.c: New file.
+ * generated/maxloc1_4_m4.c: New file.
+ * generated/maxloc1_4_m8.c: New file.
+ * generated/maxloc1_8_m1.c: New file.
+ * generated/maxloc1_8_m16.c: New file.
+ * generated/maxloc1_8_m2.c: New file.
+ * generated/maxloc1_8_m4.c: New file.
+ * generated/maxloc1_8_m8.c: New file.
+ * generated/minloc0_16_m1.c: New file.
+ * generated/minloc0_16_m16.c: New file.
+ * generated/minloc0_16_m2.c: New file.
+ * generated/minloc0_16_m4.c: New file.
+ * generated/minloc0_16_m8.c: New file.
+ * generated/minloc0_4_m1.c: New file.
+ * generated/minloc0_4_m16.c: New file.
+ * generated/minloc0_4_m2.c: New file.
+ * generated/minloc0_4_m4.c: New file.
+ * generated/minloc0_4_m8.c: New file.
+ * generated/minloc0_8_m1.c: New file.
+ * generated/minloc0_8_m16.c: New file.
+ * generated/minloc0_8_m2.c: New file.
+ * generated/minloc0_8_m4.c: New file.
+ * generated/minloc0_8_m8.c: New file.
+ * generated/minloc1_16_m1.c: New file.
+ * generated/minloc1_16_m16.c: New file.
+ * generated/minloc1_16_m2.c: New file.
+ * generated/minloc1_16_m4.c: New file.
+ * generated/minloc1_16_m8.c: New file.
+ * generated/minloc1_4_m1.c: New file.
+ * generated/minloc1_4_m16.c: New file.
+ * generated/minloc1_4_m2.c: New file.
+ * generated/minloc1_4_m4.c: New file.
+ * generated/minloc1_4_m8.c: New file.
+ * generated/minloc1_8_m1.c: New file.
+ * generated/minloc1_8_m16.c: New file.
+ * generated/minloc1_8_m2.c: New file.
+ * generated/minloc1_8_m4.c: New file.
+ * generated/minloc1_8_m8.c: New file.
+
2024-10-01 Thomas Koenig <tkoenig@gcc.gnu.org>
* Makefile.am: Add minval and maxval files.
+2024-10-07 Tobias Burnus <tburnus@baylibre.com>
+
+ * testsuite/libgomp.fortran/allocate-static.f90: Moved from
+ gcc/testsuite/ as it is a dg-do run test; use real omp_lib_kinds
+ instead of local definition
+
+2024-10-07 Tobias Burnus <tburnus@baylibre.com>
+
+ * libgomp.texi (OpenMP Technical Report 13): Wording cleanup;
+ sort as in Appendix B; add missing items; remove duplicates.
+
+2024-10-07 Tobias Burnus <tburnus@baylibre.com>
+
+ * allocator.c: Add static asserts for news
+ GOMP_OMP{,X}_PREDEF_ALLOC_{MIN,MAX} range values.
+ * libgomp.texi (OpenMP Impl. Status): Allocate directive for
+ static vars is now supported. Refer to PR for allocate clause.
+ (Memory allocation): Update for static vars; minor word tweaking.
+
2024-09-27 Tobias Burnus <tburnus@baylibre.com>
* libgomp.texi (TR13 status): Update semi-duplicated, semi-obsoleted