aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--contrib/ChangeLog4
-rw-r--r--contrib/config-list.mk8
-rw-r--r--gcc/ChangeLog40
-rw-r--r--gcc/DATESTAMP2
-rw-r--r--gcc/c/ChangeLog14
-rw-r--r--gcc/c/c-decl.cc3
-rw-r--r--gcc/c/c-typeck.cc3
-rw-r--r--gcc/common.opt2
-rw-r--r--gcc/common.opt.urls3
-rw-r--r--gcc/cp/ChangeLog27
-rw-r--r--gcc/doc/invoke.texi9
-rw-r--r--gcc/fortran/ChangeLog7
-rw-r--r--gcc/testsuite/ChangeLog34
-rw-r--r--gcc/testsuite/gcc.dg/Wdeprecated-non-prototype-5.c14
-rw-r--r--gcc/testsuite/gcc.dg/c2y-named-loops-8.c5
-rw-r--r--libgomp/ChangeLog4
16 files changed, 169 insertions, 10 deletions
diff --git a/contrib/ChangeLog b/contrib/ChangeLog
index 0be6dd9..2ef5738 100644
--- a/contrib/ChangeLog
+++ b/contrib/ChangeLog
@@ -1,3 +1,7 @@
+2025-05-01 Gerald Pfeifer <gerald@pfeifer.com>
+
+ * config-list.mk: Update FreeBSD targets to version 13.
+
2025-04-26 Iain Buclaw <ibuclaw@gdcproject.org>
* config-list.mk: Add m32c*-*-* to the list of obsoleted targets.
diff --git a/contrib/config-list.mk b/contrib/config-list.mk
index 58bb4c5c1..27aabf4 100644
--- a/contrib/config-list.mk
+++ b/contrib/config-list.mk
@@ -35,7 +35,7 @@ OPT_IN_LANGUAGES=
#
LIST = \
- aarch64-elf aarch64-freebsd13 aarch64-linux-gnu aarch64-rtems \
+ aarch64-elf aarch64-freebsd14 aarch64-linux-gnu aarch64-rtems \
alpha-linux-gnu alpha-netbsd alpha-openbsd \
alpha64-dec-vms alpha-dec-vms \
amdgcn-amdhsa \
@@ -54,7 +54,7 @@ LIST = \
hppa64-hpux11.3 \
hppa64-hpux11.0OPT-enable-sjlj-exceptions=yes \
i686-apple-darwin9 i686-apple-darwin13 i686-apple-darwin17 \
- i686-freebsd13 i686-kfreebsd-gnu \
+ i686-freebsd14 i686-kfreebsd-gnu \
i686-netbsdelf9 \
i686-openbsd i686-elf i686-kopensolaris-gnu i686-gnu \
i686-pc-linux-gnu i686-pc-msdosdjgpp i686-lynxos i686-nto-qnx \
@@ -82,7 +82,7 @@ LIST = \
or1k-elf or1k-linux-uclibc or1k-linux-musl or1k-rtems \
pdp11-aout \
powerpc-apple-darwin9 powerpc64-apple-darwin9 powerpc-apple-darwin8 \
- powerpc-freebsd13 powerpc-netbsd \
+ powerpc-freebsd14 powerpc-netbsd \
powerpc-eabisimaltivec powerpc-eabisim ppc-elf \
powerpc-eabialtivec powerpc-xilinx-eabi powerpc-eabi \
powerpc-rtems \
@@ -105,7 +105,7 @@ LIST = \
vax-netbsdelf visium-elf \
x86_64-apple-darwin10 x86_64-apple-darwin15 x86_64-apple-darwin21 \
x86_64-gnu x86_64-pc-linux-gnuOPT-with-fpmath=avx \
- x86_64-elfOPT-with-fpmath=sse x86_64-freebsd13 x86_64-netbsd \
+ x86_64-elfOPT-with-fpmath=sse x86_64-freebsd14 x86_64-netbsd \
x86_64-w64-mingw32 \
x86_64-mingw32OPT-enable-sjlj-exceptions=yes x86_64-rtems \
xstormy16-elf xtensa-elf \
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ac8a2c6..137e388 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,43 @@
+2025-05-01 Jason Merrill <jason@redhat.com>
+
+ * doc/invoke.texi: Add -fabi-version detail.
+ * common.opt: Likewise.
+
+2025-05-01 Andrew Pinski <quic_apinski@quicinc.com>
+
+ * tree-ssa-phiopt.cc (phiopt_early_allow): Only allow a sequence
+ with one statement for MIN/MAX and the op was MIN/MAX.
+
+2025-05-01 Ayan Shafqat <ayan.x.shafqat@gmail.com>
+
+ * config/aarch64/arm_acle.h (__sqrt, __sqrtf): New function.
+
+2025-05-01 Ayan Shafqat <ayan.x.shafqat@gmail.com>
+
+ * config/aarch64/aarch64-simd-builtins.def: Change
+ BUILTIN_VHSDF_DF to BUILTIN_VHSDF_HSDF.
+
+2025-05-01 Jason Merrill <jason@redhat.com>
+
+ PR c++/119162
+ * fold-const.cc (maybe_nonzero_address): Return 1 for non-symtab
+ vars if folding_cxx_constexpr.
+
+2025-05-01 Richard Biener <rguenther@suse.de>
+
+ * tree-vect-stmts.cc (vectorizable_conversion): Remove non-SLP
+ paths.
+
+2025-05-01 Richard Biener <rguenther@suse.de>
+
+ * tree-vect-slp.cc (vect_remove_slp_scalar_calls): Look
+ at the original stmt.
+
+2025-05-01 Jakub Jelinek <jakub@redhat.com>
+
+ * combine.cc (try_combine): Sets which satisfy set_noop_p can go
+ to i2 unless i3 is a jump and the other set is not.
+
2025-04-30 Andrew Pinski <quic_apinski@quicinc.com>
PR target/120042
diff --git a/gcc/DATESTAMP b/gcc/DATESTAMP
index c95ab32..8632515 100644
--- a/gcc/DATESTAMP
+++ b/gcc/DATESTAMP
@@ -1 +1 @@
-20250501
+20250502
diff --git a/gcc/c/ChangeLog b/gcc/c/ChangeLog
index 4c8fde7..08e747e 100644
--- a/gcc/c/ChangeLog
+++ b/gcc/c/ChangeLog
@@ -1,3 +1,17 @@
+2025-05-01 Christopher Bazley <chris.bazley@arm.com>
+
+ PR c/119317
+ * c-decl.cc (c_get_loop_names): Do not prematurely
+ end the search for a label that names a loop or
+ switch statement upon encountering a DEBUG_BEGIN_STMT.
+ Instead, ignore any instances of DEBUG_BEGIN_STMT.
+
+2025-05-01 Florian Weimer <fweimer@redhat.com>
+
+ PR c/119950
+ * c-typeck.cc (convert_arguments): Check for built-in
+ function declaration before warning.
+
2025-04-28 David Malcolm <dmalcolm@redhat.com>
* c-decl.cc: Drop include of "make-unique.h".
diff --git a/gcc/c/c-decl.cc b/gcc/c/c-decl.cc
index 4e200f9..ad66d7d 100644
--- a/gcc/c/c-decl.cc
+++ b/gcc/c/c-decl.cc
@@ -13861,7 +13861,8 @@ c_get_loop_names (tree before_labels, bool switch_p, tree *last_p)
++ret;
}
}
- else if (TREE_CODE (stmt) != CASE_LABEL_EXPR)
+ else if (TREE_CODE (stmt) != CASE_LABEL_EXPR
+ && TREE_CODE (stmt) != DEBUG_BEGIN_STMT)
break;
}
if (last)
diff --git a/gcc/c/c-typeck.cc b/gcc/c/c-typeck.cc
index d94ecb5..c7a13bf 100644
--- a/gcc/c/c-typeck.cc
+++ b/gcc/c/c-typeck.cc
@@ -4336,7 +4336,8 @@ convert_arguments (location_t loc, vec<location_t> arg_loc, tree fntype,
builtin_typetail = NULL_TREE;
}
- if (!typetail && parmnum == 0 && !TYPE_NO_NAMED_ARGS_STDARG_P (fntype))
+ if (!typetail && parmnum == 0 && !TYPE_NO_NAMED_ARGS_STDARG_P (fntype)
+ && !fndecl_built_in_p (fundecl))
{
auto_diagnostic_group d;
bool warned;
diff --git a/gcc/common.opt b/gcc/common.opt
index 3edc590..8a5b69d 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -1055,7 +1055,7 @@ Driver Undocumented
; 20: Fix mangling of lambdas in static data member initializers.
; Default in G++ 15.
;
-; 21:
+; 21: Fix noexcept lambda capture pruning.
; Default in G++ 16.
;
; Additional positive integers will be assigned as new versions of
diff --git a/gcc/common.opt.urls b/gcc/common.opt.urls
index 0077511..c108560 100644
--- a/gcc/common.opt.urls
+++ b/gcc/common.opt.urls
@@ -502,6 +502,9 @@ UrlSuffix(gcc/Optimize-Options.html#index-fcse-follow-jumps)
fcse-skip-blocks
UrlSuffix(gcc/Optimize-Options.html#index-fcse-skip-blocks)
+fcx-method=
+UrlSuffix(gcc/Optimize-Options.html#index-fcx-method)
+
fcx-limited-range
UrlSuffix(gcc/Optimize-Options.html#index-fcx-limited-range)
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index a74c74d..d50293c 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,30 @@
+2025-05-01 Patrick Palka <ppalka@redhat.com>
+
+ * constexpr.cc (explain_invalid_constexpr_fn): In the
+ DECL_CONSTRUCTOR_P branch pass the non-genericized body to
+ require_potential_constant_expression.
+
+2025-05-01 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/119034
+ PR c++/68942
+ * pt.cc (tsubst_expr) <case CALL_EXPR>: Revert PR68942 fix.
+ * semantics.cc (finish_call_expr): Ensure the callee of an
+ ADL-enabled call is wrapped in an OVERLOAD.
+
+2025-05-01 Jason Merrill <jason@redhat.com>
+
+ * Make-lang.in: Don't pass the full path to gperf.
+ * std-name-hint.h: Regenerate.
+
+2025-05-01 Jason Merrill <jason@redhat.com>
+
+ PR c++/119162
+ * constexpr.cc (find_deleted_heap_var): Remove.
+ (cxx_eval_call_expression): Don't call it. Don't set TREE_STATIC on
+ heap vars.
+ (cxx_eval_outermost_constant_expr): Don't mess with varpool.
+
2025-04-30 Nathaniel Shead <nathanieloshead@gmail.com>
PR c++/120023
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index d1925c9..e7a9a03 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -3006,12 +3006,17 @@ in C++14 and up.
Version 18, which first appeared in G++ 13, fixes manglings of lambdas
that have additional context.
-Version 19, which first appeared in G++ 14, fixes manglings of structured
-bindings to include ABI tags.
+Version 19, which first appeared in G++ 14, fixes manglings of
+structured bindings to include ABI tags, handling of cv-qualified
+[[no_unique_address]] members, and adds mangling of C++20 constraints
+on function templates.
Version 20, which first appeared in G++ 15, fixes manglings of lambdas
in static data member initializers.
+Version 21, which first appeared in G++ 16, fixes unnecessary captures
+in noexcept lambdas (c++/119764).
+
See also @option{-Wabi}.
@opindex fabi-compat-version
diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog
index e6ecc8d..9b2a48d 100644
--- a/gcc/fortran/ChangeLog
+++ b/gcc/fortran/ChangeLog
@@ -1,3 +1,10 @@
+2025-05-01 Paul Thomas <pault@gcc.gnu.org>
+
+ PR fortran/119948
+ * resolve.cc (gfc_impure_variable): The result of a module
+ procedure with an interface declaration is not impure even if
+ the current namespace is not the same as the symbol's.
+
2025-04-25 Harald Anlauf <anlauf@gmx.de>
PR fortran/102900
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index aa5d296..354a2ad 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,37 @@
+2025-05-01 Christopher Bazley <chris.bazley@arm.com>
+
+ PR c/119317
+ * gcc.dg/c2y-named-loops-8.c: New test.
+
+2025-05-01 Florian Weimer <fweimer@redhat.com>
+
+ * gcc.dg/Wdeprecated-non-prototype-5.c: New test.
+
+2025-05-01 Patrick Palka <ppalka@redhat.com>
+
+ * g++.dg/cpp23/constexpr-nonlit19.C: New test.
+
+2025-05-01 Patrick Palka <ppalka@redhat.com>
+
+ PR c++/119034
+ PR c++/68942
+ * g++.dg/template/koenig13.C: New test.
+
+2025-05-01 Paul Thomas <pault@gcc.gnu.org>
+
+ PR fortran/119948
+ * gfortran.dg/pr119948.f90: New test.
+
+2025-05-01 Ayan Shafqat <ayan.x.shafqat@gmail.com>
+
+ * gcc.target/aarch64/acle/acle_sqrt.c: New test.
+
+2025-05-01 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/120003
+ * gcc.dg/tree-ssa/ssa-dom-thread-7.c: Adjust aarch64 expected
+ thread2 number of threads.
+
2025-04-30 Nathaniel Shead <nathanieloshead@gmail.com>
PR c++/120023
diff --git a/gcc/testsuite/gcc.dg/Wdeprecated-non-prototype-5.c b/gcc/testsuite/gcc.dg/Wdeprecated-non-prototype-5.c
new file mode 100644
index 0000000..b231a74
--- /dev/null
+++ b/gcc/testsuite/gcc.dg/Wdeprecated-non-prototype-5.c
@@ -0,0 +1,14 @@
+/* { dg-do compile } */
+/* { dg-options "-Wdeprecated-non-prototype" } */
+
+static inline
+int f (int x)
+{
+ return __builtin_constant_p (x);
+}
+
+static inline
+int g (double x)
+{
+ return __builtin_isfinite (x);
+}
diff --git a/gcc/testsuite/gcc.dg/c2y-named-loops-8.c b/gcc/testsuite/gcc.dg/c2y-named-loops-8.c
new file mode 100644
index 0000000..8d69db4
--- /dev/null
+++ b/gcc/testsuite/gcc.dg/c2y-named-loops-8.c
@@ -0,0 +1,5 @@
+/* PR c/119317 - Named loops (C2y) did not compile with -O1 and -ggdb2 or higher */
+/* { dg-do compile } */
+/* { dg-options "-std=c2y -O1 -ggdb2" } */
+
+#include "c2y-named-loops-1.c"
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog
index d7f2a1a..9631838 100644
--- a/libgomp/ChangeLog
+++ b/libgomp/ChangeLog
@@ -1,3 +1,7 @@
+2025-05-01 Tobias Burnus <tobias@codesourcery.com>
+
+ * testsuite/libgomp.fortran/allocate-8a.f90: New test.
+
2025-04-25 Andrew Stubbs <ams@baylibre.com>
* testsuite/libgomp.c/interop-hsa.c: New test.