aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/ieee754
diff options
context:
space:
mode:
authorJoseph Myers <josmyers@redhat.com>2024-02-01 17:55:57 +0000
committerJoseph Myers <josmyers@redhat.com>2024-02-01 17:55:57 +0000
commit83d8d289b295406e30bc8a079286b093d552c3a5 (patch)
treece6dfd0900446539437d31ea7bf32b44f2169a9e /sysdeps/ieee754
parentc62b6265a641aaec4b0fa1b3fe622c2edf9c3821 (diff)
downloadglibc-83d8d289b295406e30bc8a079286b093d552c3a5.tar
glibc-83d8d289b295406e30bc8a079286b093d552c3a5.tar.gz
glibc-83d8d289b295406e30bc8a079286b093d552c3a5.tar.bz2
glibc-83d8d289b295406e30bc8a079286b093d552c3a5.zip
Rename c2x / gnu2x tests to c23 / gnu23
Complete the internal renaming from "C2X" and related names in GCC by renaming *-c2x and *-gnu2x tests to *-c23 and *-gnu23. Tested for x86_64, and with build-many-glibcs.py for powerpc64le.
Diffstat (limited to 'sysdeps/ieee754')
-rw-r--r--sysdeps/ieee754/ldbl-128ibm-compat/Makefile16
-rw-r--r--sysdeps/ieee754/ldbl-128ibm-compat/tst-ibm128-scanf-binary-c23.c2
-rw-r--r--sysdeps/ieee754/ldbl-128ibm-compat/tst-ibm128-scanf-binary-c2x.c2
-rw-r--r--sysdeps/ieee754/ldbl-128ibm-compat/tst-ibm128-wscanf-binary-c23.c2
-rw-r--r--sysdeps/ieee754/ldbl-128ibm-compat/tst-ibm128-wscanf-binary-c2x.c2
-rw-r--r--sysdeps/ieee754/ldbl-128ibm-compat/tst-ieee128-scanf-binary-c23.c2
-rw-r--r--sysdeps/ieee754/ldbl-128ibm-compat/tst-ieee128-scanf-binary-c2x.c2
-rw-r--r--sysdeps/ieee754/ldbl-128ibm-compat/tst-ieee128-wscanf-binary-c23.c2
-rw-r--r--sysdeps/ieee754/ldbl-128ibm-compat/tst-ieee128-wscanf-binary-c2x.c2
-rw-r--r--sysdeps/ieee754/ldbl-opt/Makefile8
-rw-r--r--sysdeps/ieee754/ldbl-opt/tst-nldbl-scanf-binary-c23.c2
-rw-r--r--sysdeps/ieee754/ldbl-opt/tst-nldbl-scanf-binary-c2x.c2
-rw-r--r--sysdeps/ieee754/ldbl-opt/tst-nldbl-wscanf-binary-c23.c2
-rw-r--r--sysdeps/ieee754/ldbl-opt/tst-nldbl-wscanf-binary-c2x.c2
14 files changed, 24 insertions, 24 deletions
diff --git a/sysdeps/ieee754/ldbl-128ibm-compat/Makefile b/sysdeps/ieee754/ldbl-128ibm-compat/Makefile
index 20cb2dbe35..910c0198eb 100644
--- a/sysdeps/ieee754/ldbl-128ibm-compat/Makefile
+++ b/sysdeps/ieee754/ldbl-128ibm-compat/Makefile
@@ -346,11 +346,11 @@ endif
ifeq ($(subdir), stdio-common)
tests += tst-ibm128-scanf-binary-c11 \
- tst-ibm128-scanf-binary-c2x \
+ tst-ibm128-scanf-binary-c23 \
tst-ibm128-scanf-binary-gnu11 \
tst-ibm128-scanf-binary-gnu89 \
tst-ieee128-scanf-binary-c11 \
- tst-ieee128-scanf-binary-c2x \
+ tst-ieee128-scanf-binary-c23 \
tst-ieee128-scanf-binary-gnu11 \
tst-ieee128-scanf-binary-gnu89
@@ -360,7 +360,7 @@ tests += tst-ibm128-scanf-binary-c11 \
# the test as needed.
CFLAGS-tst-ibm128-scanf-binary-c11.c += -mabi=ibmlongdouble -Wno-psabi \
-std=c11 -DOBJPFX=\"$(objpfx)\"
-CFLAGS-tst-ibm128-scanf-binary-c2x.c += -mabi=ibmlongdouble -Wno-psabi \
+CFLAGS-tst-ibm128-scanf-binary-c23.c += -mabi=ibmlongdouble -Wno-psabi \
-std=c11 -DOBJPFX=\"$(objpfx)\"
CFLAGS-tst-ibm128-scanf-binary-gnu11.c += -mabi=ibmlongdouble -Wno-psabi \
-std=gnu11 -DOBJPFX=\"$(objpfx)\"
@@ -369,7 +369,7 @@ CFLAGS-tst-ibm128-scanf-binary-gnu89.c += -mabi=ibmlongdouble -Wno-psabi \
CFLAGS-tst-ieee128-scanf-binary-c11.c += -mfloat128 -mabi=ieeelongdouble \
-Wno-psabi -std=c11 \
-DOBJPFX=\"$(objpfx)\"
-CFLAGS-tst-ieee128-scanf-binary-c2x.c += -mfloat128 -mabi=ieeelongdouble \
+CFLAGS-tst-ieee128-scanf-binary-c23.c += -mfloat128 -mabi=ieeelongdouble \
-Wno-psabi -std=c11 \
-DOBJPFX=\"$(objpfx)\"
CFLAGS-tst-ieee128-scanf-binary-gnu11.c += -mfloat128 -mabi=ieeelongdouble \
@@ -383,11 +383,11 @@ endif
ifeq ($(subdir), wcsmbs)
tests += tst-ibm128-wscanf-binary-c11 \
- tst-ibm128-wscanf-binary-c2x \
+ tst-ibm128-wscanf-binary-c23 \
tst-ibm128-wscanf-binary-gnu11 \
tst-ibm128-wscanf-binary-gnu89 \
tst-ieee128-wscanf-binary-c11 \
- tst-ieee128-wscanf-binary-c2x \
+ tst-ieee128-wscanf-binary-c23 \
tst-ieee128-wscanf-binary-gnu11 \
tst-ieee128-wscanf-binary-gnu89
@@ -397,7 +397,7 @@ tests += tst-ibm128-wscanf-binary-c11 \
# the test as needed.
CFLAGS-tst-ibm128-wscanf-binary-c11.c += -mabi=ibmlongdouble -Wno-psabi \
-std=c11 -DOBJPFX=\"$(objpfx)\"
-CFLAGS-tst-ibm128-wscanf-binary-c2x.c += -mabi=ibmlongdouble -Wno-psabi \
+CFLAGS-tst-ibm128-wscanf-binary-c23.c += -mabi=ibmlongdouble -Wno-psabi \
-std=c11 -DOBJPFX=\"$(objpfx)\"
CFLAGS-tst-ibm128-wscanf-binary-gnu11.c += -mabi=ibmlongdouble -Wno-psabi \
-std=gnu11 -DOBJPFX=\"$(objpfx)\"
@@ -406,7 +406,7 @@ CFLAGS-tst-ibm128-wscanf-binary-gnu89.c += -mabi=ibmlongdouble -Wno-psabi \
CFLAGS-tst-ieee128-wscanf-binary-c11.c += -mfloat128 -mabi=ieeelongdouble \
-Wno-psabi -std=c11 \
-DOBJPFX=\"$(objpfx)\"
-CFLAGS-tst-ieee128-wscanf-binary-c2x.c += -mfloat128 -mabi=ieeelongdouble \
+CFLAGS-tst-ieee128-wscanf-binary-c23.c += -mfloat128 -mabi=ieeelongdouble \
-Wno-psabi -std=c11 \
-DOBJPFX=\"$(objpfx)\"
CFLAGS-tst-ieee128-wscanf-binary-gnu11.c += -mfloat128 -mabi=ieeelongdouble \
diff --git a/sysdeps/ieee754/ldbl-128ibm-compat/tst-ibm128-scanf-binary-c23.c b/sysdeps/ieee754/ldbl-128ibm-compat/tst-ibm128-scanf-binary-c23.c
new file mode 100644
index 0000000000..982d33557e
--- /dev/null
+++ b/sysdeps/ieee754/ldbl-128ibm-compat/tst-ibm128-scanf-binary-c23.c
@@ -0,0 +1,2 @@
+#define STDX "ibm128-"
+#include <tst-scanf-binary-c23.c>
diff --git a/sysdeps/ieee754/ldbl-128ibm-compat/tst-ibm128-scanf-binary-c2x.c b/sysdeps/ieee754/ldbl-128ibm-compat/tst-ibm128-scanf-binary-c2x.c
deleted file mode 100644
index f8bb2e4be3..0000000000
--- a/sysdeps/ieee754/ldbl-128ibm-compat/tst-ibm128-scanf-binary-c2x.c
+++ /dev/null
@@ -1,2 +0,0 @@
-#define STDX "ibm128-"
-#include <tst-scanf-binary-c2x.c>
diff --git a/sysdeps/ieee754/ldbl-128ibm-compat/tst-ibm128-wscanf-binary-c23.c b/sysdeps/ieee754/ldbl-128ibm-compat/tst-ibm128-wscanf-binary-c23.c
new file mode 100644
index 0000000000..594afd51e9
--- /dev/null
+++ b/sysdeps/ieee754/ldbl-128ibm-compat/tst-ibm128-wscanf-binary-c23.c
@@ -0,0 +1,2 @@
+#define STDX "ibm128-"
+#include <tst-wscanf-binary-c23.c>
diff --git a/sysdeps/ieee754/ldbl-128ibm-compat/tst-ibm128-wscanf-binary-c2x.c b/sysdeps/ieee754/ldbl-128ibm-compat/tst-ibm128-wscanf-binary-c2x.c
deleted file mode 100644
index bf0c3da75e..0000000000
--- a/sysdeps/ieee754/ldbl-128ibm-compat/tst-ibm128-wscanf-binary-c2x.c
+++ /dev/null
@@ -1,2 +0,0 @@
-#define STDX "ibm128-"
-#include <tst-wscanf-binary-c2x.c>
diff --git a/sysdeps/ieee754/ldbl-128ibm-compat/tst-ieee128-scanf-binary-c23.c b/sysdeps/ieee754/ldbl-128ibm-compat/tst-ieee128-scanf-binary-c23.c
new file mode 100644
index 0000000000..ce25ef0802
--- /dev/null
+++ b/sysdeps/ieee754/ldbl-128ibm-compat/tst-ieee128-scanf-binary-c23.c
@@ -0,0 +1,2 @@
+#define STDX "ieee128-"
+#include <tst-scanf-binary-c23.c>
diff --git a/sysdeps/ieee754/ldbl-128ibm-compat/tst-ieee128-scanf-binary-c2x.c b/sysdeps/ieee754/ldbl-128ibm-compat/tst-ieee128-scanf-binary-c2x.c
deleted file mode 100644
index d09c21394c..0000000000
--- a/sysdeps/ieee754/ldbl-128ibm-compat/tst-ieee128-scanf-binary-c2x.c
+++ /dev/null
@@ -1,2 +0,0 @@
-#define STDX "ieee128-"
-#include <tst-scanf-binary-c2x.c>
diff --git a/sysdeps/ieee754/ldbl-128ibm-compat/tst-ieee128-wscanf-binary-c23.c b/sysdeps/ieee754/ldbl-128ibm-compat/tst-ieee128-wscanf-binary-c23.c
new file mode 100644
index 0000000000..c0b52338c0
--- /dev/null
+++ b/sysdeps/ieee754/ldbl-128ibm-compat/tst-ieee128-wscanf-binary-c23.c
@@ -0,0 +1,2 @@
+#define STDX "ieee128-"
+#include <tst-wscanf-binary-c23.c>
diff --git a/sysdeps/ieee754/ldbl-128ibm-compat/tst-ieee128-wscanf-binary-c2x.c b/sysdeps/ieee754/ldbl-128ibm-compat/tst-ieee128-wscanf-binary-c2x.c
deleted file mode 100644
index 7e2d27c6d2..0000000000
--- a/sysdeps/ieee754/ldbl-128ibm-compat/tst-ieee128-wscanf-binary-c2x.c
+++ /dev/null
@@ -1,2 +0,0 @@
-#define STDX "ieee128-"
-#include <tst-wscanf-binary-c2x.c>
diff --git a/sysdeps/ieee754/ldbl-opt/Makefile b/sysdeps/ieee754/ldbl-opt/Makefile
index f20c267081..74788ac999 100644
--- a/sysdeps/ieee754/ldbl-opt/Makefile
+++ b/sysdeps/ieee754/ldbl-opt/Makefile
@@ -232,7 +232,7 @@ endif
ifeq ($(subdir), stdio-common)
tests += tst-nldbl-scanf-binary-c11 \
- tst-nldbl-scanf-binary-c2x \
+ tst-nldbl-scanf-binary-c23 \
tst-nldbl-scanf-binary-gnu11 \
tst-nldbl-scanf-binary-gnu89
@@ -242,7 +242,7 @@ tests += tst-nldbl-scanf-binary-c11 \
# the test as needed.
CFLAGS-tst-nldbl-scanf-binary-c11.c += -mlong-double-64 -std=c11 \
-DOBJPFX=\"$(objpfx)\"
-CFLAGS-tst-nldbl-scanf-binary-c2x.c += -mlong-double-64 -std=c11 \
+CFLAGS-tst-nldbl-scanf-binary-c23.c += -mlong-double-64 -std=c11 \
-DOBJPFX=\"$(objpfx)\"
CFLAGS-tst-nldbl-scanf-binary-gnu11.c += -mlong-double-64 -std=gnu11 \
-DOBJPFX=\"$(objpfx)\"
@@ -253,7 +253,7 @@ endif
ifeq ($(subdir), wcsmbs)
tests += tst-nldbl-wscanf-binary-c11 \
- tst-nldbl-wscanf-binary-c2x \
+ tst-nldbl-wscanf-binary-c23 \
tst-nldbl-wscanf-binary-gnu11 \
tst-nldbl-wscanf-binary-gnu89
@@ -263,7 +263,7 @@ tests += tst-nldbl-wscanf-binary-c11 \
# the test as needed.
CFLAGS-tst-nldbl-wscanf-binary-c11.c += -mlong-double-64 -std=c11 \
-DOBJPFX=\"$(objpfx)\"
-CFLAGS-tst-nldbl-wscanf-binary-c2x.c += -mlong-double-64 -std=c11 \
+CFLAGS-tst-nldbl-wscanf-binary-c23.c += -mlong-double-64 -std=c11 \
-DOBJPFX=\"$(objpfx)\"
CFLAGS-tst-nldbl-wscanf-binary-gnu11.c += -mlong-double-64 -std=gnu11 \
-DOBJPFX=\"$(objpfx)\"
diff --git a/sysdeps/ieee754/ldbl-opt/tst-nldbl-scanf-binary-c23.c b/sysdeps/ieee754/ldbl-opt/tst-nldbl-scanf-binary-c23.c
new file mode 100644
index 0000000000..f30d9501f8
--- /dev/null
+++ b/sysdeps/ieee754/ldbl-opt/tst-nldbl-scanf-binary-c23.c
@@ -0,0 +1,2 @@
+#define STDX "nldbl-"
+#include <tst-scanf-binary-c23.c>
diff --git a/sysdeps/ieee754/ldbl-opt/tst-nldbl-scanf-binary-c2x.c b/sysdeps/ieee754/ldbl-opt/tst-nldbl-scanf-binary-c2x.c
deleted file mode 100644
index 4e0cf7570f..0000000000
--- a/sysdeps/ieee754/ldbl-opt/tst-nldbl-scanf-binary-c2x.c
+++ /dev/null
@@ -1,2 +0,0 @@
-#define STDX "nldbl-"
-#include <tst-scanf-binary-c2x.c>
diff --git a/sysdeps/ieee754/ldbl-opt/tst-nldbl-wscanf-binary-c23.c b/sysdeps/ieee754/ldbl-opt/tst-nldbl-wscanf-binary-c23.c
new file mode 100644
index 0000000000..0fd61276d1
--- /dev/null
+++ b/sysdeps/ieee754/ldbl-opt/tst-nldbl-wscanf-binary-c23.c
@@ -0,0 +1,2 @@
+#define STDX "nldbl-"
+#include <tst-wscanf-binary-c23.c>
diff --git a/sysdeps/ieee754/ldbl-opt/tst-nldbl-wscanf-binary-c2x.c b/sysdeps/ieee754/ldbl-opt/tst-nldbl-wscanf-binary-c2x.c
deleted file mode 100644
index 7637aab0d4..0000000000
--- a/sysdeps/ieee754/ldbl-opt/tst-nldbl-wscanf-binary-c2x.c
+++ /dev/null
@@ -1,2 +0,0 @@
-#define STDX "nldbl-"
-#include <tst-wscanf-binary-c2x.c>