aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite')
-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
3 files changed, 53 insertions, 0 deletions
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"