diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a589fca44cb..00d6661436c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,132 @@ +2024-10-07 Jeff Law + + * 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 + + * doc/invoke.texi (C++ Module Preprocessing): Allow -M, + refer to -fdeps. + +2024-10-07 Andre Vieira + + * 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 + + * config/riscv/vector-crypto.md: Remove executable permissions. + +2024-10-07 Victor Do Nascimento + + * tree-if-conv.cc (if_convertible_stmt_p): Check for explicit + function declaration before IFN fallback. + +2024-10-07 Richard Sandiford + + PR tree-optimization/116583 + * tree-vect-slp.cc (vectorizable_slp_permutation_1): Add more + dump messages. + +2024-10-07 Richard Sandiford + + PR tree-optimization/116583 + * tree-vect-slp.cc (vectorizable_slp_permutation_1): Handle + variable-length pack and unpack permutations. + +2024-10-07 Richard Sandiford + + 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 + + PR tree-optimization/116583 + * tree-vect-slp.cc (vectorizable_slp_permutation_1): Using + poly_uint64 for scalar lane indices. + +2024-10-07 Richard Sandiford + + * 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 (*3): Extend + to all SVE_F. + +2024-10-07 Richard Sandiford + + 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 + + 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 + + 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 + + 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. + (spaceship3): Renamed to ... + (spaceship4): ... 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. + (spaceship4): 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 + + * 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 * config/pa/pa-64.h (PA_SECONDARY_MEMORY_NEEDED): Define diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP index 09c64f0d788..4eb153b60d2 100644 --- a/gcc/DATESTAMP +++ b/gcc/DATESTAMP @@ -1 +1 @@ -20241007 +20241008 diff --git a/gcc/c-family/ChangeLog b/gcc/c-family/ChangeLog index 74e5c9badaa..98f65864630 100644 --- a/gcc/c-family/ChangeLog +++ b/gcc/c-family/ChangeLog @@ -1,3 +1,9 @@ +2024-10-07 Jason Merrill + + * 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 * c-opts.cc (c_common_post_options): Explicit -Wdeprecated enables diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog index 013948dbdca..57ae4539b33 100644 --- a/gcc/c/ChangeLog +++ b/gcc/c/ChangeLog @@ -1,3 +1,14 @@ +2024-10-07 qing zhao + + PR c/116735 + * c-decl.cc (verify_counted_by_attribute): Remove the attribute + when error. + +2024-10-07 Tobias Burnus + + * c-parser.cc (c_parser_omp_allocate): Set alignment for alignof; + accept static variables and fix predef allocator check. + 2024-09-25 Tobias Burnus * c-parser.cc (c_parser_omp_declare_target): Set target-used bit diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index ead65873c8a..eecde149020 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,16 @@ +2024-10-07 Jason Merrill + + * decl.cc (duplicate_decls): Only check PURVIEW_P if + DECL_LANG_SPECIFIC. + +2024-10-07 Jason Merrill + + * decl2.cc (mark_used): Always check require_deduced_type. + +2024-10-07 Jason Merrill + + * module.cc (init_modules): Don't warn about -M. + 2024-10-04 Nathaniel Shead PR c++/113266 diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index a46f59c3bf0..fc3d9b51612 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,17 @@ +2024-10-07 Thomas Koenig + + * 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 + + * 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 * check.cc (int_or_real_or_char_or_unsigned_check_f2003): New function. diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e046c1b1665..016707b1b55 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,155 @@ +2024-10-07 Tobias Burnus + + * gfortran.dg/gomp/allocate-static.f90: Move to libgomp/testsuite/. + +2024-10-07 Thomas Koenig + + * gfortran.dg/unsigned_35.f90: New test. + +2024-10-07 Jeff Law + + * 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 + + PR c/116735 + * gcc.dg/flex-array-counted-by-9.c: New test. + +2024-10-07 Jason Merrill + + * g++.dg/cpp0x/auto43.C: Adjust diagnostic. + * g++.dg/cpp2a/lambda-generic7.C: Likewise. + +2024-10-07 Jason Merrill + + * 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 + + * 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 + + * gcc.dg/vect/vect-fncall-mask-math.c: New. + +2024-10-07 Richard Sandiford + + 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 + + * gcc.target/aarch64/sve/permute_5.c: New test. + +2024-10-07 Richard Sandiford + + 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 + + * lib/gcc-dg.exp (gcc-dg-runtest): Unset torture_current_flags + after each test. + +2024-10-07 Alex Coplan + + 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 + + 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 + + * 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 + + * gcc.dg/vect/slp-26.c: Adjust GCN. + +2024-10-07 Thomas Schwinge + + * gcc.misc-tests/options.exp: Re-enable for nvptx. + +2024-10-07 Thomas Schwinge + + * 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 + + * gcc.dg/special/weak-2.c: Re-enable for nvptx. + +2024-10-07 Thomas Schwinge + + * gcc.c-torture/execute/20020529-1.c: Re-enable all variants for + nvptx. + +2024-10-07 Thomas Schwinge + + * 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 + + * 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 + + * gcc.c-torture/compile/20080721-1.c: Re-enable for nvptx. + 2024-10-06 John David Anglin * g++.dg/cpp0x/noexcept87.C: Require lto. diff --git a/include/ChangeLog b/include/ChangeLog index 7119bef3efb..591afcfe096 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,9 @@ +2024-10-07 Tobias Burnus + + * 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 * gomp-constants.h (GOMP_REQUIRES_SELF_MAPS): #define. diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index c02b92d28b3..4ad62cc1b53 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,12 @@ +2024-10-07 Jakub Jelinek + + * 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 PR preprocessor/96842 diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index a4e38258118..acf2a952154 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,68 @@ +2024-10-07 Thomas Koenig + + * 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 * Makefile.am: Add minval and maxval files. diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index a88b3b0a997..f6d997b4f62 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,22 @@ +2024-10-07 Tobias Burnus + + * 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 + + * libgomp.texi (OpenMP Technical Report 13): Wording cleanup; + sort as in Appendix B; add missing items; remove duplicates. + +2024-10-07 Tobias Burnus + + * 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 * libgomp.texi (TR13 status): Update semi-duplicated, semi-obsoleted