]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: Refer more consistently to C23 not C2X
authorJoseph Myers <joseph@codesourcery.com>
Tue, 7 Nov 2023 22:00:48 +0000 (22:00 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Tue, 7 Nov 2023 22:00:48 +0000 (22:00 +0000)
Continuing the move to refer to C23 in place of C2X throughout the
source tree, update testcase contents to use the "c23" or "gnu23"
option names in place of the old "c2x" or "gnu2x" names, except for
the few tests specifically intended to test the old names, and to
refer to C23 in comments.

This updates testcase *contents*; testcase naming (renaming c2x-*
tests to c23-* and gnu2x-* tests to gnu23-*), with a few consequent
changes to contents (where tests #include other tests, or refer to
them by name in comments) is to be addressed separately.

Bootstrapped with no regressions for x86_64-pc-linux-gnu.

gcc/testsuite/
* c-c++-common/alias-1.c: Use "c23" or "gnu23" option names in
place of "c2x" or "gnu2x" names, and refer to C23 in comments in
place of C2X or C2x.
* gcc.dg/Wformat-overflow1.c: Likewise.
* gcc.dg/asm-scope-1.c: Likewise.
* gcc.dg/atomic/c2x-stdatomic-lockfree-char8_t.c: Likewise.
* gcc.dg/atomic/c2x-stdatomic-var-init-1.c: Likewise.
* gcc.dg/atomic/gnu2x-stdatomic-lockfree-char8_t.c: Likewise.
* gcc.dg/atomic/stdatomic-bitint-1.c: Likewise.
* gcc.dg/atomic/stdatomic-bitint-2.c: Likewise.
* gcc.dg/attr-assume-1.c: Likewise.
* gcc.dg/attr-assume-2.c: Likewise.
* gcc.dg/attr-assume-3.c: Likewise.
* gcc.dg/attr-assume-4.c: Likewise.
* gcc.dg/bitint-1.c: Likewise.
* gcc.dg/bitint-10.c: Likewise.
* gcc.dg/bitint-11.c: Likewise.
* gcc.dg/bitint-12.c: Likewise.
* gcc.dg/bitint-13.c: Likewise.
* gcc.dg/bitint-14.c: Likewise.
* gcc.dg/bitint-15.c: Likewise.
* gcc.dg/bitint-16.c: Likewise.
* gcc.dg/bitint-17.c: Likewise.
* gcc.dg/bitint-18.c: Likewise.
* gcc.dg/bitint-19.c: Likewise.
* gcc.dg/bitint-2.c: Likewise.
* gcc.dg/bitint-20.c: Likewise.
* gcc.dg/bitint-21.c: Likewise.
* gcc.dg/bitint-22.c: Likewise.
* gcc.dg/bitint-23.c: Likewise.
* gcc.dg/bitint-25.c: Likewise.
* gcc.dg/bitint-28.c: Likewise.
* gcc.dg/bitint-29.c: Likewise.
* gcc.dg/bitint-3.c: Likewise.
* gcc.dg/bitint-30.c: Likewise.
* gcc.dg/bitint-31.c: Likewise.
* gcc.dg/bitint-32.c: Likewise.
* gcc.dg/bitint-34.c: Likewise.
* gcc.dg/bitint-35.c: Likewise.
* gcc.dg/bitint-36.c: Likewise.
* gcc.dg/bitint-38.c: Likewise.
* gcc.dg/bitint-39.c: Likewise.
* gcc.dg/bitint-4.c: Likewise.
* gcc.dg/bitint-5.c: Likewise.
* gcc.dg/bitint-6.c: Likewise.
* gcc.dg/bitint-7.c: Likewise.
* gcc.dg/bitint-8.c: Likewise.
* gcc.dg/bitint-9.c: Likewise.
* gcc.dg/c11-attr-syntax-3.c: Likewise.
* gcc.dg/c11-builtins-1.c: Likewise.
* gcc.dg/c11-complit-1.c: Likewise.
* gcc.dg/c11-complit-2.c: Likewise.
* gcc.dg/c11-complit-3.c: Likewise.
* gcc.dg/c11-digit-separators-1.c: Likewise.
* gcc.dg/c11-empty-init-3.c: Likewise.
* gcc.dg/c11-enum-1.c: Likewise.
* gcc.dg/c11-enum-2.c: Likewise.
* gcc.dg/c11-enum-3.c: Likewise.
* gcc.dg/c11-enum-4.c: Likewise.
* gcc.dg/c11-enum-5.c: Likewise.
* gcc.dg/c11-enum-6.c: Likewise.
* gcc.dg/c11-floatn-5.c: Likewise.
* gcc.dg/c11-floatn-6.c: Likewise.
* gcc.dg/c11-floatn-7.c: Likewise.
* gcc.dg/c11-floatn-8.c: Likewise.
* gcc.dg/c11-fordecl-3.c: Likewise.
* gcc.dg/c11-fordecl-4.c: Likewise.
* gcc.dg/c11-keywords-1.c: Likewise.
* gcc.dg/c11-old-style-definition-1.c: Likewise.
* gcc.dg/c11-old-style-definition-2.c: Likewise.
* gcc.dg/c11-parm-omit-3.c: Likewise.
* gcc.dg/c11-qual-1.c: Likewise.
* gcc.dg/c11-static-assert-9.c: Likewise.
* gcc.dg/c11-stdarg-3.c: Likewise.
* gcc.dg/c11-unproto-1.c: Likewise.
* gcc.dg/c11-unproto-2.c: Likewise.
* gcc.dg/c11-utf8char-1.c: Likewise.
* gcc.dg/c17-nullptr-2.c: Likewise.
* gcc.dg/c2x-align-1.c: Likewise.
* gcc.dg/c2x-align-6.c: Likewise.
* gcc.dg/c2x-attr-deprecated-1.c: Likewise.
* gcc.dg/c2x-attr-deprecated-2.c: Likewise.
* gcc.dg/c2x-attr-deprecated-3.c: Likewise.
* gcc.dg/c2x-attr-deprecated-4.c: Likewise.
* gcc.dg/c2x-attr-fallthrough-1.c: Likewise.
* gcc.dg/c2x-attr-fallthrough-2.c: Likewise.
* gcc.dg/c2x-attr-fallthrough-3.c: Likewise.
* gcc.dg/c2x-attr-fallthrough-4.c: Likewise.
* gcc.dg/c2x-attr-fallthrough-5.c: Likewise.
* gcc.dg/c2x-attr-fallthrough-6.c: Likewise.
* gcc.dg/c2x-attr-maybe_unused-1.c: Likewise.
* gcc.dg/c2x-attr-maybe_unused-2.c: Likewise.
* gcc.dg/c2x-attr-maybe_unused-3.c: Likewise.
* gcc.dg/c2x-attr-maybe_unused-4.c: Likewise.
* gcc.dg/c2x-attr-nodiscard-1.c: Likewise.
* gcc.dg/c2x-attr-nodiscard-2.c: Likewise.
* gcc.dg/c2x-attr-nodiscard-3.c: Likewise.
* gcc.dg/c2x-attr-nodiscard-4.c: Likewise.
* gcc.dg/c2x-attr-noreturn-1.c: Likewise.
* gcc.dg/c2x-attr-noreturn-2.c: Likewise.
* gcc.dg/c2x-attr-noreturn-3.c: Likewise.
* gcc.dg/c2x-attr-syntax-1.c: Likewise.
* gcc.dg/c2x-attr-syntax-2.c: Likewise.
* gcc.dg/c2x-attr-syntax-3.c: Likewise.
* gcc.dg/c2x-attr-syntax-4.c: Likewise.
* gcc.dg/c2x-attr-syntax-5.c: Likewise.
* gcc.dg/c2x-attr-syntax-7.c: Likewise.
* gcc.dg/c2x-auto-1.c: Likewise.
* gcc.dg/c2x-auto-2.c: Likewise.
* gcc.dg/c2x-auto-3.c: Likewise.
* gcc.dg/c2x-auto-4.c: Likewise.
* gcc.dg/c2x-binary-constants-1.c: Likewise.
* gcc.dg/c2x-binary-constants-2.c: Likewise.
* gcc.dg/c2x-binary-constants-3.c: Likewise.
* gcc.dg/c2x-bool-1.c: Likewise.
* gcc.dg/c2x-bool-2.c: Likewise.
* gcc.dg/c2x-bool-limits-1.c: Likewise.
* gcc.dg/c2x-builtins-1.c: Likewise.
* gcc.dg/c2x-complit-1.c: Likewise.
* gcc.dg/c2x-complit-2.c: Likewise.
* gcc.dg/c2x-complit-3.c: Likewise.
* gcc.dg/c2x-complit-4.c: Likewise.
* gcc.dg/c2x-complit-5.c: Likewise.
* gcc.dg/c2x-complit-6.c: Likewise.
* gcc.dg/c2x-complit-7.c: Likewise.
* gcc.dg/c2x-complit-8.c: Likewise.
* gcc.dg/c2x-concat-1.c: Likewise.
* gcc.dg/c2x-constexpr-1.c: Likewise.
* gcc.dg/c2x-constexpr-2a.c: Likewise.
* gcc.dg/c2x-constexpr-2b.c: Likewise.
* gcc.dg/c2x-constexpr-3.c: Likewise.
* gcc.dg/c2x-constexpr-4.c: Likewise.
* gcc.dg/c2x-constexpr-5.c: Likewise.
* gcc.dg/c2x-constexpr-6.c: Likewise.
* gcc.dg/c2x-constexpr-7.c: Likewise.
* gcc.dg/c2x-constexpr-8.c: Likewise.
* gcc.dg/c2x-constexpr-9.c: Likewise.
* gcc.dg/c2x-digit-separators-1.c: Likewise.
* gcc.dg/c2x-digit-separators-2.c: Likewise.
* gcc.dg/c2x-digit-separators-3.c: Likewise.
* gcc.dg/c2x-empty-init-1.c: Likewise.
* gcc.dg/c2x-empty-init-2.c: Likewise.
* gcc.dg/c2x-empty-init-3.c: Likewise.
* gcc.dg/c2x-enum-1.c: Likewise.
* gcc.dg/c2x-enum-2.c: Likewise.
* gcc.dg/c2x-enum-3.c: Likewise.
* gcc.dg/c2x-enum-4.c: Likewise.
* gcc.dg/c2x-enum-5.c: Likewise.
* gcc.dg/c2x-enum-6.c: Likewise.
* gcc.dg/c2x-enum-7.c: Likewise.
* gcc.dg/c2x-enum-8.c: Likewise.
* gcc.dg/c2x-float-1.c: Likewise.
* gcc.dg/c2x-float-10.c: Likewise.
* gcc.dg/c2x-float-11.c: Likewise.
* gcc.dg/c2x-float-12.c: Likewise.
* gcc.dg/c2x-float-13.c: Likewise.
* gcc.dg/c2x-float-2.c: Likewise.
* gcc.dg/c2x-float-3.c: Likewise.
* gcc.dg/c2x-float-4.c: Likewise.
* gcc.dg/c2x-float-5.c: Likewise.
* gcc.dg/c2x-float-6.c: Likewise.
* gcc.dg/c2x-float-7a.c: Likewise.
* gcc.dg/c2x-float-7b.c: Likewise.
* gcc.dg/c2x-float-7c.c: Likewise.
* gcc.dg/c2x-float-8.c: Likewise.
* gcc.dg/c2x-float-9.c: Likewise.
* gcc.dg/c2x-float-no-dfp-1.c: Likewise.
* gcc.dg/c2x-float-no-dfp-2.c: Likewise.
* gcc.dg/c2x-float-no-dfp-3.c: Likewise.
* gcc.dg/c2x-float-no-dfp-4.c: Likewise.
* gcc.dg/c2x-floatn-1.c: Likewise.
* gcc.dg/c2x-floatn-2.c: Likewise.
* gcc.dg/c2x-floatn-3.c: Likewise.
* gcc.dg/c2x-floatn-4.c: Likewise.
* gcc.dg/c2x-floatn-5.c: Likewise.
* gcc.dg/c2x-floatn-6.c: Likewise.
* gcc.dg/c2x-floatn-7.c: Likewise.
* gcc.dg/c2x-floatn-8.c: Likewise.
* gcc.dg/c2x-fordecl-1.c: Likewise.
* gcc.dg/c2x-fordecl-2.c: Likewise.
* gcc.dg/c2x-fordecl-3.c: Likewise.
* gcc.dg/c2x-fordecl-4.c: Likewise.
* gcc.dg/c2x-has-c-attribute-1.c: Likewise.
* gcc.dg/c2x-has-c-attribute-2.c: Likewise.
* gcc.dg/c2x-has-c-attribute-3.c: Likewise.
* gcc.dg/c2x-has-c-attribute-4.c: Likewise.
* gcc.dg/c2x-labels-1.c: Likewise.
* gcc.dg/c2x-labels-2.c: Likewise.
* gcc.dg/c2x-labels-3.c: Likewise.
* gcc.dg/c2x-limits-1.c: Likewise.
* gcc.dg/c2x-no-dfp-1.c: Likewise.
* gcc.dg/c2x-nullptr-1.c: Likewise.
* gcc.dg/c2x-nullptr-2.c: Likewise.
* gcc.dg/c2x-nullptr-3.c: Likewise.
* gcc.dg/c2x-nullptr-4.c: Likewise.
* gcc.dg/c2x-nullptr-5.c: Likewise.
* gcc.dg/c2x-nullptr-6.c: Likewise.
* gcc.dg/c2x-old-style-definition-1.c: Likewise.
* gcc.dg/c2x-old-style-definition-2.c: Likewise.
* gcc.dg/c2x-old-style-definition-3.c: Likewise.
* gcc.dg/c2x-old-style-definition-4.c: Likewise.
* gcc.dg/c2x-old-style-definition-5.c: Likewise.
* gcc.dg/c2x-old-style-definition-6.c: Likewise.
* gcc.dg/c2x-parm-omit-1.c: Likewise.
* gcc.dg/c2x-parm-omit-2.c: Likewise.
* gcc.dg/c2x-parm-omit-3.c: Likewise.
* gcc.dg/c2x-parm-omit-4.c: Likewise.
* gcc.dg/c2x-qual-1.c: Likewise.
* gcc.dg/c2x-qual-2.c: Likewise.
* gcc.dg/c2x-qual-3.c: Likewise.
* gcc.dg/c2x-qual-4.c: Likewise.
* gcc.dg/c2x-qual-5.c: Likewise.
* gcc.dg/c2x-qual-6.c: Likewise.
* gcc.dg/c2x-qual-7.c: Likewise.
* gcc.dg/c2x-static-assert-1.c: Likewise.
* gcc.dg/c2x-static-assert-2.c: Likewise.
* gcc.dg/c2x-static-assert-3.c: Likewise.
* gcc.dg/c2x-static-assert-4.c: Likewise.
* gcc.dg/c2x-stdarg-1.c: Likewise.
* gcc.dg/c2x-stdarg-2.c: Likewise.
* gcc.dg/c2x-stdarg-3.c: Likewise.
* gcc.dg/c2x-stdarg-4.c: Likewise.
* gcc.dg/c2x-stdarg-5.c: Likewise.
* gcc.dg/c2x-stdatomic-1.c: Likewise.
* gcc.dg/c2x-stddef-1.c: Likewise.
* gcc.dg/c2x-stdint-1.c: Likewise.
* gcc.dg/c2x-thread-local-1.c: Likewise.
* gcc.dg/c2x-thread-local-2.c: Likewise.
* gcc.dg/c2x-typeof-1.c: Likewise.
* gcc.dg/c2x-typeof-2.c: Likewise.
* gcc.dg/c2x-typeof-3.c: Likewise.
* gcc.dg/c2x-unproto-1.c: Likewise.
* gcc.dg/c2x-unproto-2.c: Likewise.
* gcc.dg/c2x-unproto-3.c: Likewise.
* gcc.dg/c2x-unproto-4.c: Likewise.
* gcc.dg/c2x-unreachable-1.c: Likewise.
* gcc.dg/c2x-utf8char-1.c: Likewise.
* gcc.dg/c2x-utf8char-2.c: Likewise.
* gcc.dg/c2x-utf8char-3.c: Likewise.
* gcc.dg/c2x-utf8str-type.c: Likewise.
* gcc.dg/c2x-utf8str.c: Likewise.
* gcc.dg/c90-auto-1.c: Likewise.
* gcc.dg/c90-complit-2.c: Likewise.
* gcc.dg/cpp/c11-warning-3.c: Likewise.
* gcc.dg/cpp/c2x-elifdef-1.c: Likewise.
* gcc.dg/cpp/c2x-elifdef-2.c: Likewise.
* gcc.dg/cpp/c2x-scope-1.c: Likewise.
* gcc.dg/cpp/c2x-scope-2.c: Likewise.
* gcc.dg/cpp/c2x-trigraphs-1.c: Likewise.
* gcc.dg/cpp/c2x-trigraphs-2.c: Likewise.
* gcc.dg/cpp/c2x-ucn-1.c: Likewise.
* gcc.dg/cpp/c2x-ucnid-1-utf8.c: Likewise.
* gcc.dg/cpp/c2x-ucnid-1.c: Likewise.
* gcc.dg/cpp/c2x-va-opt-1.c: Likewise.
* gcc.dg/cpp/c2x-warning-1.c: Likewise.
* gcc.dg/cpp/c2x-warning-2.c: Likewise.
* gcc.dg/cpp/gnu11-warning-3.c: Likewise.
* gcc.dg/cpp/gnu2x-warning-1.c: Likewise.
* gcc.dg/cpp/gnu2x-warning-2.c: Likewise.
* gcc.dg/cr-decimal-dig-2.c: Likewise.
* gcc.dg/cr-decimal-dig-3.c: Likewise.
* gcc.dg/dfp/bid-non-canonical-d128-1.c: Likewise.
* gcc.dg/dfp/bid-non-canonical-d128-2.c: Likewise.
* gcc.dg/dfp/bid-non-canonical-d128-3.c: Likewise.
* gcc.dg/dfp/bid-non-canonical-d128-4.c: Likewise.
* gcc.dg/dfp/bid-non-canonical-d32-1.c: Likewise.
* gcc.dg/dfp/bid-non-canonical-d32-2.c: Likewise.
* gcc.dg/dfp/bid-non-canonical-d64-1.c: Likewise.
* gcc.dg/dfp/bid-non-canonical-d64-2.c: Likewise.
* gcc.dg/dfp/bitint-1.c: Likewise.
* gcc.dg/dfp/bitint-2.c: Likewise.
* gcc.dg/dfp/bitint-3.c: Likewise.
* gcc.dg/dfp/bitint-4.c: Likewise.
* gcc.dg/dfp/bitint-5.c: Likewise.
* gcc.dg/dfp/bitint-6.c: Likewise.
* gcc.dg/dfp/bitint-7.c: Likewise.
* gcc.dg/dfp/bitint-8.c: Likewise.
* gcc.dg/dfp/c2x-builtins-dfp-1.c: Likewise.
* gcc.dg/dfp/c2x-constants-1.c: Likewise.
* gcc.dg/dfp/c2x-constants-2.c: Likewise.
* gcc.dg/dfp/c2x-constexpr-dfp-1.c: Likewise.
* gcc.dg/dfp/c2x-constexpr-dfp-2.c: Likewise.
* gcc.dg/dfp/c2x-float-dfp-1.c: Likewise.
* gcc.dg/dfp/c2x-float-dfp-2.c: Likewise.
* gcc.dg/dfp/c2x-float-dfp-3.c: Likewise.
* gcc.dg/dfp/c2x-float-dfp-4.c: Likewise.
* gcc.dg/dfp/c2x-float-dfp-5.c: Likewise.
* gcc.dg/dfp/c2x-float-dfp-6.c: Likewise.
* gcc.dg/dfp/c2x-float-dfp-7.c: Likewise.
* gcc.dg/dfp/c2x-float-dfp-8.c: Likewise.
* gcc.dg/dfp/c2x-keywords-1.c: Likewise.
* gcc.dg/dfp/c2x-keywords-2.c: Likewise.
* gcc.dg/dfp/tr24732-float-dfp-1.c: Likewise.
* gcc.dg/dfp/ts18661-2-float-dfp-1.c: Likewise.
* gcc.dg/fixed-point/bitint-1.c: Likewise.
* gcc.dg/format/c11-printf-1.c: Likewise.
* gcc.dg/format/c11-scanf-1.c: Likewise.
* gcc.dg/format/c2x-dfp-printf-1.c: Likewise.
* gcc.dg/format/c2x-dfp-scanf-1.c: Likewise.
* gcc.dg/format/c2x-printf-1.c: Likewise.
* gcc.dg/format/c2x-scanf-1.c: Likewise.
* gcc.dg/format/c2x-strftime-1.c: Likewise.
* gcc.dg/format/ext-10.c: Likewise.
* gcc.dg/format/ext-9.c: Likewise.
* gcc.dg/gnu11-typeof-2.c: Likewise.
* gcc.dg/gnu2x-attr-syntax-1.c: Likewise.
* gcc.dg/gnu2x-attr-syntax-2.c: Likewise.
* gcc.dg/gnu2x-attrs-1.c: Likewise.
* gcc.dg/gnu2x-attrs-2.c: Likewise.
* gcc.dg/gnu2x-auto-1.c: Likewise.
* gcc.dg/gnu2x-builtins-no-dfp-1.c: Likewise.
* gcc.dg/gnu2x-complit-1.c: Likewise.
* gcc.dg/gnu2x-complit-2.c: Likewise.
* gcc.dg/gnu2x-constexpr-1.c: Likewise.
* gcc.dg/gnu2x-empty-init-1.c: Likewise.
* gcc.dg/gnu2x-empty-init-2.c: Likewise.
* gcc.dg/gnu2x-enum-1.c: Likewise.
* gcc.dg/gnu2x-static-assert-1.c: Likewise.
* gcc.dg/gnu2x-stdarg-1.c: Likewise.
* gcc.dg/gnu2x-typeof-1.c: Likewise.
* gcc.dg/gnu2x-utf8char-1.c: Likewise.
* gcc.dg/gnu2x-utf8str-type.c: Likewise.
* gcc.dg/gnu2x-utf8str.c: Likewise.
* gcc.dg/gomp/attrs-1.c: Likewise.
* gcc.dg/gomp/attrs-10.c: Likewise.
* gcc.dg/gomp/attrs-11.c: Likewise.
* gcc.dg/gomp/attrs-12.c: Likewise.
* gcc.dg/gomp/attrs-13.c: Likewise.
* gcc.dg/gomp/attrs-14.c: Likewise.
* gcc.dg/gomp/attrs-15.c: Likewise.
* gcc.dg/gomp/attrs-16.c: Likewise.
* gcc.dg/gomp/attrs-17.c: Likewise.
* gcc.dg/gomp/attrs-18.c: Likewise.
* gcc.dg/gomp/attrs-19.c: Likewise.
* gcc.dg/gomp/attrs-2.c: Likewise.
* gcc.dg/gomp/attrs-20.c: Likewise.
* gcc.dg/gomp/attrs-21.c: Likewise.
* gcc.dg/gomp/attrs-3.c: Likewise.
* gcc.dg/gomp/attrs-4.c: Likewise.
* gcc.dg/gomp/attrs-5.c: Likewise.
* gcc.dg/gomp/attrs-6.c: Likewise.
* gcc.dg/gomp/attrs-7.c: Likewise.
* gcc.dg/gomp/attrs-8.c: Likewise.
* gcc.dg/gomp/attrs-9.c: Likewise.
* gcc.dg/limits-width-2.c: Likewise.
* gcc.dg/qual-return-10.c: Likewise.
* gcc.dg/qual-return-9.c: Likewise.
* gcc.dg/sso-19.c: Likewise.
* gcc.dg/stdckdint-1.c: Likewise.
* gcc.dg/stdckdint-2.c: Likewise.
* gcc.dg/stdint-width-2.c: Likewise.
* gcc.dg/tm/attrs-1.c: Likewise.
* gcc.dg/torture/bitint-1.c: Likewise.
* gcc.dg/torture/bitint-10.c: Likewise.
* gcc.dg/torture/bitint-11.c: Likewise.
* gcc.dg/torture/bitint-12.c: Likewise.
* gcc.dg/torture/bitint-13.c: Likewise.
* gcc.dg/torture/bitint-14.c: Likewise.
* gcc.dg/torture/bitint-15.c: Likewise.
* gcc.dg/torture/bitint-16.c: Likewise.
* gcc.dg/torture/bitint-17.c: Likewise.
* gcc.dg/torture/bitint-18.c: Likewise.
* gcc.dg/torture/bitint-19.c: Likewise.
* gcc.dg/torture/bitint-2.c: Likewise.
* gcc.dg/torture/bitint-20.c: Likewise.
* gcc.dg/torture/bitint-21.c: Likewise.
* gcc.dg/torture/bitint-22.c: Likewise.
* gcc.dg/torture/bitint-23.c: Likewise.
* gcc.dg/torture/bitint-24.c: Likewise.
* gcc.dg/torture/bitint-25.c: Likewise.
* gcc.dg/torture/bitint-26.c: Likewise.
* gcc.dg/torture/bitint-27.c: Likewise.
* gcc.dg/torture/bitint-28.c: Likewise.
* gcc.dg/torture/bitint-29.c: Likewise.
* gcc.dg/torture/bitint-3.c: Likewise.
* gcc.dg/torture/bitint-30.c: Likewise.
* gcc.dg/torture/bitint-31.c: Likewise.
* gcc.dg/torture/bitint-32.c: Likewise.
* gcc.dg/torture/bitint-33.c: Likewise.
* gcc.dg/torture/bitint-34.c: Likewise.
* gcc.dg/torture/bitint-35.c: Likewise.
* gcc.dg/torture/bitint-36.c: Likewise.
* gcc.dg/torture/bitint-37.c: Likewise.
* gcc.dg/torture/bitint-38.c: Likewise.
* gcc.dg/torture/bitint-39.c: Likewise.
* gcc.dg/torture/bitint-4.c: Likewise.
* gcc.dg/torture/bitint-40.c: Likewise.
* gcc.dg/torture/bitint-41.c: Likewise.
* gcc.dg/torture/bitint-42.c: Likewise.
* gcc.dg/torture/bitint-5.c: Likewise.
* gcc.dg/torture/bitint-6.c: Likewise.
* gcc.dg/torture/bitint-7.c: Likewise.
* gcc.dg/torture/bitint-8.c: Likewise.
* gcc.dg/torture/bitint-9.c: Likewise.
* gcc.dg/torture/builtin-fp-int-inexact-c2x.c: Likewise.
* gcc.dg/torture/c2x-stdarg-split-1a.c: Likewise.
* gcc.dg/torture/c2x-stdarg-split-1b.c: Likewise.
* gcc.dg/torture/float128-nan-floath.c: Likewise.
* gcc.dg/torture/float128x-nan-floath.c: Likewise.
* gcc.dg/torture/float16-nan-floath.c: Likewise.
* gcc.dg/torture/float32-nan-floath.c: Likewise.
* gcc.dg/torture/float32x-nan-floath.c: Likewise.
* gcc.dg/torture/float64-nan-floath.c: Likewise.
* gcc.dg/torture/float64x-nan-floath.c: Likewise.
* gcc.target/i386/excess-precision-11.c: Likewise.
* gcc.target/i386/excess-precision-12.c: Likewise.
* lib/target-supports.exp: Likewise.
* objc.dg/attributes/gnu2x-attr-syntax-1.m: Likewise.

406 files changed:
gcc/testsuite/c-c++-common/alias-1.c
gcc/testsuite/gcc.dg/Wformat-overflow1.c
gcc/testsuite/gcc.dg/asm-scope-1.c
gcc/testsuite/gcc.dg/atomic/c2x-stdatomic-lockfree-char8_t.c
gcc/testsuite/gcc.dg/atomic/c2x-stdatomic-var-init-1.c
gcc/testsuite/gcc.dg/atomic/gnu2x-stdatomic-lockfree-char8_t.c
gcc/testsuite/gcc.dg/atomic/stdatomic-bitint-1.c
gcc/testsuite/gcc.dg/atomic/stdatomic-bitint-2.c
gcc/testsuite/gcc.dg/attr-assume-1.c
gcc/testsuite/gcc.dg/attr-assume-2.c
gcc/testsuite/gcc.dg/attr-assume-3.c
gcc/testsuite/gcc.dg/attr-assume-4.c
gcc/testsuite/gcc.dg/bitint-1.c
gcc/testsuite/gcc.dg/bitint-10.c
gcc/testsuite/gcc.dg/bitint-11.c
gcc/testsuite/gcc.dg/bitint-12.c
gcc/testsuite/gcc.dg/bitint-13.c
gcc/testsuite/gcc.dg/bitint-14.c
gcc/testsuite/gcc.dg/bitint-15.c
gcc/testsuite/gcc.dg/bitint-16.c
gcc/testsuite/gcc.dg/bitint-17.c
gcc/testsuite/gcc.dg/bitint-18.c
gcc/testsuite/gcc.dg/bitint-19.c
gcc/testsuite/gcc.dg/bitint-2.c
gcc/testsuite/gcc.dg/bitint-20.c
gcc/testsuite/gcc.dg/bitint-21.c
gcc/testsuite/gcc.dg/bitint-22.c
gcc/testsuite/gcc.dg/bitint-23.c
gcc/testsuite/gcc.dg/bitint-25.c
gcc/testsuite/gcc.dg/bitint-28.c
gcc/testsuite/gcc.dg/bitint-29.c
gcc/testsuite/gcc.dg/bitint-3.c
gcc/testsuite/gcc.dg/bitint-30.c
gcc/testsuite/gcc.dg/bitint-31.c
gcc/testsuite/gcc.dg/bitint-32.c
gcc/testsuite/gcc.dg/bitint-34.c
gcc/testsuite/gcc.dg/bitint-35.c
gcc/testsuite/gcc.dg/bitint-36.c
gcc/testsuite/gcc.dg/bitint-38.c
gcc/testsuite/gcc.dg/bitint-39.c
gcc/testsuite/gcc.dg/bitint-4.c
gcc/testsuite/gcc.dg/bitint-5.c
gcc/testsuite/gcc.dg/bitint-6.c
gcc/testsuite/gcc.dg/bitint-7.c
gcc/testsuite/gcc.dg/bitint-8.c
gcc/testsuite/gcc.dg/bitint-9.c
gcc/testsuite/gcc.dg/c11-attr-syntax-3.c
gcc/testsuite/gcc.dg/c11-builtins-1.c
gcc/testsuite/gcc.dg/c11-complit-1.c
gcc/testsuite/gcc.dg/c11-complit-2.c
gcc/testsuite/gcc.dg/c11-complit-3.c
gcc/testsuite/gcc.dg/c11-digit-separators-1.c
gcc/testsuite/gcc.dg/c11-empty-init-3.c
gcc/testsuite/gcc.dg/c11-enum-1.c
gcc/testsuite/gcc.dg/c11-enum-2.c
gcc/testsuite/gcc.dg/c11-enum-3.c
gcc/testsuite/gcc.dg/c11-enum-4.c
gcc/testsuite/gcc.dg/c11-enum-5.c
gcc/testsuite/gcc.dg/c11-enum-6.c
gcc/testsuite/gcc.dg/c11-floatn-5.c
gcc/testsuite/gcc.dg/c11-floatn-6.c
gcc/testsuite/gcc.dg/c11-floatn-7.c
gcc/testsuite/gcc.dg/c11-floatn-8.c
gcc/testsuite/gcc.dg/c11-fordecl-3.c
gcc/testsuite/gcc.dg/c11-fordecl-4.c
gcc/testsuite/gcc.dg/c11-keywords-1.c
gcc/testsuite/gcc.dg/c11-old-style-definition-1.c
gcc/testsuite/gcc.dg/c11-old-style-definition-2.c
gcc/testsuite/gcc.dg/c11-parm-omit-3.c
gcc/testsuite/gcc.dg/c11-qual-1.c
gcc/testsuite/gcc.dg/c11-static-assert-9.c
gcc/testsuite/gcc.dg/c11-stdarg-3.c
gcc/testsuite/gcc.dg/c11-unproto-1.c
gcc/testsuite/gcc.dg/c11-unproto-2.c
gcc/testsuite/gcc.dg/c11-utf8char-1.c
gcc/testsuite/gcc.dg/c17-nullptr-2.c
gcc/testsuite/gcc.dg/c2x-align-1.c
gcc/testsuite/gcc.dg/c2x-align-6.c
gcc/testsuite/gcc.dg/c2x-attr-deprecated-1.c
gcc/testsuite/gcc.dg/c2x-attr-deprecated-2.c
gcc/testsuite/gcc.dg/c2x-attr-deprecated-3.c
gcc/testsuite/gcc.dg/c2x-attr-deprecated-4.c
gcc/testsuite/gcc.dg/c2x-attr-fallthrough-1.c
gcc/testsuite/gcc.dg/c2x-attr-fallthrough-2.c
gcc/testsuite/gcc.dg/c2x-attr-fallthrough-3.c
gcc/testsuite/gcc.dg/c2x-attr-fallthrough-4.c
gcc/testsuite/gcc.dg/c2x-attr-fallthrough-5.c
gcc/testsuite/gcc.dg/c2x-attr-fallthrough-6.c
gcc/testsuite/gcc.dg/c2x-attr-maybe_unused-1.c
gcc/testsuite/gcc.dg/c2x-attr-maybe_unused-2.c
gcc/testsuite/gcc.dg/c2x-attr-maybe_unused-3.c
gcc/testsuite/gcc.dg/c2x-attr-maybe_unused-4.c
gcc/testsuite/gcc.dg/c2x-attr-nodiscard-1.c
gcc/testsuite/gcc.dg/c2x-attr-nodiscard-2.c
gcc/testsuite/gcc.dg/c2x-attr-nodiscard-3.c
gcc/testsuite/gcc.dg/c2x-attr-nodiscard-4.c
gcc/testsuite/gcc.dg/c2x-attr-noreturn-1.c
gcc/testsuite/gcc.dg/c2x-attr-noreturn-2.c
gcc/testsuite/gcc.dg/c2x-attr-noreturn-3.c
gcc/testsuite/gcc.dg/c2x-attr-syntax-1.c
gcc/testsuite/gcc.dg/c2x-attr-syntax-2.c
gcc/testsuite/gcc.dg/c2x-attr-syntax-3.c
gcc/testsuite/gcc.dg/c2x-attr-syntax-4.c
gcc/testsuite/gcc.dg/c2x-attr-syntax-5.c
gcc/testsuite/gcc.dg/c2x-attr-syntax-7.c
gcc/testsuite/gcc.dg/c2x-auto-1.c
gcc/testsuite/gcc.dg/c2x-auto-2.c
gcc/testsuite/gcc.dg/c2x-auto-3.c
gcc/testsuite/gcc.dg/c2x-auto-4.c
gcc/testsuite/gcc.dg/c2x-binary-constants-1.c
gcc/testsuite/gcc.dg/c2x-binary-constants-2.c
gcc/testsuite/gcc.dg/c2x-binary-constants-3.c
gcc/testsuite/gcc.dg/c2x-bool-1.c
gcc/testsuite/gcc.dg/c2x-bool-2.c
gcc/testsuite/gcc.dg/c2x-bool-limits-1.c
gcc/testsuite/gcc.dg/c2x-builtins-1.c
gcc/testsuite/gcc.dg/c2x-complit-1.c
gcc/testsuite/gcc.dg/c2x-complit-2.c
gcc/testsuite/gcc.dg/c2x-complit-3.c
gcc/testsuite/gcc.dg/c2x-complit-4.c
gcc/testsuite/gcc.dg/c2x-complit-5.c
gcc/testsuite/gcc.dg/c2x-complit-6.c
gcc/testsuite/gcc.dg/c2x-complit-7.c
gcc/testsuite/gcc.dg/c2x-complit-8.c
gcc/testsuite/gcc.dg/c2x-concat-1.c
gcc/testsuite/gcc.dg/c2x-constexpr-1.c
gcc/testsuite/gcc.dg/c2x-constexpr-2a.c
gcc/testsuite/gcc.dg/c2x-constexpr-2b.c
gcc/testsuite/gcc.dg/c2x-constexpr-3.c
gcc/testsuite/gcc.dg/c2x-constexpr-4.c
gcc/testsuite/gcc.dg/c2x-constexpr-5.c
gcc/testsuite/gcc.dg/c2x-constexpr-6.c
gcc/testsuite/gcc.dg/c2x-constexpr-7.c
gcc/testsuite/gcc.dg/c2x-constexpr-8.c
gcc/testsuite/gcc.dg/c2x-constexpr-9.c
gcc/testsuite/gcc.dg/c2x-digit-separators-1.c
gcc/testsuite/gcc.dg/c2x-digit-separators-2.c
gcc/testsuite/gcc.dg/c2x-digit-separators-3.c
gcc/testsuite/gcc.dg/c2x-empty-init-1.c
gcc/testsuite/gcc.dg/c2x-empty-init-2.c
gcc/testsuite/gcc.dg/c2x-empty-init-3.c
gcc/testsuite/gcc.dg/c2x-enum-1.c
gcc/testsuite/gcc.dg/c2x-enum-2.c
gcc/testsuite/gcc.dg/c2x-enum-3.c
gcc/testsuite/gcc.dg/c2x-enum-4.c
gcc/testsuite/gcc.dg/c2x-enum-5.c
gcc/testsuite/gcc.dg/c2x-enum-6.c
gcc/testsuite/gcc.dg/c2x-enum-7.c
gcc/testsuite/gcc.dg/c2x-enum-8.c
gcc/testsuite/gcc.dg/c2x-float-1.c
gcc/testsuite/gcc.dg/c2x-float-10.c
gcc/testsuite/gcc.dg/c2x-float-11.c
gcc/testsuite/gcc.dg/c2x-float-12.c
gcc/testsuite/gcc.dg/c2x-float-13.c
gcc/testsuite/gcc.dg/c2x-float-2.c
gcc/testsuite/gcc.dg/c2x-float-3.c
gcc/testsuite/gcc.dg/c2x-float-4.c
gcc/testsuite/gcc.dg/c2x-float-5.c
gcc/testsuite/gcc.dg/c2x-float-6.c
gcc/testsuite/gcc.dg/c2x-float-7a.c
gcc/testsuite/gcc.dg/c2x-float-7b.c
gcc/testsuite/gcc.dg/c2x-float-7c.c
gcc/testsuite/gcc.dg/c2x-float-8.c
gcc/testsuite/gcc.dg/c2x-float-9.c
gcc/testsuite/gcc.dg/c2x-float-no-dfp-1.c
gcc/testsuite/gcc.dg/c2x-float-no-dfp-2.c
gcc/testsuite/gcc.dg/c2x-float-no-dfp-3.c
gcc/testsuite/gcc.dg/c2x-float-no-dfp-4.c
gcc/testsuite/gcc.dg/c2x-floatn-1.c
gcc/testsuite/gcc.dg/c2x-floatn-2.c
gcc/testsuite/gcc.dg/c2x-floatn-3.c
gcc/testsuite/gcc.dg/c2x-floatn-4.c
gcc/testsuite/gcc.dg/c2x-floatn-5.c
gcc/testsuite/gcc.dg/c2x-floatn-6.c
gcc/testsuite/gcc.dg/c2x-floatn-7.c
gcc/testsuite/gcc.dg/c2x-floatn-8.c
gcc/testsuite/gcc.dg/c2x-fordecl-1.c
gcc/testsuite/gcc.dg/c2x-fordecl-2.c
gcc/testsuite/gcc.dg/c2x-fordecl-3.c
gcc/testsuite/gcc.dg/c2x-fordecl-4.c
gcc/testsuite/gcc.dg/c2x-has-c-attribute-1.c
gcc/testsuite/gcc.dg/c2x-has-c-attribute-2.c
gcc/testsuite/gcc.dg/c2x-has-c-attribute-3.c
gcc/testsuite/gcc.dg/c2x-has-c-attribute-4.c
gcc/testsuite/gcc.dg/c2x-labels-1.c
gcc/testsuite/gcc.dg/c2x-labels-2.c
gcc/testsuite/gcc.dg/c2x-labels-3.c
gcc/testsuite/gcc.dg/c2x-limits-1.c
gcc/testsuite/gcc.dg/c2x-no-dfp-1.c
gcc/testsuite/gcc.dg/c2x-nullptr-1.c
gcc/testsuite/gcc.dg/c2x-nullptr-2.c
gcc/testsuite/gcc.dg/c2x-nullptr-3.c
gcc/testsuite/gcc.dg/c2x-nullptr-4.c
gcc/testsuite/gcc.dg/c2x-nullptr-5.c
gcc/testsuite/gcc.dg/c2x-nullptr-6.c
gcc/testsuite/gcc.dg/c2x-old-style-definition-1.c
gcc/testsuite/gcc.dg/c2x-old-style-definition-2.c
gcc/testsuite/gcc.dg/c2x-old-style-definition-3.c
gcc/testsuite/gcc.dg/c2x-old-style-definition-4.c
gcc/testsuite/gcc.dg/c2x-old-style-definition-5.c
gcc/testsuite/gcc.dg/c2x-old-style-definition-6.c
gcc/testsuite/gcc.dg/c2x-parm-omit-1.c
gcc/testsuite/gcc.dg/c2x-parm-omit-2.c
gcc/testsuite/gcc.dg/c2x-parm-omit-3.c
gcc/testsuite/gcc.dg/c2x-parm-omit-4.c
gcc/testsuite/gcc.dg/c2x-qual-1.c
gcc/testsuite/gcc.dg/c2x-qual-2.c
gcc/testsuite/gcc.dg/c2x-qual-3.c
gcc/testsuite/gcc.dg/c2x-qual-4.c
gcc/testsuite/gcc.dg/c2x-qual-5.c
gcc/testsuite/gcc.dg/c2x-qual-6.c
gcc/testsuite/gcc.dg/c2x-qual-7.c
gcc/testsuite/gcc.dg/c2x-static-assert-1.c
gcc/testsuite/gcc.dg/c2x-static-assert-2.c
gcc/testsuite/gcc.dg/c2x-static-assert-3.c
gcc/testsuite/gcc.dg/c2x-static-assert-4.c
gcc/testsuite/gcc.dg/c2x-stdarg-1.c
gcc/testsuite/gcc.dg/c2x-stdarg-2.c
gcc/testsuite/gcc.dg/c2x-stdarg-3.c
gcc/testsuite/gcc.dg/c2x-stdarg-4.c
gcc/testsuite/gcc.dg/c2x-stdarg-5.c
gcc/testsuite/gcc.dg/c2x-stdatomic-1.c
gcc/testsuite/gcc.dg/c2x-stddef-1.c
gcc/testsuite/gcc.dg/c2x-stdint-1.c
gcc/testsuite/gcc.dg/c2x-thread-local-1.c
gcc/testsuite/gcc.dg/c2x-thread-local-2.c
gcc/testsuite/gcc.dg/c2x-typeof-1.c
gcc/testsuite/gcc.dg/c2x-typeof-2.c
gcc/testsuite/gcc.dg/c2x-typeof-3.c
gcc/testsuite/gcc.dg/c2x-unproto-1.c
gcc/testsuite/gcc.dg/c2x-unproto-2.c
gcc/testsuite/gcc.dg/c2x-unproto-3.c
gcc/testsuite/gcc.dg/c2x-unproto-4.c
gcc/testsuite/gcc.dg/c2x-unreachable-1.c
gcc/testsuite/gcc.dg/c2x-utf8char-1.c
gcc/testsuite/gcc.dg/c2x-utf8char-2.c
gcc/testsuite/gcc.dg/c2x-utf8char-3.c
gcc/testsuite/gcc.dg/c2x-utf8str-type.c
gcc/testsuite/gcc.dg/c2x-utf8str.c
gcc/testsuite/gcc.dg/c90-auto-1.c
gcc/testsuite/gcc.dg/c90-complit-2.c
gcc/testsuite/gcc.dg/cpp/c11-warning-3.c
gcc/testsuite/gcc.dg/cpp/c2x-elifdef-1.c
gcc/testsuite/gcc.dg/cpp/c2x-elifdef-2.c
gcc/testsuite/gcc.dg/cpp/c2x-scope-1.c
gcc/testsuite/gcc.dg/cpp/c2x-scope-2.c
gcc/testsuite/gcc.dg/cpp/c2x-trigraphs-1.c
gcc/testsuite/gcc.dg/cpp/c2x-trigraphs-2.c
gcc/testsuite/gcc.dg/cpp/c2x-ucn-1.c
gcc/testsuite/gcc.dg/cpp/c2x-ucnid-1-utf8.c
gcc/testsuite/gcc.dg/cpp/c2x-ucnid-1.c
gcc/testsuite/gcc.dg/cpp/c2x-va-opt-1.c
gcc/testsuite/gcc.dg/cpp/c2x-warning-1.c
gcc/testsuite/gcc.dg/cpp/c2x-warning-2.c
gcc/testsuite/gcc.dg/cpp/gnu11-warning-3.c
gcc/testsuite/gcc.dg/cpp/gnu2x-warning-1.c
gcc/testsuite/gcc.dg/cpp/gnu2x-warning-2.c
gcc/testsuite/gcc.dg/cr-decimal-dig-2.c
gcc/testsuite/gcc.dg/cr-decimal-dig-3.c
gcc/testsuite/gcc.dg/dfp/bid-non-canonical-d128-1.c
gcc/testsuite/gcc.dg/dfp/bid-non-canonical-d128-2.c
gcc/testsuite/gcc.dg/dfp/bid-non-canonical-d128-3.c
gcc/testsuite/gcc.dg/dfp/bid-non-canonical-d128-4.c
gcc/testsuite/gcc.dg/dfp/bid-non-canonical-d32-1.c
gcc/testsuite/gcc.dg/dfp/bid-non-canonical-d32-2.c
gcc/testsuite/gcc.dg/dfp/bid-non-canonical-d64-1.c
gcc/testsuite/gcc.dg/dfp/bid-non-canonical-d64-2.c
gcc/testsuite/gcc.dg/dfp/bitint-1.c
gcc/testsuite/gcc.dg/dfp/bitint-2.c
gcc/testsuite/gcc.dg/dfp/bitint-3.c
gcc/testsuite/gcc.dg/dfp/bitint-4.c
gcc/testsuite/gcc.dg/dfp/bitint-5.c
gcc/testsuite/gcc.dg/dfp/bitint-6.c
gcc/testsuite/gcc.dg/dfp/bitint-7.c
gcc/testsuite/gcc.dg/dfp/bitint-8.c
gcc/testsuite/gcc.dg/dfp/c2x-builtins-dfp-1.c
gcc/testsuite/gcc.dg/dfp/c2x-constants-1.c
gcc/testsuite/gcc.dg/dfp/c2x-constants-2.c
gcc/testsuite/gcc.dg/dfp/c2x-constexpr-dfp-1.c
gcc/testsuite/gcc.dg/dfp/c2x-constexpr-dfp-2.c
gcc/testsuite/gcc.dg/dfp/c2x-float-dfp-1.c
gcc/testsuite/gcc.dg/dfp/c2x-float-dfp-2.c
gcc/testsuite/gcc.dg/dfp/c2x-float-dfp-3.c
gcc/testsuite/gcc.dg/dfp/c2x-float-dfp-4.c
gcc/testsuite/gcc.dg/dfp/c2x-float-dfp-5.c
gcc/testsuite/gcc.dg/dfp/c2x-float-dfp-6.c
gcc/testsuite/gcc.dg/dfp/c2x-float-dfp-7.c
gcc/testsuite/gcc.dg/dfp/c2x-float-dfp-8.c
gcc/testsuite/gcc.dg/dfp/c2x-keywords-1.c
gcc/testsuite/gcc.dg/dfp/c2x-keywords-2.c
gcc/testsuite/gcc.dg/dfp/tr24732-float-dfp-1.c
gcc/testsuite/gcc.dg/dfp/ts18661-2-float-dfp-1.c
gcc/testsuite/gcc.dg/fixed-point/bitint-1.c
gcc/testsuite/gcc.dg/format/c11-printf-1.c
gcc/testsuite/gcc.dg/format/c11-scanf-1.c
gcc/testsuite/gcc.dg/format/c2x-dfp-printf-1.c
gcc/testsuite/gcc.dg/format/c2x-dfp-scanf-1.c
gcc/testsuite/gcc.dg/format/c2x-printf-1.c
gcc/testsuite/gcc.dg/format/c2x-scanf-1.c
gcc/testsuite/gcc.dg/format/c2x-strftime-1.c
gcc/testsuite/gcc.dg/format/ext-10.c
gcc/testsuite/gcc.dg/format/ext-9.c
gcc/testsuite/gcc.dg/gnu11-typeof-2.c
gcc/testsuite/gcc.dg/gnu2x-attr-syntax-1.c
gcc/testsuite/gcc.dg/gnu2x-attr-syntax-2.c
gcc/testsuite/gcc.dg/gnu2x-attrs-1.c
gcc/testsuite/gcc.dg/gnu2x-attrs-2.c
gcc/testsuite/gcc.dg/gnu2x-auto-1.c
gcc/testsuite/gcc.dg/gnu2x-builtins-no-dfp-1.c
gcc/testsuite/gcc.dg/gnu2x-complit-1.c
gcc/testsuite/gcc.dg/gnu2x-complit-2.c
gcc/testsuite/gcc.dg/gnu2x-constexpr-1.c
gcc/testsuite/gcc.dg/gnu2x-empty-init-1.c
gcc/testsuite/gcc.dg/gnu2x-empty-init-2.c
gcc/testsuite/gcc.dg/gnu2x-enum-1.c
gcc/testsuite/gcc.dg/gnu2x-static-assert-1.c
gcc/testsuite/gcc.dg/gnu2x-stdarg-1.c
gcc/testsuite/gcc.dg/gnu2x-typeof-1.c
gcc/testsuite/gcc.dg/gnu2x-utf8char-1.c
gcc/testsuite/gcc.dg/gnu2x-utf8str-type.c
gcc/testsuite/gcc.dg/gnu2x-utf8str.c
gcc/testsuite/gcc.dg/gomp/attrs-1.c
gcc/testsuite/gcc.dg/gomp/attrs-10.c
gcc/testsuite/gcc.dg/gomp/attrs-11.c
gcc/testsuite/gcc.dg/gomp/attrs-12.c
gcc/testsuite/gcc.dg/gomp/attrs-13.c
gcc/testsuite/gcc.dg/gomp/attrs-14.c
gcc/testsuite/gcc.dg/gomp/attrs-15.c
gcc/testsuite/gcc.dg/gomp/attrs-16.c
gcc/testsuite/gcc.dg/gomp/attrs-17.c
gcc/testsuite/gcc.dg/gomp/attrs-18.c
gcc/testsuite/gcc.dg/gomp/attrs-19.c
gcc/testsuite/gcc.dg/gomp/attrs-2.c
gcc/testsuite/gcc.dg/gomp/attrs-20.c
gcc/testsuite/gcc.dg/gomp/attrs-21.c
gcc/testsuite/gcc.dg/gomp/attrs-3.c
gcc/testsuite/gcc.dg/gomp/attrs-4.c
gcc/testsuite/gcc.dg/gomp/attrs-5.c
gcc/testsuite/gcc.dg/gomp/attrs-6.c
gcc/testsuite/gcc.dg/gomp/attrs-7.c
gcc/testsuite/gcc.dg/gomp/attrs-8.c
gcc/testsuite/gcc.dg/gomp/attrs-9.c
gcc/testsuite/gcc.dg/limits-width-2.c
gcc/testsuite/gcc.dg/qual-return-10.c
gcc/testsuite/gcc.dg/qual-return-9.c
gcc/testsuite/gcc.dg/sso-19.c
gcc/testsuite/gcc.dg/stdckdint-1.c
gcc/testsuite/gcc.dg/stdckdint-2.c
gcc/testsuite/gcc.dg/stdint-width-2.c
gcc/testsuite/gcc.dg/tm/attrs-1.c
gcc/testsuite/gcc.dg/torture/bitint-1.c
gcc/testsuite/gcc.dg/torture/bitint-10.c
gcc/testsuite/gcc.dg/torture/bitint-11.c
gcc/testsuite/gcc.dg/torture/bitint-12.c
gcc/testsuite/gcc.dg/torture/bitint-13.c
gcc/testsuite/gcc.dg/torture/bitint-14.c
gcc/testsuite/gcc.dg/torture/bitint-15.c
gcc/testsuite/gcc.dg/torture/bitint-16.c
gcc/testsuite/gcc.dg/torture/bitint-17.c
gcc/testsuite/gcc.dg/torture/bitint-18.c
gcc/testsuite/gcc.dg/torture/bitint-19.c
gcc/testsuite/gcc.dg/torture/bitint-2.c
gcc/testsuite/gcc.dg/torture/bitint-20.c
gcc/testsuite/gcc.dg/torture/bitint-21.c
gcc/testsuite/gcc.dg/torture/bitint-22.c
gcc/testsuite/gcc.dg/torture/bitint-23.c
gcc/testsuite/gcc.dg/torture/bitint-24.c
gcc/testsuite/gcc.dg/torture/bitint-25.c
gcc/testsuite/gcc.dg/torture/bitint-26.c
gcc/testsuite/gcc.dg/torture/bitint-27.c
gcc/testsuite/gcc.dg/torture/bitint-28.c
gcc/testsuite/gcc.dg/torture/bitint-29.c
gcc/testsuite/gcc.dg/torture/bitint-3.c
gcc/testsuite/gcc.dg/torture/bitint-30.c
gcc/testsuite/gcc.dg/torture/bitint-31.c
gcc/testsuite/gcc.dg/torture/bitint-32.c
gcc/testsuite/gcc.dg/torture/bitint-33.c
gcc/testsuite/gcc.dg/torture/bitint-34.c
gcc/testsuite/gcc.dg/torture/bitint-35.c
gcc/testsuite/gcc.dg/torture/bitint-36.c
gcc/testsuite/gcc.dg/torture/bitint-37.c
gcc/testsuite/gcc.dg/torture/bitint-38.c
gcc/testsuite/gcc.dg/torture/bitint-39.c
gcc/testsuite/gcc.dg/torture/bitint-4.c
gcc/testsuite/gcc.dg/torture/bitint-40.c
gcc/testsuite/gcc.dg/torture/bitint-41.c
gcc/testsuite/gcc.dg/torture/bitint-42.c
gcc/testsuite/gcc.dg/torture/bitint-5.c
gcc/testsuite/gcc.dg/torture/bitint-6.c
gcc/testsuite/gcc.dg/torture/bitint-7.c
gcc/testsuite/gcc.dg/torture/bitint-8.c
gcc/testsuite/gcc.dg/torture/bitint-9.c
gcc/testsuite/gcc.dg/torture/builtin-fp-int-inexact-c2x.c
gcc/testsuite/gcc.dg/torture/c2x-stdarg-split-1a.c
gcc/testsuite/gcc.dg/torture/c2x-stdarg-split-1b.c
gcc/testsuite/gcc.dg/torture/float128-nan-floath.c
gcc/testsuite/gcc.dg/torture/float128x-nan-floath.c
gcc/testsuite/gcc.dg/torture/float16-nan-floath.c
gcc/testsuite/gcc.dg/torture/float32-nan-floath.c
gcc/testsuite/gcc.dg/torture/float32x-nan-floath.c
gcc/testsuite/gcc.dg/torture/float64-nan-floath.c
gcc/testsuite/gcc.dg/torture/float64x-nan-floath.c
gcc/testsuite/gcc.target/i386/excess-precision-11.c
gcc/testsuite/gcc.target/i386/excess-precision-12.c
gcc/testsuite/lib/target-supports.exp
gcc/testsuite/objc.dg/attributes/gnu2x-attr-syntax-1.m

index d72fec47f7601b1f4b806b853124cb274a8cd263..9d2349424fd19ab43a79fa0bb0cdd119e79a2425 100644 (file)
@@ -2,7 +2,7 @@
 /* { dg-do compile } */
 /* { dg-options "-O2 -Wall" } */
 /* { dg-additional-options "-std=c++20" { target c++ } } */
-/* { dg-additional-options "-std=c2x" { target c } } */
+/* { dg-additional-options "-std=c23" { target c } } */
 
 int f(int i)
 {
index cf9766fae144afc2ca32e7661e879ef66572dafa..05fec5f2cdb0c680d44370b1c9f58696d8af8e4a 100644 (file)
@@ -1,6 +1,6 @@
 /*
     { dg-do compile }
-    { dg-options "-Wformat-overflow -std=c2x" }
+    { dg-options "-Wformat-overflow -std=c23" }
 */
 
 extern int sprintf (char* restrict, const char* restrict, ...);
index 6439104e5791cf5f709ed7290cd8383e1fbe9051..4a6189b9b36b03091333085cdd3b0e982c6ba075 100644 (file)
@@ -1,6 +1,6 @@
 /* Test :: token handling in asm.  */
 /* { dg-do compile } */
-/* { dg-options "-std=gnu2x" } */
+/* { dg-options "-std=gnu23" } */
 
 void
 f (void)
index 1b692f55ed0fa47651ab833891245fe359ab94c0..27af3bd9af488368ddcb6f2507f20f6094714cf9 100644 (file)
@@ -1,6 +1,6 @@
 /* Test atomic_is_lock_free for char8_t.  */
 /* { dg-do run } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 #include <stdatomic.h>
 #include <stdint.h>
index 1978a410350207dda6bee10a8c2a00f1010a0b74..0780bb5355bcedd51902e3bf5cea2ec570974526 100644 (file)
@@ -1,6 +1,6 @@
-/* Test ATOMIC_VAR_INIT not in C2x.  */
+/* Test ATOMIC_VAR_INIT not in C23.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 #include <stdatomic.h>
 
index 27a3cfe355281309a6c056f6196e6a8d5150085f..0d99b069ee9b9ebb34acc9c6adf8b5b71e438373 100644 (file)
@@ -1,5 +1,5 @@
-/* Test atomic_is_lock_free for char8_t with -std=gnu2x.  */
+/* Test atomic_is_lock_free for char8_t with -std=gnu23.  */
 /* { dg-do run } */
-/* { dg-options "-std=gnu2x -pedantic-errors" } */
+/* { dg-options "-std=gnu23 -pedantic-errors" } */
 
 #include "c2x-stdatomic-lockfree-char8_t.c"
index 04704bed0e09a0c649e5387f5d86500c9818ffaf..a85002f56c8d25eaff444dab4ae03d506537b197 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do run { target bitint } } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 #include <stdatomic.h>
 
index c709cb9d7beffa4efba3ace87d7df718f85d35be..d83c93781256aef276d7e571bfbdca4cbb3748f1 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do run { target bitint } } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 #include <stdatomic.h>
 
index 16e919ef7bc7de4843cf63709ee6a4dbd64ebe2a..6433bf9aefe67f5296f5cb5bc0f7cc86223ab4f0 100644 (file)
@@ -1,6 +1,6 @@
 /* Portable assumptions */
 /* { dg-do run } */
-/* { dg-options "-std=c2x" } */
+/* { dg-options "-std=c23" } */
 
 int
 f1 (int i)
index aa782e737e3541f5284e0caf1f92aa24c5be99c7..0c8323972114325619ce466b37e0c9df378b9531 100644 (file)
@@ -1,6 +1,6 @@
 /* Portable assumptions */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x" } */
+/* { dg-options "-std=c23" } */
 
 [[gnu::__assume__ (1)]] void f1 (void);        /* { dg-warning "'assume' attribute not followed by ';'" } */
                                        /* { dg-warning "'assume' attribute ignored" "" { target *-*-* } .-1 } */
index c611a8f8e7409caa37c5697695d5874afcf4fac1..f9b9a57f18fe834f1c2df4922dd8b106ddd51431 100644 (file)
@@ -1,6 +1,6 @@
 /* Portable assumptions */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x" } */
+/* { dg-options "-std=c23" } */
 
 void
 foo (int x)
index e8a2b8d316c634520d5adc2fd7116d97ed5b6974..622e29643917de782474278f730d7bf68891b460 100644 (file)
@@ -1,6 +1,6 @@
 /* PR tree-optimization/107369 */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -O1" } */
+/* { dg-options "-std=c23 -O1" } */
 
 void
 foo (int x)
index 0daa2b9bbd340813a9400e1f1d44abb7bc0a2bbd..5639913623a84009a6774e0f46f40f70a31baecc 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do compile { target bitint } } */
-/* { dg-options "-std=c2x" } */
+/* { dg-options "-std=c23" } */
 
 void
 foo (int x)
index ac59014ac1e0668fd9ec6a4a61ec5b0839a4872f..d5e9c9772335f9c1106015f0ae021bcd861f2484 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do compile { target { bitint && dfp } } } */
-/* { dg-options "-O2 -std=c2x -pedantic-errors" } */
+/* { dg-options "-O2 -std=c23 -pedantic-errors" } */
 
 #if __BITINT_MAXWIDTH__ >= 129
 void
index 1b257ec331e62697c35f36d33a06f64bb8958bec..bf11206a46be8e0da9a8b0260ed4bd97e93dcab8 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do compile { target bitint } } */
-/* { dg-options "-O2 -std=c2x -pedantic-errors" } */
+/* { dg-options "-O2 -std=c23 -pedantic-errors" } */
 
 int
 foo (_BitInt(127) x, _BitInt(127) y)
index ed75fd12c91e96ae11ca809becbc739578d367ad..acf1762ccd5a60f7a7a58acafbd1b440e2324bb2 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do compile { target bitint } } */
-/* { dg-options "-O2 -std=gnu2x -w" } */
+/* { dg-options "-O2 -std=gnu23 -w" } */
 
 _BitInt(37)
 foo (_BitInt(37) x, _BitInt(37) y)
index 2810767112744e18c097fc64998ae7d9a0f5649a..004eaec74ced00403487f66c5f2b1902760ff659 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do compile { target bitint } } */
-/* { dg-options "-O2 -std=c2x -pedantic-errors" } */
+/* { dg-options "-O2 -std=c23 -pedantic-errors" } */
 
 #if __BITINT_MAXWIDTH__ >= 315
 _Bool
index 4c3c86417c597a7d4e78995911ff8afaf243703b..fe2d1add73610e9bc85d6f58c07010ca8fcc2cb1 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do compile { target bitint575 } } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 enum A : _BitInt(15) { A0 = 0, A1 = 1 };               /* { dg-error "invalid 'enum' underlying type" } */
 enum B : unsigned _BitInt(575) { B0 = 0, B1 = 1 };     /* { dg-error "invalid 'enum' underlying type" } */
index 78129700d88190ce0a541484e976143451ed1016..34a944dc368535782c7817de8edc84e7caddd081 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do compile { target bitint575 } } */
-/* { dg-options "-std=gnu2x" } */
+/* { dg-options "-std=gnu23" } */
 
 enum A : _BitInt(15) { A0 = 0, A1 = 1 };               /* { dg-error "invalid 'enum' underlying type" } */
 enum B : unsigned _BitInt(575) { B0 = 0, B1 = 1 };     /* { dg-error "invalid 'enum' underlying type" } */
index ccb5d15dbc4ec85ba172875ab8c614c3c2134584..7e1f5770bdb012c04b4152d3687b53c3f5064c21 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do compile { target bitint } } */
-/* { dg-options "-O2 -std=c2x -pedantic-errors" } */
+/* { dg-options "-O2 -std=c23 -pedantic-errors" } */
 
 _BitInt(15) a;
 _BitInt(42) b;
index a0e23268a85fb30c10e5b1e7f3dcc579ad4518e4..f0c902a9ca3ed1bc797be03bd1c39845140f55ef 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do compile { target bitint } } */
-/* { dg-options "-O2 -std=c2x -pedantic-errors" } */
+/* { dg-options "-O2 -std=c23 -pedantic-errors" } */
 
 #define expr_has_type(e, t) _Generic (e, default : 0, t : 1)
 
index 9293fa4699317b2931d9e8a066108984fe169ba0..cb13959c2c66a643d4d5c68b4bc6f741da90e033 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do compile { target bitint } } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 _Atomic _BitInt(15) a;
 _Atomic(_BitInt(15)) b;
index f33a82c3b391c61c1cecd697bb3fe82590707c66..665a08187f60bc3fb2fabfcdc91c04ffb887059d 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do compile { target bitint } } */
-/* { dg-options "-std=gnu2x" } */
+/* { dg-options "-std=gnu23" } */
 
 #define expr_has_type(e, t) _Generic (e, default : 0, t : 1)
 
index 6fa9c06d4c6cfd220d62503b9d4b6ebad793ffb6..49f37bc9115466186770489b4802b027c43d324f 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 #define expr_has_type(e, t) _Generic (e, default : 0, t : 1)
 
index 6b92b5b7ddaeaee23eb952fa904c230336f04d16..2f6dcf628f47725849ff961daa1e85728839fb14 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do compile { target bitint } } */
-/* { dg-options "-std=gnu2x" } */
+/* { dg-options "-std=gnu23" } */
 
 void
 foo (_Complex int ci, _Complex long long cl)
index 72f68c95a29a7baca5a5af5968b637881d75c964..720fb04b23d085888635803433776f2f10bdc4ed 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do compile { target bitint } } */
-/* { dg-options "-std=gnu2x" } */
+/* { dg-options "-std=gnu23" } */
 
 #define IB __SIZEOF_INT__ * __CHAR_BIT__
 typedef _BitInt(IB) V1 __attribute__((vector_size (sizeof (_BitInt(IB)))));            /* { dg-error "invalid vector type for attribute 'vector_size'" } */
index 329d8a885d8fa3923952994715701ec1cfb0f10e..3e0079820bab0a95aa1522fd847acd2d4ad52933 100644 (file)
@@ -1,6 +1,6 @@
 // PR c/102989
 // { dg-do compile { target bitint } }
-// { dg-options "-std=c2x -pedantic-errors" }
+// { dg-options "-std=c23 -pedantic-errors" }
 
 _BitInt(63) a;
 signed _BitInt(15) b;
index 84c9eed2395591d2dc37858d7d0f2962a3d9c09d..00aae93b6d7678f639a804afe488dd79f14e39a7 100644 (file)
@@ -1,6 +1,6 @@
 // PR c/102989
 // { dg-do compile { target bitint } }
-// { dg-options "-std=c2x -pedantic-errors -Wc11-c2x-compat" }
+// { dg-options "-std=c23 -pedantic-errors -Wc11-c23-compat" }
 
 _BitInt(63) a;                                 /* { dg-warning "ISO C does not support '_BitInt\\\(63\\\)' before C23" } */
 signed _BitInt(15) b;                          /* { dg-warning "ISO C does not support 'signed _BitInt\\\(15\\\)' before C23" } */
index b18244f3459c790b5aca064d19d54f60f1c00a69..693bc361d380dd5d72a1a0227239fecb405ce3a5 100644 (file)
@@ -1,6 +1,6 @@
 // PR c/102989
 // { dg-do compile { target bitint } }
-// { dg-options "-std=c11 -Wno-c11-c2x-compat -pedantic-errors" }
+// { dg-options "-std=c11 -Wno-c11-c23-compat -pedantic-errors" }
 
 _BitInt(63) a;
 signed _BitInt(15) b;
index 607c7d43fd099847695a91ff968059f3ba7598fc..f4cb413f42822dba10413c9b7a3944a0e2aadc55 100644 (file)
@@ -1,7 +1,7 @@
 /* PR c/102989 */
 /* { dg-do run } */
 /* { dg-require-effective-target fenv_exceptions } */
-/* { dg-options "-std=c2x" } */
+/* { dg-options "-std=c23" } */
 /* { dg-add-options ieee } */
 
 #include <fenv.h>
index b6a88567c8c916586ace6954d5a04cec03d5f87c..31d275411251ae94f72259ccefd9723631c4f07e 100644 (file)
@@ -1,7 +1,7 @@
 /* PR c/102989 */
 /* { dg-do run } */
 /* { dg-require-effective-target fenv_exceptions } */
-/* { dg-options "-std=c2x" } */
+/* { dg-options "-std=c23" } */
 /* { dg-add-options ieee } */
 
 #include <fenv.h>
index c32cb352100a4b19f904bfda8ed022444230cc11..d58b4a7c17dd612cd56ab45b2ffae65e21cf7c80 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do compile { target bitint } } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 _BitInt(32) a, b = 2147483647wb;
 _BitInt(64) c, d = 9223372036854775807wb;
index 48328f8ebaa885f87b5865488addbd4c60689895..08b41cf3384246f75afb483ff67f5e971f7b9582 100644 (file)
@@ -1,7 +1,7 @@
 /* PR c/102989 */
 /* { dg-do run } */
 /* { dg-require-effective-target fenv_exceptions } */
-/* { dg-options "-std=c2x" } */
+/* { dg-options "-std=c23" } */
 /* { dg-add-options ieee } */
 
 #include <fenv.h>
index 65ac271ebb7d85bbbfbb854d90c9e7d142027140..d73ec6e4a99bab166bef90ff61bc211fb12884ea 100644 (file)
@@ -1,7 +1,7 @@
 /* PR c/102989 */
 /* { dg-do run } */
 /* { dg-require-effective-target fenv } */
-/* { dg-options "-std=c2x" } */
+/* { dg-options "-std=c23" } */
 /* { dg-add-options ieee } */
 
 #include <fenv.h>
index e6c277ec1e7ea549522d9123acffe02c15398a79..b718f5ebbe26823c9245bc574450ca7de891c501 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do compile { target bitint } } */
-/* { dg-options "-std=c2x" } */
+/* { dg-options "-std=c23" } */
 
 #include <limits.h>
 
index 7eaadb2fc9283ad24647657e09d01d8e1c50509f..fb69dd0fdf17458fff5e554b0fafbc527f556d63 100644 (file)
@@ -1,7 +1,7 @@
 /* PR c/102989 */
 /* Test that -funsigned-bitfields doesn't affect _BitInt bit-fields which are always signed.  */
 /* { dg-do run { target bitint } } */
-/* { dg-options "-std=c2x -funsigned-bitfields" } */
+/* { dg-options "-std=c23 -funsigned-bitfields" } */
 
 struct S { _BitInt(22) a : 7; signed _BitInt(22) b : 7; unsigned _BitInt(22) c : 7; } s;
 
index 352633d3cb5f4c05c700fc49b5f2bbff8433e9ea..5237a2442937cd4e025aa04abfa0acfa22ee4e8b 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do compile { target { bitint && { float32 && int32 } } } } */
-/* { dg-options "-std=c2x -Wconversion -Wfloat-conversion" } */
+/* { dg-options "-std=c23 -Wconversion -Wfloat-conversion" } */
 /* { dg-add-options float32 } */
 
 void
index 1912869225a1635ab451899fc348e63ed2e83a44..a1358e13b8c4cff9229aadfcb3b3b37a3fc502d2 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do compile { target { bitint } } } */
-/* { dg-options "-std=c2x -Wint-in-bool-context -Waddress -Wpointer-to-int-cast -Wint-to-pointer-cast -Wint-conversion -Wshift-negative-value -Wshift-count-overflow -Wdiv-by-zero" } */
+/* { dg-options "-std=c23 -Wint-in-bool-context -Waddress -Wpointer-to-int-cast -Wint-to-pointer-cast -Wint-conversion -Wshift-negative-value -Wshift-count-overflow -Wdiv-by-zero" } */
 
 extern char *ax[];
 
index 1dc7a56112ef7559fe27729dcbdc0666ef0bae87..4fc557fa85bfa4b7abe0b6dada0da81670693cb9 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do run { target { bitint } } } */
-/* { dg-options "-std=c2x" } */
+/* { dg-options "-std=c23" } */
 
 #if __BITINT_MAXWIDTH__ >= 16319
 constexpr unsigned _BitInt(16319) a = 468098567701677261276215481936770442254383643766995378241600227179396283432916865881332215867106489159251577495372085663487092317743244770597287633199005374998455333587280357490149993101811392051483761495987108264964738337118155155862715438910721661230332533185335581757600511846854115932637261969633134365868695363914570578110064471868475841348589366933645410987699979080140212849909081188170910464967486231358935212897096260626033055536141835599284498474737858487658470115144771923114826312283863035503700600141440724426364699636330240414271275626021294939422483250619629005959992243418661230122132667769781183790338759345884903821695590991577228520523725302048215447841573113840811593638413425054938213262961448317898574140533090004992732688525115004782973893244091427000396890427152225308661078954671066069234453757593181753900865203439035402480306413572239610467142591920809187367438071170100969567440044691427487959785637338381651309916782063670286046547585240837892307170928849485877186793280707600840866783471799148179250818387716183127323346199533387463363442356218803779697005759324410376476855222420876262425985571982818180353870410149824214544313013285199544193496624223219986402944849622489422007678564946174797892795089330899535624727777525330789492703574564112252955147770942929761545604350869404246558274752353510370157229485004402131043153454290397929387276374054938578976878606467217359398684275050519104413914286024106808116340712273059427362293703151355498336213170698894448405369398757188523160460292714875857879968173578328191358215972493513271297875634400793301929250052822258636015650857683023900709845410838487936778533250407886180954576046340697908584020951295048844938047865657029072850797442976146895294184993736999505485665742811313795405530674199848055802759901786376822069529342971261963119332476504064285869362049662083405789828433132154933242817432809415810548180658750393692272729586232842065658490971201927780014258815333115459695117942273551876646844821076723664040282772834511419891351278169017103987094803829594286352340468346618726088781492626816188657331359104171819822673805856317828499039088088223137258297373929043307673570090396947789598799922928643843532617012164811074618881774622628943539037974883812689130801860915090035870244061005819418130068390986470314677853605080103313411837904358287837401546257413240466939893527508931541065241929872307203876443882106193262544652290132364691671910332006127864146991404015366683569317248057949596070354929361158326955551600236075268435044105880162798380799161607987365282458662031599096921825176202707890730023698706855762932691688259365358964076595824577775275991183149118372047206055118463112864604063853894820407249837871368934941438119680605528546887256934334246075596746410297954458632358171428714141820918183384435681332379317541048252391710712196623406338702061195213724569303285402242853671386113148211535691685461836458295037538034378318055108240082414441205300401526732399959228346926528586852743389490978734787926721999855388794711837164423007719626109179005466113706450765269687580819822772189301084503627297389675134228222337286867641110511061980231247884533492442898936743429641958314135329073406495776369208158032115883850691010569048983941126771477990976092252391972812691669847446798507244106121667885423025613769258102773855537509733295805013313937402282804897213847221072647111605172349464564089914906493508133855389627177663426057763252086286325343811254757681803068276278048757997425284334713190226818463023074461900176958010055572434983135171145365242339273326984465181064287264645470832091115100640584104375577304056951969456200138485313560009272338228103637763863289261673258726736753407044143664079479496972580560534494806170810469304773005873590626280072387999668522546747985701599613975101188543857852141559251634058676718308000324869809628199442681565615662912626022796064414496106344236431285697688357707992989966561557171729972093533007476947862215922583204811189015550505642082475400647639520782187776825395598257421714106473869797642678266380755873356747812273977691604147842741151722919464734890326772594979022403228191075586910464204870254674290437668861177639713112762996390246102030994917186957826982084194156870398312336059100521566034092740694642613192909850644003933745129291062576341213874815510099835708723355432970090139671120232910747665906191360160259512198160849784197597300106223945960886603127136037120000864968668651452411048372895607382907494278810971475663944948791458618662250238375166523484847507342040066801856222328988662049579299600545682490412754483621051190231623196265549391964259780178070495642538883789503379406531279338866955157646654913405181879254189185904298325865503395688786311067669273609670603076582607253527084977744533187145642686236350165593980428575119329911921382240780504527422630654086941060242757131313184709635181001199631726283364158943337968797uwb;
index 1782abda3c0ddb212c7b7195c50a81d2f6e9d787..6d994644c8c54d76e3733f250a15a6d234333950 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do run { target { bitint } } } */
-/* { dg-options "-std=c2x" } */
+/* { dg-options "-std=c23" } */
 
 #if __BITINT_MAXWIDTH__ >= 65472
 constexpr unsigned _BitInt(65472) a = 65874028414853418769511496113653036945710467528674240836188871502976748745763974525826911024024988631776491096261751992694895296214498585327384601121850230477827515082843619768846499801840836477230687590770231681718268338714887172330888785411211246357940293072535006266916583089772232445667160886208448607927748489013059344141951625673199213945267073377588652374198634016718719257659199541018970117033192039851653491638992986532515557336069337719046396088060414869427270972708809318734227046883806081011951941853679439848321781173016681200685359617693806920032604807641414656615976627881030905633504995608500926313100449123752592887306455273713086084720226711163858729450345307982160835189085198339193053545528326363004277216519521996803653047233696840937893926439475024000274633924716672022043462512673682343650888234611610847904449303938980580750614829479521364941526248038103556791184166137132891705498670203747450648138794675915927809475689266431674447401721770257807894864574772637777546833262526951307916013054159424871918674386303422478917660124313218179561460069927914109853781325554791226906771269776791232118969314470480394982481391738558649576936680153086613697764141243587961259345656781466911451311347049773832249980208428530724233103217369963103642890811580190014250767734527431460062555356767163656837728658921843437422091225040343040245536763579475902218857185893576553568913202523567943581185934074140454243365677691321402599868371075480132367548064644179457549106582668003278353839811901755098775042915492192962256439240717885562228560807300368546591938513564249673935563354224669505426548315283725161174366021701375396395313621732692448055488113835736519133847733806933661608336123237017767589792413707136130610229516496362268872996002408911802982404007464241164929849341909484070765678046190680486057484835560562448063002010171248868062856794398851279347048705720960974749673146662296765976038110218870942100630056574273343812309347877934257043013803766940137680754965100302990989281818211387137383832600675317434920893732120105407723736041635958085676519190305809361514850656066374765384629954359307080862256105691419898168955679806156443004466405913142123628524231555115399711321193475052976374230374739915275763990520499641653144284448959338924397090731568126860006699218100212808418951593973346259258754997140003401228249592046733643429633842927437674005630309466335475488976044970815680337796705251785679176317921969250255914644143927301143156940750728409691193837462118411451140103456466642917621794037963804154558563563784540744625286045320380647149505894465602074709712052403213672513944120580472196908870481008605753502378254869195510822476848807886998210212224568817665331382282682183443019436910934518254905570403017861343476981516822213043567878416094061997484366094926060989684786188719853361377592613245034788253106057223977996442867392634883776229675223227731721808083021736947720678172726157569358655251453763272147556197009586238264046136725977202440532459363521159216893005875943650891355683793285122481839809223042446177899018320884858378858428482004887350002248475654126695437381791039346060525159596388199191045220810622260461623488951548300045143031946225548627356322494072635246741690369797703750001744527651635248045159165227990904076792563599086736013143689002450121560791866918627656264249547156379687514841821979600884946973379386059970849524777822542279884834069088756993835503335163308439818940407550289076454404410002526269749323403673331561005855976564163112359624884449722076806747002050900060486557888988389190561491837653913417576996782073392887675547243908721620711696799096385497090726000898536841269644251102949559919330359725680095583471880505317680844666709274840966390417748140336028128180466837002340200275922083519953988906089254843320339560405442077901688830870404393361047302469466448124739846498711286663890861622125303854725244017935265801954966781478807230955537079573035800508809193696776558659380041474673947719614891591483335826961674762867599639802412473648680441069062029676465317014339608126488486239504818779896608289143566814074344128163474927248996300958043211993182818053822887583188270715520756855009877038634425539657265881288715061989818229395878573316718153726750826355803265260984266618144751818838129431927560052524725127582765549442372461635957790507428542296212660482883830778100032262628335685268361076110653003933720753658626342498598108207113591628523223931344937962257434088745568685381473222813754713557301137685188707577771735719907385875925945361215971464704808214927499603711487344132091326731184707081884630565832911532419130163514966778562434847861021362218993469451376667702490745897248165073801412613710459059823342004801266188992270518474584690584110796775040192964553128155321278735400418222301274509554699483242906248842528643927491916050334115601214082061834286251573797771471610462890207070038990113517384314874988389218929593573595769992957934439472313648608872221417538591099909547681713055197851963217806394271932283786418963737083378263837851866770792294581430370179812803807766812134735008944094254924133000181138341444754146592554240244926530488085797161607440296312032375671384766799546314294952639429116053444305204179954961737670754928180951211327209631174491438566704748775957423647631106931872353072411758039523701355399245986495256131899939578128637906193987861515696267624022768855677386145040750676905386076271594075012645017847456843861067907361603785482067517607711397078496893391404908466039763474426356995787412728936302077788321037622089836944185920214948667492076372211507958383725993147568828022520584628113743069072098077681737646616832744282683301027940111008949487559489400280166812162349769417565580841259074013682180200573711186777726659689975490119163357473183919117291539140678034476458394800768806683673132266242343880852243749183854335527770813216391997262974885810843114429314160237463276656664218915730925460828760711378046669902410716387688714853282313680765227107400697209645981183025449661912571103890490913039864188897637949556486744952841792160388971558166205393610932705442433631027753841798811000777130265365602851965515681643984169325435610742993940251263241305792519709217930230875279761194839959584662947191743403356700820347334268850390650844637405501531301921096571026263943432066459294971843089035394861220552532758517810050362565876624718715634556912646641949968260622504116224630219284301623921188277675205384056375364778072061649987278221213051902862594711798265704318920329526303415071651490215159169436665502967051371583199355417397040849618260976239182865708899876580220885148819958098892407447384776849540577596373076572931387032303318606938946805395609756474317173037851890190086080334220234266081872276699590277311605725492019621206245108261399321173649438883031907502103004618343981447073270063780499728342099870986514585907891949892308658040261024667776373424978390909682927910796351757483974443865702371792838882771005747543496062821233816175876149479890010870200215632229210706418785910292789638550348725797240661293132307251159131784402794068309831964186085953199517245335059417823074979114015927625438852575505515547130205018453380351113945679912359116614886302675918646948307265762938004110601513658895196700081824586705020282825093739598881081540708217418131914073953341509242444578622435984145983493347604029272854899321609106849286714028483886414825128479818859724734438344906945298606455406699287820316660695989544913612976004949026573679384907850688667479190435572179237006408685754560762141977321367339517301097820953022755318954649838568359278646708109095740043295665248217530811189495831329465924529060656867586984790794628582957651073768585090489278140555182834690421510195303839613545873092108913694594537183285417682903243454311391369375810654906662974651031976593576633213427096627363649424527674138186816206523669842323707281027980506733634096495865602720885328039147475167492532627097604997707385503393991456792672459352936820122822469556596945676396903590546739682393729575454493944807057345819069181271569904644175551803259147445317231361820692382321822423289376965920517760072762131028848540838123733912106843655308311750496550815033703056692798798011918005011348199727933997069164542544843124651534694478753855625309629960678863623815672915274926726965714364858257611221106385074050699918280948177141442387115797213194242870596023564029577989498938485534058029690537190534744252272824857327493965876618976643677984346169877601719298683399281042997338804443874233186946808040598508364557521255575013579815682146068863549337248303001248078807047378108920762143811221461759354620875369589065024312588898065507971561029929345527858159313129820327669633132293160565999400466976147547125003253164886640290777125287017292361727094985547014756417512102317970262384641051079277427351725574074131116107146600399234403647819323600759586671280733725982209124764267999221147483008839140602670257205078780970624480127071396543158542953522136110465710368242064084840890205082187266645629140357952494765688460918507878486426042065278647584015295279651155982623258616377485606104157632043716067693156340573589748375359059722913343059515310846221532353844339794755668848402309080774422293295651170084782844354070621520168937868316086040235069146058345289688192907685918900389066798118530800450286088002427616043549842138481236713776013883531628590595300042847329197168381891936968101967776014081901912034332263670677828204428422384434715718704595120461430375574175765702011953092786008531618841562463621545904938593447520015052398913473747165675739128227729860522837856493359404981275620405156088407724873896814306917527150300142982470028171920769744429179320431741610875850043999674743188496908160129431272106464679454201996897333414256543788368259896759637862338268498926658644196226425393282232669383401043410041622131834269331249053253163263805617292232014554953766603366944449281936436163348007550264881313734403499866885910422096847245868983837395381509905362814510495294417227071475516750438538914922504534834593033205080900795488912148742019119549014001554366911119067584994744299018308039208210417466906415185076706749205801012799329399986289204986294786437588639612782571971507723771937929701163710244163043404564826267800950589676152533594989418618014288641614520385570184240884586130870870741886347468641829857183453740491569842565622064996027914799445938815414612045489948609894048719358464589599498624644809962127765563981065415756251258118421436949142446606626464150436046745354962830933231617087191036634528282763930864590672989015325808346540917086018285482216294776630407604444017209836386813546251369184558393180862727824133618231105407565377726874201016716874747193298110226548713113055804386335542276584785327642141420979789128607575389126059449056231221655504322975168824547921598754212580284860341317067232171503075318659142194545497016145803181512026343421286297638468103352223053704896868265116206256544679438575897966426762874745106558292347134875728572127325337754733765251105470177415270966206899861267252369448068927266102835975020557437913164840102135985178231875990189340734544654744647827441286010902235438982564998068477390121580268067852517302500958493927727155669887335454802232441766876959727296032213883872141451322900261005024406412638925534447309297109774680653396839068981982303959449585919601951784676269338509798444492284027198527534729264816863223855205480827392176674198533541998652285208950844368772121015938775827868718348053651466660945842822857135950701469458166244446036560410696408598768008796242326788817178564489668276079897020785729862548025216683403145162467545641729518620497596028019199039246447845134132855463133735174323788649842018758419435906318743206053356800088370917852318294527105533345230477001222310383402828126358397712503413591645611054601866497386469412638491773728614643382590286186308330017723253240683781406419919818813502414034869402770627046602136910556735340620577006649826384200614066464173557086745764379665102794298748986565199421337796563169859800331533497258203854653725133871631985474523134061290217790871839012014060652170431386706390526266713354909666532894989712338707426377288105959729380930582675275553400044698473843175010204608057871421993855679325795511343440323540375249581001966431109313820512103729737415876492397855350709356620428053728631513279657137136751691815273101807269203767363250781488995922177169506473238033222632470640191052132325977988500916888797348877819383961059260577892204584222324373872871821748974613401628203875338762555211387910748411152327539619567997694542831475663395895555090404922654858513105597129946139446385944075046977527087443129745077809595756576233514427417022666744060487857898390789948480719931806881956529624868523931326204018924742455510988728560620886881508902552006781252685182126521983698023601752690226917489683075686040459944761124984353820735928331227975669811495025536004835557357866887952405925158206358648460053744971810759800516971341251283976744691594110219822376535068050425606180275339861939768053672977590839860433707369056754028768873245370748243872093908425321452790676005744239063004090812287994171654371534280527461204785965744686899037505526748205474829861508775633341610106216825084287086663714002411976655574453853711919148720158805545980786494280975922278491841813051023374114075744194873828536865132926198728339588170375472796201352742410432853435729363112226201941628255002535490275056766586373821459331811284350772302429368659539685224295962240105465692745743117250558134122530552966969305908586250082284865580325406190790343864287037227316258520732020059190355270848306662653818702002897039308630618431243314449931945150585878901504845973215101937953823928461721757938572553687288827606914187939448631587847341567152264836920949873736396479054462466993545281884314888041635210657865924492733477634678092762053049423724420978749565535935202527272735525538857856532535829727403758248515676377734964271319895603733369499282090619370644390912703118190967699735839422150118676090812589197956828432883454591775506142072991995255477162685456179917844477810916117758366522467183885517800565518850836567463260579936570404378905085631880126835957647088321534365595303983957495652572590640830763831479030713794949481583992861854626122255507636651728698938040296394529620734556222565311409570754214795520535003346400553934254868951469742466063081282009587365288248731116040001268793498485153779630516908276030764263795595829834765298430173859886036974114210469592900822522496578393807022364135855868617791972115817676751055814736691157277719078078363722995682352787453931398544225888615155245513172842244076107970477685087347438625378887619302413866466619117008334792748656074141300284702324314107158575021092021045201219104849568044014318163216648167167102545567590192051572811882759399171815091482243321889561619871953313830812925825376241612376634587322435846044799053536631550927269169032948586514626083989734654942487786073128339707925635994571914892483303685762083840487806131930731387849170685349079864020207179382689618594010162070659159447889344283707204286255036729730123415253795453381392363525730409662963512930464146567702953413882972452890687402324823676434623668607417451713252684608112007770743378032124178068076627655591705783142289469636449645674093183854831679943102480054334422336004642534472137802293959591564047787165742281711262045913463889166614975785367285123231848489964947168259259859651331806294100233514606935240876224388286907295795623525145565485264076203685696921301244157049222399694261123517677386771518164905737344603978252996052580868902923124475552914011730528812300179021230309867253769880851013594703320917123515967493597713163002806913617288734951731859626757112576606989339415205916570757259477367425003980820415407690284037569443414621271531087857711540292395118940327930085917648961413854880713533683379365683118321440194053278494655321531901445796224168264056771141704976004602347371222102339725674327295424584923438972729801604160881606371129484752571956550759895866459266634599318934331132992268419492312051515244634605489726581981774372625890847390663222639677778599130509229036502941438146903740421129745765409463741046041724109743995541832910890810043237637250838512421266274159269838087162966877339415320918445838084607926482487326890808603331454937071756872582541587950869617374867497291942434166388340736188426522646778126260187474459305273317048369223194305392592429269796065446394224285706245837186991386807972768134945406804843677986121363618283994623075786820519030677924524631232773053566327068836914008068880508593892814413599933512127846256450189605965007722408749599327105633360191669226811125705464166865932685139499043188417058408145619475137407704309057096253453970943431010208805958880441668536636630984528024738383726952579394912266155766194059496573034122939179354744906886317447299846294675145801761429867331920860320689436106861896387056042301081513818264319294187170363122704106526138368915635603316494940799629455580847884255301629707874127819875328740309245368068925386845081146527751898281929519183808884694732922929381859998068561552287796638630153557107517603976885737408961385726894117817772124305384275773752681561772589162896726543848118292224854735017911552771598879672195419903142467189758288893617797981332645308463000380199968291172662286342433407530992399311582382371037051384107721693674935016059465473282177680148455402959465472212928981753238596329614601855483413398833842270568295296640743598590779752989551301629995771523000231911679050279485698305095423321484021804360883790254659446161386801194534079288499545690468910577746611299797864563154863490832639144410652702292169488612519356587316152787229543906355470677554502438539602268426767473565515536424169935736875415273620834081490730213150398951736650842108450857240742774594217852879173672688751229305531115825014850231000546945150122964624749643195594303796058701805941210884086651903723484629069594503110445498020891082678423358251793036052092074949457345902128190663782180041297332240668738760754685732067836519097118357790131727679935781054122263807112935237022613351668926147398489883137771515688789600851256388568716495659230435230035583859074576720408679091908831650422755099588394054135377265310497551564802196750405263555192208913371509621178676044203357752939238134233705209988483613418357068790410292407284985250078216801955681819735640889915286539424767699291558260497936451862444377162411777198512727507682930531190062304184267580007068243872442587201835784461931300341180739516168341521559240873860541511979663086972805839349071094889623734952370289999461430319855751397225742175395567834824532612348799185498233668108399584932908791423527338415192594890797161640870428514483903241405192766090688820461474694129483396941450655378070502596902012960005925071407505634409039374591587356995126256441595045666991786542475413106212634440243252914105680546441834800933952893940680530366893360583164583102871341878638954296317852245050855362654227742890577697939811035528084823005072060163844309859018655879693761266441850506107247499887845837529072734963012358189223535309540488630641402694119285809766132525455640455074277103890569921925511571780900429074779519535887352143224202076526307608773803900609314478528807884041223459718478713147780482731067298371645459172074879456665672144659257063151846218815521853521538039105580092129093604550652176702149722267464711925176295825259195451897982973468788292910834248649486634164719847512355589622486356044931885992391641340252366296529307289311708336501951699737694422661506981734291820308445302217945166uwb;
index 4c2446ba2c21fe8acc6dc7e80eaa70834219dd3d..badf6029b742208146ac627f172ddb7e6a66dbec 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do compile { target bitint } } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 _BitInt(2)
 foo (_BitInt(2) x, _BitInt(15) y)
index ebd6c18e0fdd0cc7fd0cbc38d7924cf9a7163b4d..0adfa31ad1e818a2e30c15532d839877280b0c93 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do compile { target bitint } } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 #include <stdarg.h>
 #include <stdlib.h>
index f4d7366348b591253bf7ffffb7fd12a44f2aa3e6..ad32ea4eb8450299283f38ee8a943ec738579e69 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do compile { target bitint } } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 int *q, *r, *s;
 
index ed6d577a1609afb040ba88810612616bfd1bad9d..84b7df7de9cf4e029ca4f6e00ddee7c092b378a1 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do compile { target bitint } } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 #if __BITINT_MAXWIDTH__ >= 257
 void
index 83ef0f863356019d8aea70a065603a22a0a1aef1..c18fd6b63abec84f9b6a1a67a88a807be3c1f031 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do compile { target bitint } } */
-/* { dg-options "-O2 -std=c2x -Wno-uninitialized" } */
+/* { dg-options "-O2 -std=c23 -Wno-uninitialized" } */
 
 #if __BITINT_MAXWIDTH__ >= 135
 _BitInt(135)
index c3777b1662a70b5c7538aabae63a95ba41839c01..ceb41fa97477de30886541f79702f3ded681da73 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do compile { target { bitint && exceptions } } } */
-/* { dg-options "-O2 -std=gnu2x -fnon-call-exceptions -fexceptions" } */
+/* { dg-options "-O2 -std=gnu23 -fnon-call-exceptions -fexceptions" } */
 
 __attribute__((noipa)) void
 baz (int *p)
index 4d7cb77d09a02f38203ae4e48f70aaf982ebc40d..8f074443198ab8be18cbb89b1755355466d5be89 100644 (file)
@@ -1,7 +1,7 @@
-/* Test C2x attribute syntax: rejected in C11, but warning disabled
-   with -Wno-c11-c2x-compat.  */
+/* Test C23 attribute syntax: rejected in C11, but warning disabled
+   with -Wno-c11-c23-compat.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c11 -pedantic -Wno-c11-c2x-compat" } */
+/* { dg-options "-std=c11 -pedantic -Wno-c11-c23-compat" } */
 
 [[]];
 
index bfadf704714667eb307f40e3f7832cc84bfa1e07..8139140db58c5777e3b36f9ad10d481cdf44a623 100644 (file)
@@ -1,4 +1,4 @@
-/* Test C11 built-in functions: test functions new in C2x are not
+/* Test C11 built-in functions: test functions new in C23 are not
    declared as built-in for C11.  */
 /* { dg-do compile } */
 /* { dg-options "-std=c11" } */
index e191cebbb6adc1b99634d776cffeffe921b86eee..250dd20d331cd81400694da60e1dfeda1cb5caed 100644 (file)
@@ -1,4 +1,4 @@
-/* Test C2x storage class specifiers in compound literals not permitted for
+/* Test C23 storage class specifiers in compound literals not permitted for
    C11.  */
 /* { dg-do compile } */
 /* { dg-options "-std=c11 -pedantic-errors" } */
index d4d1f16f62e659c4095af6538d936be5170f841c..3ac4bb08d377e7448e2cd01d85504cb43f8c0435 100644 (file)
@@ -1,4 +1,4 @@
-/* Test C2x storage class specifiers in compound literals not permitted for
+/* Test C23 storage class specifiers in compound literals not permitted for
    C11.  */
 /* { dg-do compile } */
 /* { dg-options "-std=c11 -pedantic" } */
index a73a8ef8ae1cd3e94927fcb2b17763b1f3705552..e85b4edc871ed97e8325957f97f0e56113b81801 100644 (file)
@@ -1,7 +1,7 @@
-/* Test C2x storage class specifiers in compound literals not permitted for
-   C11, but -Wno-c11-c2x-compat disables the -pedantic diagnostic for that.  */
+/* Test C23 storage class specifiers in compound literals not permitted for
+   C11, but -Wno-c11-c23-compat disables the -pedantic diagnostic for that.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c11 -pedantic-errors -Wno-c11-c2x-compat" } */
+/* { dg-options "-std=c11 -pedantic-errors -Wno-c11-c23-compat" } */
 
 int *ps = &(static int) { 1 };
 int ss = sizeof (static int) { 1 };
index fc832260acbf7d305bc48d70a95fb6533bcaf9df..ab254706d3384996c6bc0d40a32f5c4fb27ccf39 100644 (file)
@@ -1,4 +1,4 @@
-/* Test C2x digit separators not in C11.  */
+/* Test C23 digit separators not in C11.  */
 /* { dg-do compile } */
 /* { dg-options "-std=c11 -pedantic-errors" } */
 
index fd43fa7890bb0e138568af57454ddf4a71c057c9..91523e7b245e94b90cf85c3a895cb66d5d3341bc 100644 (file)
@@ -1,6 +1,6 @@
 /* Test C11 does not support empty initializers.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c11 -Wc11-c2x-compat" } */
+/* { dg-options "-std=c11 -Wc11-c23-compat" } */
 
 struct s { int a; };
 struct s s = {}; /* { dg-warning "empty initializer" } */
index 571041d5962ad3e584dc4df551c436e9ef044d33..556ccfdc712a24e1cca33b5a8f03b3b058b5e95d 100644 (file)
@@ -1,4 +1,4 @@
-/* Test C2x enumerations with values not representable in int are diagnosed for
+/* Test C23 enumerations with values not representable in int are diagnosed for
    C11.  */
 /* { dg-do compile } */
 /* { dg-options "-std=c11 -pedantic-errors" } */
index 5b07c8d4b12f3ed961e3486bb719a277c277d9d1..46d1ae93a707ec624afc26d4cf22053081daa415 100644 (file)
@@ -1,4 +1,4 @@
-/* Test C2x enumerations with values not representable in int are diagnosed for
+/* Test C23 enumerations with values not representable in int are diagnosed for
    C11.  */
 /* { dg-do compile } */
 /* { dg-options "-std=c11 -pedantic" } */
index 8266d4ea347d26d6a4de454c9bc75777b5086204..8cebd3383d1f796af6ff7436befc9db0e8f98671 100644 (file)
@@ -1,7 +1,7 @@
-/* Test C2x enumerations with values not representable in int are not diagnosed
-   for C11 with -pedantic-errors -Wno-c11-c2x-compat.  */
+/* Test C23 enumerations with values not representable in int are not diagnosed
+   for C11 with -pedantic-errors -Wno-c11-c23-compat.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c11 -pedantic-errors -Wno-c11-c2x-compat" } */
+/* { dg-options "-std=c11 -pedantic-errors -Wno-c11-c23-compat" } */
 
 enum e1 { e1a = -__LONG_LONG_MAX__ - 1 };
 
index 57dd92a687abbcb824107dafbc5ab0261e80a6e9..12f6c225ca7cd854e6df695ddd86d79283f2bd02 100644 (file)
@@ -1,4 +1,4 @@
-/* Test C2x enumerations with fixed underlying type are diagnosed for C11.  */
+/* Test C23 enumerations with fixed underlying type are diagnosed for C11.  */
 /* { dg-do compile } */
 /* { dg-options "-std=c11 -pedantic-errors" } */
 
index 91d681f21fefdb3a4693897c4d3f10d61e69ea2b..640f1855b26a522b93542e96e59d4d737a9f7c8f 100644 (file)
@@ -1,4 +1,4 @@
-/* Test C2x enumerations with fixed underlying type are diagnosed for C11.  */
+/* Test C23 enumerations with fixed underlying type are diagnosed for C11.  */
 /* { dg-do compile } */
 /* { dg-options "-std=c11 -pedantic" } */
 
index cd708bd7c5847767525a4c91ce7ef8fc881805f0..a7201103325ae1df572cf2ae37e890eb01234722 100644 (file)
@@ -1,7 +1,7 @@
-/* Test C2x enumerations with fixed underlying type are not diagnosed for C11
-   with -pedantic-errors -Wno-c11-c2x-compat.  */
+/* Test C23 enumerations with fixed underlying type are not diagnosed for C11
+   with -pedantic-errors -Wno-c11-c23-compat.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c11 -pedantic-errors -Wno-c11-c2x-compat" } */
+/* { dg-options "-std=c11 -pedantic-errors -Wno-c11-c23-compat" } */
 
 enum e1 : int;
 enum e2 : short { A };
index 679022afe51f8b997ce023d5f31efe96a17d1131..f5f9d39bf1070f5d3a434c712b40e76df6640d4e 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-std=c11 -Wc11-c2x-compat" } */
+/* { dg-options "-std=c11 -Wc11-c23-compat" } */
 /* { dg-add-options float32 } */
 /* { dg-add-options float64 } */
 /* { dg-add-options float32x } */
index 9f76b83d0ac08406bfd55441a2517350f41655d6..efbf1e6904ef119630d144b4f5baf81222ff9809 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-std=c11 -Wc11-c2x-compat" } */
+/* { dg-options "-std=c11 -Wc11-c23-compat" } */
 /* { dg-add-options float128 } */
 /* { dg-require-effective-target float128 } */
 
index 3da9bb9e664bb0bed8b1a2d4f3d2a620bfc16616..baae8d8b5c9bb99cd934eb0588430fc75958391c 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-std=c11 -Wc11-c2x-compat" } */
+/* { dg-options "-std=c11 -Wc11-c23-compat" } */
 /* { dg-add-options float16 } */
 /* { dg-require-effective-target float16 } */
 
index 63c623801a091fd7d6478f3b89341ba6e597933a..7cf2c189b7908f24918f0efbff603d1673fec75b 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-std=c11 -Wc11-c2x-compat" } */
+/* { dg-options "-std=c11 -Wc11-c23-compat" } */
 /* { dg-add-options float64x } */
 /* { dg-require-effective-target float64x } */
 
index 28ef6294c209e2f78f9b7cf8096f414d56a64d18..a5d34c5c266ed9ea823ae051434136c43f146a51 100644 (file)
@@ -1,6 +1,6 @@
 /* Test restrictions on the kind of declarations permitted in for loops removed
-   in C2X, and thus with -std=c11 -pedantic -Wno-c11-c2x-compat.  */
+   in C23, and thus with -std=c11 -pedantic -Wno-c11-c23-compat.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c11 -pedantic -Wno-c11-c2x-compat" } */
+/* { dg-options "-std=c11 -pedantic -Wno-c11-c23-compat" } */
 
 #include "c99-fordecl-2.c"
index 2a352d649638b861a043a8beca1554b9e25f100e..d8c5bdf9f1ac6757fc921ea85d6f7a82b9416c76 100644 (file)
@@ -1,6 +1,6 @@
 /* Test restrictions on the kind of declarations permitted in for loops removed
-   in C2X, and thus with -std=c11 -pedantic -Wno-c11-c2x-compat.  */
+   in C23, and thus with -std=c11 -pedantic -Wno-c11-c23-compat.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c11 -pedantic -Wno-c11-c2x-compat" } */
+/* { dg-options "-std=c11 -pedantic -Wno-c11-c23-compat" } */
 
 #include "c99-fordecl-3.c"
index 997c1b0aff0f8bacdc7d051889df679f2e61a74f..30fd0727628ec938e0e2c265dea3a8730378221a 100644 (file)
@@ -1,4 +1,4 @@
-/* Test new C2x keywords not keywords in C11.  */
+/* Test new C23 keywords not keywords in C11.  */
 /* { dg-do compile } */
 /* { dg-options "-std=c11 -pedantic-errors" } */
 
index 74164b76904cd4c88cf20f0c163edcf63026efab..b2c9efc71d5ad1216e153e019d4a38353e206caa 100644 (file)
@@ -1,4 +1,4 @@
-/* Test old-style function definitions not in C2x: allowed in C11.  */
+/* Test old-style function definitions not in C23: allowed in C11.  */
 /* { dg-do compile } */
 /* { dg-options "-std=c11 -pedantic-errors" } */
 
index a22f555416d26c9dc09a09f976aa3a3cbc0403ce..89152ce07b4464547a109bf0e1901db5052574d4 100644 (file)
@@ -1,4 +1,4 @@
-/* Test old-style function definitions not in C2x: () does not give
+/* Test old-style function definitions not in C23: () does not give
    type with a prototype for older standards.  */
 /* { dg-do compile } */
 /* { dg-options "-std=c11" } */
index 5bf27a03aff2404f9711c0805012312c84d83cf0..c7076f09be2c9ae08d99f58a93c980f671a35b73 100644 (file)
@@ -1,5 +1,5 @@
-/* Test omitted parameter names not in C11: -pedantic -Wno-c11-c2x-compat.  */
+/* Test omitted parameter names not in C11: -pedantic -Wno-c11-c23-compat.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c11 -pedantic -Wno-c11-c2x-compat" } */
+/* { dg-options "-std=c11 -pedantic -Wno-c11-c23-compat" } */
 
 void f (int) { }
index f731e068830348da71208bdebd4d314f24c1b502..eab9f6f699fbdb26f20433a3768e4c8d236593ca 100644 (file)
@@ -1,4 +1,4 @@
-/* Test that qualifiers are lost in tertiary operator for pointers to arrays before C2X, PR98397 */
+/* Test that qualifiers are lost in tertiary operator for pointers to arrays before C23, PR98397 */
 /* { dg-do compile } */
 /* { dg-options "-std=c11 -pedantic-errors -Wno-discarded-array-qualifiers" } */
 
index 93696ab1b23dd3e1aa81ee030905b994e5066cfe..a87e9dc73519877de01a447ce63029a07eda0671 100644 (file)
@@ -1,6 +1,6 @@
 /* Test C11 static assertions.  Omitting the string not supported, but
-   -Wno-c11-c2x-compat disables the -pedantic diagnostic for that.  */
+   -Wno-c11-c23-compat disables the -pedantic diagnostic for that.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c11 -pedantic -Wno-c11-c2x-compat" } */
+/* { dg-options "-std=c11 -pedantic -Wno-c11-c23-compat" } */
 
 _Static_assert (1);
index 009292461bd7df02636353fad4f535b9a552eeed..fe31de4e6fc5eef6f804231e3b07bf589a32f8a8 100644 (file)
@@ -1,7 +1,7 @@
 /* Test variadic functions with no named parameters not supported in C11, but
-   diagnostic disabled with -Wno-c11-c2x-compat.  */
+   diagnostic disabled with -Wno-c11-c23-compat.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c11 -pedantic-errors -Wno-c11-c2x-compat" } */
+/* { dg-options "-std=c11 -pedantic-errors -Wno-c11-c23-compat" } */
 
 int f (...);
 int g (int (...));
index 0949c7bc90c50dce617dfe9b39d7920befa5d3eb..37a39a934430fdb62a7c3595c6e7a5659974bf39 100644 (file)
@@ -1,4 +1,4 @@
-/* Test compatibility of unprototyped and prototyped function types (C2x made
+/* Test compatibility of unprototyped and prototyped function types (C23 made
    the case of types affected by default argument promotions compatible, before
    removing unprototyped functions completely).  Test affected usages are not
    accepted for C11.  */
index 06da935336e725e92a98a7cca1912a4535358e8b..ca7b07f6ab26714e6dcf7495c9340033f70d8283 100644 (file)
@@ -1,6 +1,6 @@
-/* Test compatibility of unprototyped and prototyped function types (C2x made
+/* Test compatibility of unprototyped and prototyped function types (C23 made
    the case of types affected by default argument promotions compatible, before
-   removing unprototyped functions completely).  Test always-invalid-in-C2x
+   removing unprototyped functions completely).  Test always-invalid-in-C23
    usages, in C11 mode.  */
 /* { dg-do compile } */
 /* { dg-options "-std=c11 -pedantic-errors" } */
index 26dbd92b3adea0efd6fd5f14774fb6b7a3404685..778ca0ffe2a943e723a70fc66e6db3064da08476 100644 (file)
@@ -1,4 +1,4 @@
-/* Test C2x UTF-8 characters.  Test not accepted for C11.  */
+/* Test C23 UTF-8 characters.  Test not accepted for C11.  */
 /* { dg-do compile } */
 /* { dg-options "-std=c11 -pedantic-errors" } */
 
index a6ad7703eebc7cf776502bf8b6bfcae0fb862148..8c941919779b3ac42f397346130e89dae7ebe9bf 100644 (file)
@@ -1,4 +1,4 @@
-/* Test that we don't predefine `nullptr' pre-C2X.  */
+/* Test that we don't predefine `nullptr' pre-C23.  */
 /* { dg-do compile } */
 /* { dg-options "-std=c17 -pedantic-errors" } */
 
index 25dbd62c5509bd1d55b94f8fe9abfb9ce66113d4..840f97d67a100763013f74b558c4041c8a73e0d2 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x alignment support.  Test valid code.  */
+/* Test C23 alignment support.  Test valid code.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 #include <stddef.h>
 
index 8559a58d96f8beac8d6b0edfc2d0867f5271142b..bc3adcf2fc97f42a3483862da6f5afb6ca2baec4 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x alignof returning minimum alignment for a type.  */
+/* Test C23 alignof returning minimum alignment for a type.  */
 /* { dg-do run } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 #define _Alignas alignas
 #define _Alignof alignof
index 227c241bbd1fe5992b95abc355dd9565f46c1d9f..932336a1684299b59b95c28d698fbb0ec94e55e2 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x deprecated attribute: valid uses.  */
+/* Test C23 deprecated attribute: valid uses.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 /* Similar to tests from gnu2x-attrs-1.c, but using the standard
    attribute instead of gnu::deprecated, and sometimes using
index 7c01317d8fa21db67802c5c24257b8da641b44a0..eb1e5085e9c9680e292955b1ab830ef61c332b20 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x deprecated attribute: invalid contexts.  */
+/* Test C23 deprecated attribute: invalid contexts.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 /* This attribute is not valid in most cases on types other than their
    definitions, or on labels, or on statements, or as an
index 044725e5123fd0570da78f4a5cf92bbc7b59bd12..c305e9ee1719ac57a4b7f8af676e5d2e5afb2a07 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x deprecated attribute: invalid syntax.  */
+/* Test C23 deprecated attribute: invalid syntax.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 [[deprecated()]] int a; /* { dg-error "parentheses must be omitted if attribute argument list is empty" } */
 
index 7698434cc6d9a2bf1c0b2048d8437b2504086f4a..aa0d8e51ce4992351a0d2892c43e44bfdd6216dc 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x deprecated attribute: duplicates (allowed after N2557).  */
+/* Test C23 deprecated attribute: duplicates (allowed after N2557).  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 [[deprecated, __deprecated__]] int a;
 [[__deprecated__, deprecated("message")]] int b;
index 60fe11da82818dae28cc2a1ec29ad5d1c90c75af..4c1364907f84ddd20e1ebb3352e3abc05810e628 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x attribute syntax.  Valid use of fallthrough attribute.  */
+/* Test C23 attribute syntax.  Valid use of fallthrough attribute.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors -Wextra" } */
+/* { dg-options "-std=c23 -pedantic-errors -Wextra" } */
 
 int
 f (int a, int c)
index b65bcbef7098b7bef13991aeac7a66dcfc48ddd0..ec4732106fcfa47830a8022f1d66540c0ea961c6 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x attribute syntax.  Invalid use of fallthrough attribute.  */
+/* Test C23 attribute syntax.  Invalid use of fallthrough attribute.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors -Wextra" } */
+/* { dg-options "-std=c23 -pedantic-errors -Wextra" } */
 
 [[fallthrough]]; /* { dg-error "'fallthrough' attribute at top level" } */
 
index 714d0af947bd227f6cecd594989bfa48b51d4743..38da8a38c321167a06493ffec6bf3e11df33662e 100644 (file)
@@ -1,7 +1,7 @@
-/* Test C2x attribute syntax.  Invalid use of fallthrough attribute
+/* Test C23 attribute syntax.  Invalid use of fallthrough attribute
    outside switch.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors -Wextra" } */
+/* { dg-options "-std=c23 -pedantic-errors -Wextra" } */
 
 int
 f (int a)
index a6cedcd0042bbaf6136ff470460e44a7e0e9285e..1f425174d4eb82f03f26f9c363dfe58bdc78a476 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x fallthrough attribute: duplicates (allowed after N2557).  */
+/* Test C23 fallthrough attribute: duplicates (allowed after N2557).  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 int
 f (int a)
index c614ceba2056b278e5dfdc9cb7fef27f5733960e..87d1f6edf99c674876e37bbb5f04ebd948de9ffa 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x fallthrough attribute: mixtures with other attributes.  */
+/* Test C23 fallthrough attribute: mixtures with other attributes.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 /* Use of other standard attributes together with "fallthrough" goes
    through a different path to diagnosing ignored attributes from that
index aa7ff4cdd2a364a1fe264edb8ee63ce2a4ca77a3..0984d6769b48665220c98c5e41719ac8b87c8fca 100644 (file)
@@ -1,7 +1,7 @@
-/* Test C2x attribute syntax.  Invalid use of fallthrough attribute in
+/* Test C23 attribute syntax.  Invalid use of fallthrough attribute in
    bad context inside switch.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors -Wextra" } */
+/* { dg-options "-std=c23 -pedantic-errors -Wextra" } */
 
 int
 f (int a)
index 7090a3f30e178f5b87e42dd1c96f2591b1f6d593..60562aeb3ef0f88972ce459d7924ae4533614eac 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x maybe_unused attribute: valid uses.  */
+/* Test C23 maybe_unused attribute: valid uses.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors -Wall -Wextra -Wunused" } */
+/* { dg-options "-std=c23 -pedantic-errors -Wall -Wextra -Wunused" } */
 
 [[maybe_unused]] static void f1 (void) {}
 
index a749639192e8bfb2e61345e665d815c6d22bd1c7..c89a1b4a8baa73f08bffc0e760626a859199a03f 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x maybe_unused attribute: invalid contexts.  */
+/* Test C23 maybe_unused attribute: invalid contexts.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 /* This attribute is not valid in most cases on types other than their
    definitions, or on statements, or as an attribute-declaration.  */
index 4d4da0867c26c120c40d13d2ddb55448cd7f6122..fe5d61aed7b20e2e177cba2f8b23fe8a84942ea3 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x maybe_unused attribute: invalid syntax.  */
+/* Test C23 maybe_unused attribute: invalid syntax.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 [[maybe_unused()]] int a; /* { dg-error "does not take any arguments" } */
 
index 6b997aa00334513a7fcc125f2e52f305b6910fae..3a2a24888fe122c8faec4a0e3dc9eb7232af60df 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x maybe_unused attribute: duplicates (allowed after N2557).  */
+/* Test C23 maybe_unused attribute: duplicates (allowed after N2557).  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 [[maybe_unused, __maybe_unused__]] int a;
 [[__maybe_unused__, maybe_unused]] int b;
index f4893bd123de07e12d4cc2d5579a485782cf610d..07400480d4a882e16e011eaca1b4fc1cb0ddea1c 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x deprecated attribute: valid uses.  */
+/* Test C23 deprecated attribute: valid uses.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 [[nodiscard]] int c1 (void); /* { dg-message "declared here" } */
 [[__nodiscard__ ("some reason")]] int c2 (void); /* { dg-message "declared here" } */
index 0ed2ebe92ffea3935ab8cf45b859600c020a5402..4441be422a19ca7e328525579396ab8c6d2bf9a3 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x nodiscard attribute: invalid contexts.  */
+/* Test C23 nodiscard attribute: invalid contexts.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 /* This attribute is not valid on types other than their definitions,
    or on declarations other than function declarations, or on
index 2e70d12bff33e1f568ec14d5afa759d23e1d58f3..957383756a8c9ee364df8c31a90879537b6e85ce 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x nodiscard attribute: invalid syntax.  */
+/* Test C23 nodiscard attribute: invalid syntax.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 [[nodiscard()]] int a (void); /* { dg-error "parentheses must be omitted if attribute argument list is empty" } */
 
index 278f55d1e5da59998e61362fdb2627eef7634cb5..5add9de744fc5b2c8475d3cb5bd679e30c168f8b 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x nodiscard attribute: duplicates (allowed after N2557).  */
+/* Test C23 nodiscard attribute: duplicates (allowed after N2557).  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 [[nodiscard, __nodiscard__]] int f (void);
 [[__nodiscard__, nodiscard("message")]] int g (void);
index d903c09a9e5b59509e0e1f007c38505ca3af52bb..7142635cb64dd77e54cf696ac388ac0e433e83b5 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x noreturn attribute: valid uses.  */
+/* Test C23 noreturn attribute: valid uses.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 [[noreturn]] void exit (int);
 
index 331da4a6b5faff96a55f85b0c56a9a54a28144ea..c6e01800270ded4ec89942b32db9e2deb2a8eb06 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x noreturn attribute: invalid contexts.  */
+/* Test C23 noreturn attribute: invalid contexts.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 [[noreturn]]; /* { dg-error "ignored" } */
 
index aaf21e22a133a5024f0e5c22d8a3b5d299b2c599..a447b72be991cec0039fb2e08ac688640a713b99 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x noreturn attribute: invalid syntax.  */
+/* Test C23 noreturn attribute: invalid syntax.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 [[noreturn()]] void a(); /* { dg-error "does not take any arguments" } */
 
index 48e2591258206fa23d0cd8e23d2a415c5fb20db9..9bca2162a5a7284b33990f79526d345b2752b33d 100644 (file)
@@ -1,7 +1,7 @@
-/* Test C2x attribute syntax.  Basic tests of valid uses of empty
+/* Test C23 attribute syntax.  Basic tests of valid uses of empty
    attributes.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 [ [ ] ] [[]];
 
index ceca9501ac15d604fb3b13fd4f60786c193e9b36..36b6fc2577978de9b53ebf24015c67e96d40a642 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x attribute syntax.  Test ignored attributes diagnosed.  */
+/* Test C23 attribute syntax.  Test ignored attributes diagnosed.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 /* A GNU attribute that is valid in some contexts, but should be
    diagnosed in contexts where all attributes are ignored (attribute
index 2f0d9f60cc00bb063ed473c5b4a421a4a5837048..ffb7f1100c9ae5dca37e7ea1f1f8feb443fbeadc 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x attribute syntax.  Invalid uses of attributes.  */
+/* Test C23 attribute syntax.  Invalid uses of attributes.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 /* Prefix attributes not allowed on declarations without declarators.  */
 
index 17d61082ac0fb4fdb54823b146b7a683098e6831..312d75e1ed49afff2159315499c950af4897aa44 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C23 attribute syntax: diagnosed with -Wc11-c2x-compat.  */
+/* Test C23 attribute syntax: diagnosed with -Wc11-c23-compat.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors -Wc11-c2x-compat" } */
+/* { dg-options "-std=c23 -pedantic-errors -Wc11-c23-compat" } */
 
 [[]]; /* { dg-warning "attributes before C23" } */
 
index b261be067cefb41e14c8d58d15020602074a0da9..3088d026171ef56d732b6b635ddea7f5b64e729e 100644 (file)
@@ -1,7 +1,7 @@
-/* Test C2x attribute syntax.  Test unknown standard attributes
+/* Test C23 attribute syntax.  Test unknown standard attributes
    diagnosed with a pedwarn.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 [[unknown_attribute]]; /* { dg-error "attribute ignored" } */
 
index bccdcff2d9ecce960a9338de7d964b706a099049..cf3b1ff33e7026f5c492cbb03aff8b1c8ac45a2d 100644 (file)
@@ -1,6 +1,6 @@
 /* Test C23 attribute syntax: use of __extension__ in C11 mode.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors -Wc11-c2x-compat" } */
+/* { dg-options "-std=c23 -pedantic-errors -Wc11-c23-compat" } */
 
 #define FOO ::
 #define BAR :
index c50daccfe89fe5c06753e7c4d9dd874950919dc3..fb3e845ce02a5a17845f0eb62078a7e036325581 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x auto.  Valid code, compilation tests.  */
+/* Test C23 auto.  Valid code, compilation tests.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 auto i = 1;
 extern int i;
index a41f813018c79bf6d3c353dcb1a90131696ade30..4318e9984c3deea1abf31bc0c6bc59197536ead8 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x auto.  Valid code, execution tests.  Based on auto-type-1.c.  */
+/* Test C23 auto.  Valid code, execution tests.  Based on auto-type-1.c.  */
 /* { dg-do run } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 /* { dg-require-effective-target alloca } */
 
 extern void abort (void);
index 1ab3cc74d355ea41d582873ca97e79fa4a9deacc..ab94c7ad6f7b103225682a3953121c38becd01af 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x auto.  Invalid code.  */
+/* Test C23 auto.  Invalid code.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 auto; /* { dg-error "empty declaration" } */
 auto *p = (int *) 0; /* { dg-error "plain identifier" } */
index 3c6cb34710ee74b280e89f5f612fb805b3a20a78..9dd0e0886d60f6c5453432bf5daee1f45d6654fb 100644 (file)
@@ -1,5 +1,5 @@
-/* Test C2x auto.  -Wc11-c2x-compat warning.  */
+/* Test C23 auto.  -Wc11-c23-compat warning.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors -Wc11-c2x-compat" } */
+/* { dg-options "-std=c23 -pedantic-errors -Wc11-c23-compat" } */
 
 auto x = 2; /* { dg-warning "ISO C does not support 'auto' type deduction before" } */
index bbb2bc842c91dba4fd124b85efd591c1aecd9de0..69b3f5deaf3615ff5a2c093fa9c503b01147aa6c 100644 (file)
@@ -1,5 +1,5 @@
-/* Test C2x binary constants.  Valid syntax and types.  */
+/* Test C23 binary constants.  Valid syntax and types.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 #include "binary-constants-1.c"
index c64ede7ee3aa4c07fd9f1924f472e4cdfcf58dd2..46727df4a819f4a7824ed2dede1f1c65473101a2 100644 (file)
@@ -1,6 +1,6 @@
 /* Test that binary constants are accepted in C23 mode: compat warnings.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -Wc11-c2x-compat" } */
+/* { dg-options "-std=c23 -Wc11-c23-compat" } */
 
 int a = 0b1; /* { dg-warning "C23 feature" } */
 #if 0b101 /* { dg-warning "C23 feature" } */
index 7604791fa85ce51a37880c53cb160d5528b7df14..ca80ea08867fb35fb87430682e664cbdc66ecdb9 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x binary constants.  Invalid constants.  */
+/* Test C23 binary constants.  Invalid constants.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 int a = 0b; /* { dg-error "invalid suffix" } */
 int b = 0B2; /* { dg-error "invalid suffix" } */
index 992fb3180874dc10e1f0a8abdc1fe10d4d4b44f5..6f56e030a02ba8e8d11593b95856a653e86c4d39 100644 (file)
@@ -1,6 +1,6 @@
-/* Test macro expansions in <stdbool.h> in C2x.  */
+/* Test macro expansions in <stdbool.h> in C23.  */
 /* { dg-do run } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 #include <stdbool.h>
 
index 4edb34e4de9273f1f2148b038bfab2a43d537980..a919d0b25324ab8093f62053a377f6db712c76f8 100644 (file)
@@ -1,6 +1,6 @@
-/* Test bool, true and false keywords in C2x.  */
+/* Test bool, true and false keywords in C23.  */
 /* { dg-do run } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 extern void abort (void);
 extern void exit (int);
index d32b4ef59ed16697b4aac75d44f9035c817537e1..53431132e07e87ff236072da4b4431e638aa3520 100644 (file)
@@ -1,6 +1,6 @@
-/* Test limits for _Bool in <limits.h> in C2x.  */
+/* Test limits for _Bool in <limits.h> in C23.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x" } */
+/* { dg-options "-std=c23" } */
 
 #include <limits.h>
 
index 74760592cf8dda2aceaac71e5d4bce4751e39a7c..39f0ea4bf593ce4de172729343d753228afe0963 100644 (file)
@@ -1,7 +1,7 @@
-/* Test C2x built-in functions: test functions new in C2x are indeed
+/* Test C23 built-in functions: test functions new in C23 are indeed
    declared as built-in as expected.  Non-DFP tests.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x" } */
+/* { dg-options "-std=c23" } */
 
 int exp10 (void); /* { dg-warning "conflicting types for built-in function" } */
 int exp10f (void); /* { dg-warning "conflicting types for built-in function" } */
index af92d4d0a9a9448c30cc56a49fa57ce66e4acb33..c259d625dcc4b9668516ad89ffc7896376bcaf15 100644 (file)
@@ -1,6 +1,6 @@
-/* Test storage duration of compound literals in parameter lists for C2x.  */
+/* Test storage duration of compound literals in parameter lists for C23.  */
 /* { dg-do run } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 extern void abort (void);
 extern void exit (int);
index dcca5e8d34852dc8e410eb72eb84bed56077c7e3..720b958588a222cbe832943adfd09a902e463724 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x storage class specifiers in compound literals.  */
+/* Test C23 storage class specifiers in compound literals.  */
 /* { dg-do run } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 #include <stddef.h>
 
index c672525ba6f608179dfa1abd551c4d0cfa4789af..310c142ab27dcd0a279702ef2d53c15caf4b70d7 100644 (file)
@@ -1,7 +1,7 @@
-/* Test C2x storage class specifiers in compound literals.  Thread-local
+/* Test C23 storage class specifiers in compound literals.  Thread-local
    cases, compilation tests.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 /* { dg-require-effective-target tls } */
 
 #include <stddef.h>
index 31d741325d9f98187338a56d3d064696b49c325d..22ec19c12134d8f07750cc719319ae11d4ef6252 100644 (file)
@@ -1,7 +1,7 @@
-/* Test C2x storage class specifiers in compound literals.  Thread-local
+/* Test C23 storage class specifiers in compound literals.  Thread-local
    cases, execution tests.  */
 /* { dg-do run } */
-/* { dg-options "-pthread -std=gnu2x -pedantic-errors" } */
+/* { dg-options "-pthread -std=gnu23 -pedantic-errors" } */
 /* { dg-require-effective-target pthread_h } */
 /* { dg-require-effective-target pthread } */
 /* { dg-require-effective-target tls_runtime } */
index 1eb0f8dd760cc32a676056765b793903670ec60d..27adb17b4d290245927d73084ac4e2259c30d867 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x storage class specifiers in compound literals: invalid code.  */
+/* Test C23 storage class specifiers in compound literals: invalid code.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 int *p = &(register int) { 0 }; /* { dg-error "file-scope compound literal specifies" } */
 
@@ -34,7 +34,7 @@ g ()
 void
 h ()
 {
-  /* The following cases are not part of the C2x syntax, but are detected
+  /* The following cases are not part of the C23 syntax, but are detected
      specially by the parser.  */
   (static int) 0; /* { dg-error "storage class specifier in cast" } */
   sizeof (static int); /* { dg-error "storage class specifier in" } */
index 23a0bb6420bbd6cc8244f5ac7118ae8aedfb1082..53a7abf7ea95514cd2523ebb28f572d2ccabb419 100644 (file)
@@ -1,7 +1,7 @@
-/* Test C2x storage class specifiers in compound literals diagnosed with
-   -Wc11-c2x-compat.  */
+/* Test C23 storage class specifiers in compound literals diagnosed with
+   -Wc11-c23-compat.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -Wc11-c2x-compat" } */
+/* { dg-options "-std=c23 -Wc11-c23-compat" } */
 
 int *ps = &(static int) { 1 }; /* { dg-warning "forbids storage class specifiers in compound literals" } */
 int ss = sizeof (static int) { 1 }; /* { dg-warning "forbids storage class specifiers in compound literals" } */
index 0cd0b86c54151b02697e3f594f761c3adb1c99cd..1fca2261ab7bf6fe2e36238fee3dbd5f2df2bd5c 100644 (file)
@@ -1,7 +1,7 @@
-/* Test C2x storage class specifiers in compound literals diagnosed with
-   -Wc11-c2x-compat, but not errors with -pedantic-errors.  */
+/* Test C23 storage class specifiers in compound literals diagnosed with
+   -Wc11-c23-compat, but not errors with -pedantic-errors.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -Wc11-c2x-compat -pedantic-errors" } */
+/* { dg-options "-std=c23 -Wc11-c23-compat -pedantic-errors" } */
 
 int *ps = &(static int) { 1 }; /* { dg-warning "forbids storage class specifiers in compound literals" } */
 int ss = sizeof (static int) { 1 }; /* { dg-warning "forbids storage class specifiers in compound literals" } */
index fb614ab78025c161b4eb564552489ec7fcd77079..56eb6650b8b2be062de480e06c6c57dd3c28c42a 100644 (file)
@@ -1,7 +1,7 @@
-/* Test C2x storage class specifiers in compound literals: inline function
+/* Test C23 storage class specifiers in compound literals: inline function
    constraints.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 inline void
 f1 ()
index e92eaaf639eb479f637bba823de16b9427c3b677..8b4c890f9457c5ba608ca4d8a36e6f8b9c55f48b 100644 (file)
@@ -1,6 +1,6 @@
 /* Test errors for bad string literal concatenation.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 void *pLU = L"" U""; /* { dg-error "non-standard concatenation" } */
 void *pL_U = L"" "" U""; /* { dg-error "non-standard concatenation" } */
index 898953020e7777e396b5d7c12dd0a6a239130b8a..e7eaf3dd5ab539ca253a983521b89ede7e10a3f0 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x constexpr.  Valid code, compilation tests.  */
+/* Test C23 constexpr.  Valid code, compilation tests.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 #include <float.h>
 
index f74e2ec53bb15a6e969b3b30715d30f1cce1c326..0989df48d56b2098018045cec8835b628336e767 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x constexpr.  Valid code, execution test.  */
+/* Test C23 constexpr.  Valid code, execution test.  */
 /* { dg-do link } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 /* { dg-additional-sources "c2x-constexpr-2b.c" } */
 
 extern void abort (void);
index 04058b3f55986e9c3ff040c20790d254228e8082..bcdff322a3f87a8803a2183af8be71089039c936 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x constexpr.  Second file for link test.  */
+/* Test C23 constexpr.  Second file for link test.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 /* constexpr objects at file scope have internal linkage.  */
 constexpr int a = 3;
index b9b780e5adae3f04ec106020fbdad39ef6a02bc6..1429b1263dec0e9178dc69202528e9316784f1b0 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x constexpr.  Invalid code.  */
+/* Test C23 constexpr.  Invalid code.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 extern constexpr int v0 = 0; /* { dg-error "'constexpr' used with 'extern'" } */
 /* { dg-warning "initialized and declared 'extern'" "initialized extern" { target *-*-* } .-1 } */
index 2a42af890a2a87804aa7460ec2bf725dc9501ffd..d4d6091a45c37316cbb9be12ff046a4cb3af1d70 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x constexpr.  Valid code, compilation tests, signed char.  */
+/* Test C23 constexpr.  Valid code, compilation tests, signed char.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors -fsigned-char" } */
+/* { dg-options "-std=c23 -pedantic-errors -fsigned-char" } */
 
 constexpr char v1[] = "\x00\xff";
 constexpr signed char v2[] = "\x7f\x80";
index 6febd2ee67f16133488ed4372c3be6fe10f74a0e..5899ca1b11e32b1395cee59fa06e57f5e9837f41 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x constexpr.  Valid code, compilation tests, unsigned char.  */
+/* Test C23 constexpr.  Valid code, compilation tests, unsigned char.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors -funsigned-char" } */
+/* { dg-options "-std=c23 -pedantic-errors -funsigned-char" } */
 
 constexpr char v1[] = "\x00\xff";
 constexpr signed char v2[] = "\x7f\x00";
index a86124a9974c184784f1be3d0298c576a942c65c..a52851feddd118cb72dce999fa0c6c4de8330752 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x constexpr.  Invalid code, compilation tests, signed char.  */
+/* Test C23 constexpr.  Invalid code, compilation tests, signed char.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors -fsigned-char" } */
+/* { dg-options "-std=c23 -pedantic-errors -fsigned-char" } */
 
 constexpr unsigned char v3[] = "\x00\xff"; /* { dg-error "'constexpr' initializer not representable in type of object" } */
 constexpr char v4[] = u8"\x00\xff"; /* { dg-error "'constexpr' initializer not representable in type of object" } */
index 5282d9231821eb39878719b394995cc607dace51..0c3101eb31417f4e92b77f38ac48f4be95e9303f 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x constexpr.  Invalid code, compilation tests, unsigned char.  */
+/* Test C23 constexpr.  Invalid code, compilation tests, unsigned char.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors -funsigned-char" } */
+/* { dg-options "-std=c23 -pedantic-errors -funsigned-char" } */
 
 constexpr signed char v2[] = "\x00\xff"; /* { dg-error "'constexpr' initializer not representable in type of object" } */
 constexpr signed char v5[] = u8"\x00\xff"; /* { dg-error "'constexpr' initializer not representable in type of object" } */
index 11372cf1d5aad3ddbb4cd9c7c4c7ad71978031d9..02c039b6b393fe9053673a26f68ac83f2d90c0f5 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x constexpr.  Valid code, compilation tests, IEEE arithmetic.  */
+/* Test C23 constexpr.  Valid code, compilation tests, IEEE arithmetic.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 /* { dg-add-options ieee } */
 /* { dg-require-effective-target inff } */
 
index 8a07ed5b3833793383620cba0e4d428f58c0397a..137058376e8563b480c3364bb39e338d4511f94a 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x constexpr.  Invalid code, compilation tests, IEEE arithmetic.  */
+/* Test C23 constexpr.  Invalid code, compilation tests, IEEE arithmetic.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 /* { dg-add-options ieee } */
 /* { dg-require-effective-target inff } */
 
index 6eadf2ea87f0b1597221cbbc0b0cdc931560c8b4..4b5f4f6951d85bc27d7763a38172a991af375a61 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x digit separators.  Valid usages.  */
+/* Test C23 digit separators.  Valid usages.  */
 /* { dg-do run } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 _Static_assert (123'45'6 == 123456);
 _Static_assert (0'123 == 0123);
index d72f8adc6cb5f43884683f58f00571c1948e0c6d..30a9eb52698a1af7fd3ae4fb3cdde3f54dc85a93 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x digit separators.  Invalid usages.  */
+/* Test C23 digit separators.  Invalid usages.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 void
 tf (void)
index cddb88fa88087657f0a172d6b8076319b5fc00fc..e4d850fc61436bba1f6eec9b7f553107fdac0c40 100644 (file)
@@ -1,7 +1,7 @@
-/* Test C2x digit separators.  Test token pasting avoided for preprocessed
+/* Test C23 digit separators.  Test token pasting avoided for preprocessed
    output.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -save-temps" } */
+/* { dg-options "-std=c23 -save-temps" } */
 
 #define ZERO 0
 
index 1487a2b23ab98ccd6ebb0dc4ca13891a2d25dd72..df0b0071f759e47aa27c2a3aa4bc59f9b127d913 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2X support for empty initializers: valid use cases.  */
+/* Test C23 support for empty initializers: valid use cases.  */
 /* { dg-do run } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 extern void exit (int);
 extern void abort (void);
index 0dc81ce5b8ea08f271370ee0685266da98700487..84a9e65f895049aa7d416ff819e961c90ea2372e 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2X support for empty initializers: invalid use cases.  */
+/* Test C23 support for empty initializers: invalid use cases.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 /* Empty initialization is invalid for arrays of unknown size.  This is
    diagnosed via the diagnostic for zero-size arrays.  */
index 472f8169c4122ad40ca44b5041458862dfba1b8d..6a144213b4c94c825741d44fb09de0d4dde03afb 100644 (file)
@@ -1,6 +1,6 @@
-/* Test empty initializers diagnosed in C2X mode with -Wc11-c2x-compat.  */
+/* Test empty initializers diagnosed in C23 mode with -Wc11-c23-compat.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -Wc11-c2x-compat" } */
+/* { dg-options "-std=c23 -Wc11-c23-compat" } */
 
 struct s { int a; };
 struct s s = {}; /* { dg-warning "empty initializer" } */
index 984a4e70d37e396168dda4940bcdecf2146975c8..3bf32b6de1f05c2a725bc9f35bd63622fb96fe85 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x enumerations with values not representable in int.  */
+/* Test C23 enumerations with values not representable in int.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 /* Check a type while defining an enum (via a diagnostic for incompatible
    pointer types if the wrong type was chosen).  */
index 15dcf9ac7794ba5ce35f4ec5b6da86e1fe960cf6..43cc8f8fe6184440d4681054e2bcd2caa533d7b9 100644 (file)
@@ -1,8 +1,8 @@
-/* Test C2x enumerations with values not representable in int.  Test values
+/* Test C23 enumerations with values not representable in int.  Test values
    outside the range of standard or extended integer types are diagnosed, even
    when they can be represented in __int128.  */
 /* { dg-do compile { target int128 } } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 enum e1 { e1a = __LONG_LONG_MAX__, e1b }; /* { dg-error "enumerator value outside the range" } */
 
index 532d9776d3a27d7fa9a2f92d8fd2d1d413d25fb7..191001dc281ee454032a2deae4edc7fe8e03e0e1 100644 (file)
@@ -1,8 +1,8 @@
-/* Test C2x enumerations with values not representable in int.  Test values
+/* Test C23 enumerations with values not representable in int.  Test values
    outside the range of standard or extended integer types are diagnosed,
    when __int128 is unsupported.  */
 /* { dg-do compile { target { ! int128 } } } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 enum e1 { e1a = __LONG_LONG_MAX__, e1b }; /* { dg-error "overflow in enumeration values" } */
 
index c2e58bfe750ca670bd55efc971f53fa1763a26e2..3d1f51bae72a4764064438944684e895cc79a2df 100644 (file)
@@ -1,7 +1,7 @@
-/* Test C2x enumerations with values not representable in int.  Test overflow
+/* Test C23 enumerations with values not representable in int.  Test overflow
    of __int128 is diagnosed.  */
 /* { dg-do compile { target { int128 } } } */
-/* { dg-options "-std=c2x" } */
+/* { dg-options "-std=c23" } */
 
 enum e1 { e1a = (__int128) (((unsigned __int128) -1) >> 1), e1b }; /* { dg-error "overflow in enumeration values" } */
 
index a4290f04525e8dc1427a0b36f790212428e70d7b..f39b1d24441856ee5bffb4cad720ab627493c934 100644 (file)
@@ -1,7 +1,7 @@
-/* Test C2x enumerations with values not representable in int.  Test
-   -Wc11-c2x-compat warnings.  */
+/* Test C23 enumerations with values not representable in int.  Test
+   -Wc11-c23-compat warnings.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors -Wc11-c2x-compat" } */
+/* { dg-options "-std=c23 -pedantic-errors -Wc11-c23-compat" } */
 
 enum e1 { e1a = -__LONG_LONG_MAX__ - 1 }; /* { dg-warning "ISO C restricts enumerator values" } */
 
index 5ab9694302fa03a01edd81c80a828352a5002df3..976dcc627ea2b56f9ea98bc71635bcd1fea0c327 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x enumerations with fixed underlying type.  Valid code.  */
+/* Test C23 enumerations with fixed underlying type.  Valid code.  */
 /* { dg-do run } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 /* Check a type while defining an enum (via a diagnostic for incompatible
    pointer types if the wrong type was chosen).  */
index 08bae31d82ca6d027c27bf6245e7b897b9459403..c9ef0882b410b49a1fa5a1b714915b66544bc3bc 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x enumerations with fixed underlying type.  Invalid code.  */
+/* Test C23 enumerations with fixed underlying type.  Invalid code.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 /* An enum type specifier may only be used when the enum is defined, or in a
    declaration of the form "enum name enum-type-specifier;".  */
index f7757fc3326689d38de0fbc64df33d8bc24024b4..a241a3f454f7c5877284c05888d84a33d23cc70c 100644 (file)
@@ -1,7 +1,7 @@
-/* Test C2x enumerations with fixed underlying type.  Test -Wc11-c2x-compat
+/* Test C23 enumerations with fixed underlying type.  Test -Wc11-c23-compat
    warnings.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors -Wc11-c2x-compat" } */
+/* { dg-options "-std=c23 -pedantic-errors -Wc11-c23-compat" } */
 
 enum e1 : int; /* { dg-warning "ISO C does not support specifying 'enum' underlying types before" } */
 enum e2 : short { E2 }; /* { dg-warning "ISO C does not support specifying 'enum' underlying types before" } */
index 8df85f935fd76961f33aea16efa6aaa83904f1c0..c13ad0d3e3dcd479233e7239996079801d80237d 100644 (file)
@@ -1,6 +1,6 @@
 /* Test *_NORM_MAX macros.  */
 /* { dg-do run } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 #include <float.h>
 
index 7206921db876fa4ce0c81137a0bf08fa0a589e59..d3d03597f604627f3db35bdb7f8bb0a6db62ab03 100644 (file)
@@ -1,6 +1,6 @@
 /* Test *_IS_IEC_60559 macros.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 #include <float.h>
 
index 0e2f3c0c97a0ee8809aaa92fa8b6183c8cc31578..17f42da5c877d55cd221e6248944166a16f22e87 100644 (file)
@@ -1,6 +1,6 @@
 /* Test INFINITY macro.  Test when infinities not supported.  */
 /* { dg-do compile { target { ! inff } } } */
-/* { dg-options "-std=c2x" } */
+/* { dg-options "-std=c23" } */
 
 #include <float.h>
 
index 40900bd918ae43dd10ec2d2f48acde5c78235e45..04b3f057c7fc33ccdf58bed609b4708cb1687004 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x definition of LDBL_EPSILON.  */
+/* Test C23 definition of LDBL_EPSILON.  */
 /* { dg-do run } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 #include <float.h>
 
index dc54bc734b3705df829ce8a6c5a26ce3c2d68372..9cfd7f0592ecb747b48571965841f61a3b242da7 100644 (file)
@@ -1,6 +1,6 @@
-/* Test __STDC_VERSION_FLOAT_H__ in C2x.  */
+/* Test __STDC_VERSION_FLOAT_H__ in C23.  */
 /* { dg-do preprocess } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 #include <float.h>
 
index 61a77f6f2db71cbe6b0fd806e1e7e55b49045207..65f3b59b2e15796c807ae57ea4f83b6374651a74 100644 (file)
@@ -1,6 +1,6 @@
 /* Test INFINITY macro.  Generic test.  */
 /* { dg-do run } */
-/* { dg-options "-std=c2x -w" } */
+/* { dg-options "-std=c23 -w" } */
 /* { dg-add-options ieee } */
 /* { dg-require-effective-target inff } */
 
index 7c6298b8efb5cfc60df6ba4c0418bc277a847021..23ab80f351aad3c016bf56ca86dedc42b62aa34c 100644 (file)
@@ -1,6 +1,6 @@
 /* Test INFINITY macro.  Test when infinities supported.  */
 /* { dg-do run } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 /* { dg-add-options ieee } */
 /* { dg-require-effective-target inff } */
 
index bca843547c545c288c879687f8648e1a25b4fdeb..b4af9d35890ef0f4cfce92cb747e9815048d023d 100644 (file)
@@ -1,6 +1,6 @@
 /* Test NAN macro.  */
 /* { dg-do run } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 /* { dg-add-options ieee } */
 
 #include <float.h>
index 477f9cf09c616cd6d07e549161951bc699a3a180..9c2f1bdc7a4e1e375fe199eb1d04225ddbb95a59 100644 (file)
@@ -2,7 +2,7 @@
    not signaling.  */
 /* { dg-do run } */
 /* { dg-require-effective-target fenv_exceptions } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 /* { dg-add-options ieee } */
 
 #include <fenv.h>
index 573540b038109210b41e3c77f0cfdb6b5941a479..541fcd67ab73cf9f1f49c34cc189be3090536bdb 100644 (file)
@@ -1,6 +1,6 @@
 /* Test SNAN macros.  */
 /* { dg-do run } */
-/* { dg-options "-std=c2x -pedantic-errors -fsignaling-nans" } */
+/* { dg-options "-std=c23 -pedantic-errors -fsignaling-nans" } */
 /* { dg-add-options ieee } */
 
 #include <float.h>
index 129e7906adc63e59d5ddc1d7d869a7ecdfc4bb69..305494987191af0737f032cef3f9fcfd4c50f0e5 100644 (file)
@@ -2,7 +2,7 @@
    signaling.  */
 /* { dg-do run } */
 /* { dg-require-effective-target fenv_exceptions } */
-/* { dg-options "-std=c2x -pedantic-errors -fsignaling-nans" } */
+/* { dg-options "-std=c23 -pedantic-errors -fsignaling-nans" } */
 /* { dg-add-options ieee } */
 
 #include <fenv.h>
index 0ae9038c1f2a2453405cc33fb7c47da383c04984..00754077c0e8f2e8600226068d3c4bea7298a542 100644 (file)
@@ -2,7 +2,7 @@
    signaling.  */
 /* { dg-do run } */
 /* { dg-require-effective-target fenv_exceptions_double } */
-/* { dg-options "-std=c2x -pedantic-errors -fsignaling-nans" } */
+/* { dg-options "-std=c23 -pedantic-errors -fsignaling-nans" } */
 /* { dg-add-options ieee } */
 
 #include <fenv.h>
index 038fd5501b309e727f099e38853c2bd8eb6e327f..b7455d9b2520b34695edc22cdb706ff75a6702a1 100644 (file)
@@ -2,7 +2,7 @@
    signaling.  */
 /* { dg-do run } */
 /* { dg-require-effective-target fenv_exceptions_long_double } */
-/* { dg-options "-std=c2x -pedantic-errors -fsignaling-nans" } */
+/* { dg-options "-std=c23 -pedantic-errors -fsignaling-nans" } */
 /* { dg-add-options ieee } */
 
 #include <fenv.h>
index b10cb850091aabcc3c3e7ba17b4154cbe118ba82..a1b141b05929fe71de2c147dd4c5e86089254a0c 100644 (file)
@@ -1,7 +1,7 @@
 /* Test including <math.h> then <float.h> does not result in errors
    from duplicate NAN and INFINITY macros.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 #include <math.h>
 #include <float.h>
index 0a54bc2ad4c916990edf0f57d70572e8a6332052..eeb17d7b45f56f3b2b91f1108a610c0c6d81881f 100644 (file)
@@ -1,7 +1,7 @@
 /* Test including <float.h> then <math.h> does not result in errors
    from duplicate NAN and INFINITY macros.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 #include <float.h>
 #include <math.h>
index 73610c8524c24cfb08cbea6a1b900d0946e34dd9..d6fa0033ed5209be9c2b1c44749a5b208bc7d2c3 100644 (file)
@@ -1,6 +1,6 @@
 /* Test DFP macros not defined in <float.h> if no DFP support.  */
 /* { dg-do compile { target { ! dfp } } } */
-/* { dg-options "-std=c2x" } */
+/* { dg-options "-std=c23" } */
 
 #include <float.h>
 
index 730ce89c4cc7311949fd2fbaa26bed9907ce6232..25a2a97cca6497515bfc1a0233cd8fbe9315cab0 100644 (file)
@@ -1,7 +1,7 @@
 /* Test DFP macros not defined in <float.h> if no DFP support.  Test
    with feature test macros defined.  */
 /* { dg-do compile { target { ! dfp } } } */
-/* { dg-options "-std=c2x" } */
+/* { dg-options "-std=c23" } */
 
 #define __STDC_WANT_DEC_FP__
 #define __STDC_WANT_IEC_60559_DFP_EXT__
index aa790c8e21d5cac0e1ef7c015d794b1ba630e185..39236493e32b71cf852e7577067e6f52003c2927 100644 (file)
@@ -1,7 +1,7 @@
 /* Test DFP macros not defined in <float.h> if no DFP support.
    Infinity and NaN macros.  */
 /* { dg-do compile { target { ! dfp } } } */
-/* { dg-options "-std=c2x" } */
+/* { dg-options "-std=c23" } */
 
 #include <float.h>
 
index 855922a47b696da2b0f2a127e72c496db2789530..8518c0a6e822e0e70eb537d435c7825341d0089e 100644 (file)
@@ -2,7 +2,7 @@
    Infinity and NaN macros.  Test with feature test macros
    defined.  */
 /* { dg-do compile { target { ! dfp } } } */
-/* { dg-options "-std=c2x" } */
+/* { dg-options "-std=c23" } */
 
 #define __STDC_WANT_DEC_FP__
 #define __STDC_WANT_IEC_60559_DFP_EXT__
index d9998496ec9b703d8efff8470519d88f7b47e2c1..0084a0ca6f4551c105ea085b7d595a43bf10f72d 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 /* { dg-add-options float32 } */
 /* { dg-add-options float64 } */
 /* { dg-add-options float32x } */
index 179364564d2fa76df27ccc21ea9b8458332f7a48..808438a2b081b9ca0286d7b1e35b5944f1ad85b2 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 /* { dg-add-options float128 } */
 /* { dg-require-effective-target float128 } */
 
index 9ac133ccfdbd69e022d038d84e7af0584021037d..0c12380ba226ac3b7bb06f1cee6d4bdd008c8a20 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 /* { dg-add-options float16 } */
 /* { dg-require-effective-target float16 } */
 
index 5d3ab24ac1cdc0b177247db5f02371721431b174..b1a21a02d4c760336235e3440062e8ecbf4d888c 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 /* { dg-add-options float64x } */
 /* { dg-require-effective-target float64x } */
 
index 2fb7798ed9471dd6a3250cccd1e63d9b5b798145..66d4541d52a445c08a1bf6dff173d5a3c43a4426 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -Wc11-c2x-compat" } */
+/* { dg-options "-std=c23 -Wc11-c23-compat" } */
 /* { dg-add-options float32 } */
 /* { dg-add-options float64 } */
 /* { dg-add-options float32x } */
index 9959e705d2d346138d37fe5c2ac82240b377782a..3480e9089eacbaa112f6d107ec620243e84e346d 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -Wc11-c2x-compat" } */
+/* { dg-options "-std=c23 -Wc11-c23-compat" } */
 /* { dg-add-options float128 } */
 /* { dg-require-effective-target float128 } */
 
index 517eb6b2f199975050088865734ef781474be10b..5a1acb1d4548d18880dfb1fa5750083eef33c124 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -Wc11-c2x-compat" } */
+/* { dg-options "-std=c23 -Wc11-c23-compat" } */
 /* { dg-add-options float16 } */
 /* { dg-require-effective-target float16 } */
 
index 6e42cc31b91f27c5e396346b957e5a4ac22af7ce..ed6ac9bdd8d319055e219b58b0bffead605120a9 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -Wc11-c2x-compat" } */
+/* { dg-options "-std=c23 -Wc11-c23-compat" } */
 /* { dg-add-options float64x } */
 /* { dg-require-effective-target float64x } */
 
index 563186f060bb4d1dc1ce4a8feaa6430cd8a4dfd3..2dc670cc0281ff1384562a1f0a8e8bd1124fe51f 100644 (file)
@@ -1,6 +1,6 @@
 /* Test restrictions on the kind of declarations permitted in for loops removed
-   in C2X.  */
+   in C23.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 #include "c99-fordecl-2.c"
index 42501901c3db5d748670b3ef65b02cd656e50943..cd6c6ea9c69d6d79e4f70e172031febabe9bc535 100644 (file)
@@ -1,6 +1,6 @@
 /* Test restrictions on the kind of declarations permitted in for loops removed
-   in C2X.  */
+   in C23.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 #include "c99-fordecl-3.c"
index d39d4a6a4d750b18483f83bf55dfe5cd5e196e81..03849fb5589b7926df289356618dc80c0393a05c 100644 (file)
@@ -1,7 +1,7 @@
 /* Test for C99 declarations in for loops.  Test constraints are diagnosed with
-   -Wc11-c2x-compat for C2X.  Based on c99-fordecl-2.c.  */
+   -Wc11-c23-compat for C23.  Based on c99-fordecl-2.c.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors -Wc11-c2x-compat" } */
+/* { dg-options "-std=c23 -pedantic-errors -Wc11-c23-compat" } */
 
 void
 foo (void)
index e9dfc4b51faf8340df05fedd685bea7f43d15202..09ae3b4754959a6e1e16f5e49fef4764167a334e 100644 (file)
@@ -1,8 +1,8 @@
 /* Test for C99 declarations in for loops.  Test constraints are diagnosed with
-   -Wc11-c2x-compat for C2X: struct and union tags can't be declared there
+   -Wc11-c23-compat for C23: struct and union tags can't be declared there
    (affirmed in response to DR#277).  Based on c99-fordecl-3.c.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors -Wc11-c2x-compat" } */
+/* { dg-options "-std=c23 -pedantic-errors -Wc11-c23-compat" } */
 
 void
 foo (void)
index fe06abf99baa6fa342e6ab763812bcc49f91480d..b0adeaa4227450e0ca3d71f524b68bb88f7443a3 100644 (file)
@@ -1,6 +1,6 @@
 /* Test __has_c_attribute.  Test basic properties.  */
 /* { dg-do preprocess } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 #ifdef __has_c_attribute
 /* OK.  */
index dc92b95e907c8ddca7ef662e8c3b193d7fe62fd8..3c5810a0aa0901ae847bebf45ce6cf709078d5e1 100644 (file)
@@ -1,6 +1,6 @@
 /* Test __has_c_attribute.  Test supported attributes.  */
 /* { dg-do preprocess } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 #if __has_c_attribute ( nodiscard ) != 202311L
 #error "bad result for nodiscard"
index 36842ed41bcaded3e8eee3dfeda29c82f31776cd..cd1a000725685933baa7f20b3dd33a99bed12d39 100644 (file)
@@ -1,6 +1,6 @@
 /* Test __has_c_attribute.  Test GNU attributes.  */
 /* { dg-do preprocess } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 #if __has_c_attribute (gnu::packed) != 1
 #error "bad result for gnu::packed"
index acd35d2d5ac4067dc571f5bbc61373274b7769f4..72e7ee3d34bc47bddaffec20b5988f5c13ecb77a 100644 (file)
@@ -1,6 +1,6 @@
 /* Test __has_c_attribute.  Test syntax errors.  */
 /* { dg-do preprocess } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 #if __has_c_attribute /* { dg-error "missing '\\('" } */
 #endif
index 439cf7834eeba622ace8ed23374554a408d51e19..0d9b663c7eba3d2db2c34936f7cdff32d627b632 100644 (file)
@@ -1,6 +1,6 @@
 /* Tests for labels before declarations and at ends of compound statements.  */
 /* { dg-do run } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 int f(int x) 
 { 
index bd010e9ecfb9593166e735aeb7ea2d7aec88c912..ceef503feb5339247fbd21b53a2453d85db61e87 100644 (file)
@@ -1,6 +1,6 @@
 /* Tests for labels before declarations and at ends of compound statements.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -Wc11-c2x-compat" } */
+/* { dg-options "-std=c23 -Wc11-c23-compat" } */
 
 int f(int x) 
 { 
index 159116db1863abce0a8215d80321b70559a3fb0f..2d75e34ab1bb0242d241baab3b716d1f1d69dbf6 100644 (file)
@@ -1,7 +1,7 @@
 /* Tests for labels before declarations and at ends of compound statements
  * in combination with attributes. */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -Wall" } */
+/* { dg-options "-std=c23 -Wall" } */
 
 int f(void) 
 { 
index 4977faf47b467d5f21458ee16afadffddaaa4f9d..58b5bdff36ad6b68a925c19dd380acb93bfe5644 100644 (file)
@@ -1,6 +1,6 @@
-/* Test __STDC_VERSION_LIMITS_H__ in C2x.  */
+/* Test __STDC_VERSION_LIMITS_H__ in C23.  */
 /* { dg-do preprocess } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 #include <limits.h>
 
index 2cfbb6cad26992de39325ff50cc39f1b9e59c1d3..10ed4912c099d89560fb7667083ca34d69a7270b 100644 (file)
@@ -1,7 +1,7 @@
 /* Test DFP types and constants rejected if no DFP support.  Bug
    91985.  */
 /* { dg-do compile { target { ! dfp } } } */
-/* { dg-options "-std=c2x" } */
+/* { dg-options "-std=c23" } */
 
 _Decimal32 d32a; /* { dg-error "not supported" } */
 _Decimal64 d64a; /* { dg-error "not supported" } */
index 97a31c27409a51a7184e1e423ef850ff06a6526e..a1b9dea25215d36519dfc6922ac0ea7e2e513db2 100644 (file)
@@ -1,7 +1,7 @@
 /* Test valid usage of C23 nullptr.  */
 /* { dg-do run } */
 // { dg-require-effective-target thread_fence }
-/* { dg-options "-std=c2x -pedantic-errors -Wall -Wextra -Wno-unused-variable" } */
+/* { dg-options "-std=c23 -pedantic-errors -Wall -Wextra -Wno-unused-variable" } */
 
 #include <stdarg.h>
 
@@ -156,7 +156,7 @@ test2 (int *p)
   (void) (_Generic(0, int : nullptr) != p);
 
   /* "(nullptr_t)nullptr" has type nullptr_t but isn't an NPC; these
-     comparisons are valid after C2X CD comments GB-071 and FR-073 were
+     comparisons are valid after C23 CD comments GB-071 and FR-073 were
      resolved by the wording in N3077.  */
   (void) ((nullptr_t)nullptr == p);
   (void) ((nullptr_t)nullptr != p);
index b61056573621aa8b751b0d7c2534118655cbae9c..d7e4294b2f2570dd6094cf78e301b4df867a55ac 100644 (file)
@@ -1,6 +1,6 @@
 /* Test nullptr_t from <stddef.h>.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 #include <stddef.h>
 
index 09d9856ef97fb5920c366595edc5e5df307dd80e..f7006244d5864bb73aa22dcc7bccf01ccd55180e 100644 (file)
@@ -1,6 +1,6 @@
 /* Test wrong usage of C23 nullptr.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors -Wall -Wextra -Wno-unused-variable" } */
+/* { dg-options "-std=c23 -pedantic-errors -Wall -Wextra -Wno-unused-variable" } */
 
 typedef __typeof__(nullptr) nullptr_t;
 
index a5aa1cde95c82acad7786e0174572e4250b76cc0..578f9992e76de8a961b3583bbd8cec2cf89b60c6 100644 (file)
@@ -1,7 +1,7 @@
-/* Test that -Wc11-c2x-compat issues a warning (not a pedwarn) about
+/* Test that -Wc11-c23-compat issues a warning (not a pedwarn) about
    `nullptr' in C23.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors -Wc11-c2x-compat" } */
+/* { dg-options "-std=c23 -pedantic-errors -Wc11-c23-compat" } */
 
 int *
 fn (int *p)
index 27803f7d03fc06b17432c7537a44711a08c53a3a..54266af70fb3c5009d14ed79d3a1af4776fdc440 100644 (file)
@@ -1,6 +1,6 @@
 /* Test that we don't lose side-effects when converting from nullptr_t.  */
 /* { dg-do run } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 int i;
 nullptr_t fn () { ++i; return nullptr; }
index 24e14fa6921057b39fe3d7f985289a316f5d84e8..2ee22022f913987506f6e3318824f8746f5b4a7e 100644 (file)
@@ -1,5 +1,5 @@
 /* PR c/108424 */
-/* { dg-options "-std=c2x" } */
+/* { dg-options "-std=c23" } */
 
 struct S {
   int i;
index c775366d70133a2480dc4b1a7e89cb379799a8eb..f204a3a2aa493309eeb12b53fb1c139199dee384 100644 (file)
@@ -1,6 +1,6 @@
-/* Test old-style function definitions not in C2x: warnings.  */
+/* Test old-style function definitions not in C23: warnings.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x" } */
+/* { dg-options "-std=c23" } */
 
 void
 f (x) /* { dg-warning "old-style function definition" } */
index 7bd5a60f6ddd5993ec3a9d51f1b1304df20b31d9..eae68a88c31211b6da32044c8762fdfb18a5340d 100644 (file)
@@ -1,6 +1,6 @@
-/* Test old-style function definitions not in C2x: errors.  */
+/* Test old-style function definitions not in C23: errors.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 void
 f (x) /* { dg-error "old-style function definition" } */
index a2500769f87f80cd518e4cd5f7598d325eb98e68..9a880bc80aad8afe3681eb2b5e60f1887f91b2be 100644 (file)
@@ -1,7 +1,7 @@
-/* Test old-style function definitions not in C2x: warnings disabled
+/* Test old-style function definitions not in C23: warnings disabled
    by -Wno-old-style-definition.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -Wno-old-style-definition" } */
+/* { dg-options "-std=c23 -Wno-old-style-definition" } */
 
 void
 f (x)
index b1862b101b89baffd0f208fb3619581f52b308a3..516efd00ad4a6469dddf9181f9f1bab40709e605 100644 (file)
@@ -1,7 +1,7 @@
-/* Test old-style function definitions not in C2x: () gives type with
+/* Test old-style function definitions not in C23: () gives type with
    a prototype.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x" } */
+/* { dg-options "-std=c23" } */
 
 void
 f ()
index 0c37a067c9b6a2973c0e4cfe5924c258ff80044a..b0cf4ac5690846c505933ea1a176bf2c578a9990 100644 (file)
@@ -1,7 +1,7 @@
-/* Test old-style function definitions not in C2x: () does not warn
+/* Test old-style function definitions not in C23: () does not warn
    with -Wold-style-definition.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -Wold-style-definition" } */
+/* { dg-options "-std=c23 -Wold-style-definition" } */
 
 void
 f ()
index 72bfd56f00a320d7791113c8c896c66bcf44ed4b..454203487cfd5ea7dadfdb0a55f81e781b11470e 100644 (file)
@@ -1,7 +1,7 @@
-/* Test old-style function definitions not in C2x: () gives a type with
+/* Test old-style function definitions not in C23: () gives a type with
    a prototype for all declarations.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x" } */
+/* { dg-options "-std=c23" } */
 
 void f1 (); /* { dg-message "declared here" } */
 
index 0dc89bb02701f91444b9fb2169d83ca7e437e6c1..64e70b9569a32a515e0326bb76dbfb561eb5b1cf 100644 (file)
@@ -1,5 +1,5 @@
-/* Test omitted parameter names in C2x.  */
+/* Test omitted parameter names in C23.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 void f (int) { }
index 7d689332813114775b9f9e07cbc6116166642238..6ec44dad83a192980efa742a1ce57b04e358d6a6 100644 (file)
@@ -1,7 +1,7 @@
-/* Test omitted parameter names in C2x.  Warning test: there should be
+/* Test omitted parameter names in C23.  Warning test: there should be
    no warning for an unnamed parameter being unused.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors -Wall -Wextra" } */
+/* { dg-options "-std=c23 -pedantic-errors -Wall -Wextra" } */
 
 int
 f (int a, int, int c, int d) /* { dg-warning "unused parameter 'd'" } */
index dac258b0fb87e0b0d80b5fa4510247f636c5b454..6e484100f1e1cd953b9fdb57f6d4350cd86856e3 100644 (file)
@@ -1,6 +1,6 @@
-/* Test omitted parameter names in C2x.  Execution test.  */
+/* Test omitted parameter names in C23.  Execution test.  */
 /* { dg-do run } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 extern void abort (void);
 extern void exit (int);
index a4b0deb7abcddf69636161a73ed50ba0e00b5eb8..8063bdd5cb047a08409f63472101ef74ac3c2806 100644 (file)
@@ -1,5 +1,5 @@
-/* Test omitted parameter names in C2x: diagnosed with -Wc11-c2x-compat.  */
+/* Test omitted parameter names in C23: diagnosed with -Wc11-c23-compat.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors -Wc11-c2x-compat" } */
+/* { dg-options "-std=c23 -pedantic-errors -Wc11-c23-compat" } */
 
 void f (int) { } /* { dg-warning "omitting parameter names" } */
index 4d33db1907d4b30a2d60d0e6f6f79e29ce7cdaea..52ae87a4589abf2568b3dd2311896b1dd2866bb3 100644 (file)
@@ -1,8 +1,8 @@
-/* Tests related to qualifiers and pointers to arrays in C2X, PR98397 */
+/* Tests related to qualifiers and pointers to arrays in C23, PR98397 */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
-/* test that qualifiers are preserved in tertiary operator for pointers to arrays in C2X */
+/* test that qualifiers are preserved in tertiary operator for pointers to arrays in C23 */
 
 void f(void)
 {
index 0bdb2037d4b72cc37caccdc6501d4b55072167c2..250776de1a3291fc0676042c2f27e8d9e62c0aa4 100644 (file)
@@ -1,6 +1,6 @@
 /* Tests related to qualifiers and pointers to arrays in C23, PR98397 */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -Wc11-c2x-compat" } */
+/* { dg-options "-std=c23 -Wc11-c23-compat" } */
 
 /* test that qualifiers are preserved in tertiary operator for pointers to arrays in C23 */
 
index 4328cfb0cf2b4529d556a62cde12975049d6e5c0..5afdcfde2acbb450522d1540aae04c2cecf24bc6 100644 (file)
@@ -1,6 +1,6 @@
 /* Tests related to qualifiers and pointers to arrays in C23, PR98397 */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -Wc11-c2x-compat -pedantic-errors" } */
+/* { dg-options "-std=c23 -Wc11-c23-compat -pedantic-errors" } */
 
 /* test that qualifiers are preserved in tertiary operator for pointers to arrays in C23 */
 
index 93b4723dcd6e401a572ed4e8840abbb0880966eb..8a7a9f2be35f6c54523d92a65a28b85c2977a03e 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-std=c2x" } */
+/* { dg-options "-std=c23" } */
 void tvoid(void* x);
 void transpose0(double* out, const double* in) { }
 void transpose1(double out[2][2], const double in[2][2]) { }
index 0801fa0eed50c9acc6430ba16bc8c91122bdedd4..89b541aa32c45947c84f187371b2a491537123f3 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 void tvoid(void* x);
 void transpose0(double* out, const double* in) { }
 void transpose1(double out[2][2], const double in[2][2]) { }
index ef2331657b27e3f15b04982f911c496edb42e4a7..d79423ccf922182c3d798dd0b2ef01424e3135c9 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -Wc11-c2x-compat -pedantic-errors" } */
+/* { dg-options "-std=c23 -Wc11-c23-compat -pedantic-errors" } */
 void tvoid(void* x);
 void transpose0(double* out, const double* in) { }
 void transpose1(double out[2][2], const double in[2][2]) { }
index 5fe15e1d2cbb3fb86a56bdb6d68be03f54ba66ed..d18fc34e8c1fd8cdce523c0ab6d3bdec526a15c4 100644 (file)
@@ -1,8 +1,8 @@
-/* Tests related to qualifiers and pointers to arrays in C2X, PR98397 */
+/* Tests related to qualifiers and pointers to arrays in C23, PR98397 */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
-/* test that _Atomic qualifier is not preserved in tertiary operator for pointers to arrays in C2X */
+/* test that _Atomic qualifier is not preserved in tertiary operator for pointers to arrays in C23 */
 
 void f(void)
 {
index 1b771a1c0ccb28c7cc344bc8ccc7cf8fee387445..c3405e81f269879affc5879c266d2ded4f4ce698 100644 (file)
@@ -1,5 +1,5 @@
-/* Test C2x static assertions.  Omitting the string supported.  */
+/* Test C23 static assertions.  Omitting the string supported.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic" } */
+/* { dg-options "-std=c23 -pedantic" } */
 
 _Static_assert (1);
index c3474676e023197763dfdd64c8961eb6a2c080a6..75339851d212da5b2238b3e24e357127cc50b606 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x static assertions.  Omitting the string supported.  Failed
+/* Test C23 static assertions.  Omitting the string supported.  Failed
    assertions.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic" } */
+/* { dg-options "-std=c23 -pedantic" } */
 
 _Static_assert (0); /* { dg-error "static assertion failed" } */
index 5d84a6a239fc94475c6c5d8448e22a6c13b5d343..d6b118840f6ba5db90aa15749bb8315d3f1d312e 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x static assertions.  static_assert keyword.  */
+/* Test C23 static assertions.  static_assert keyword.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic" } */
+/* { dg-options "-std=c23 -pedantic" } */
 
 static_assert (1);
 static_assert (1, "message");
index b3bcfb4ae22d5b05c61908e51bf3e21ac30c041c..12744eb1f37cee3d72bd4cd57580b55f12cc8cd7 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x static assertions.  static_assert keyword.  Failed assertions.  */
+/* Test C23 static assertions.  static_assert keyword.  Failed assertions.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic" } */
+/* { dg-options "-std=c23 -pedantic" } */
 
 static_assert (0); /* { dg-error "static assertion failed" } */
 static_assert (0, "message"); /* { dg-error "message" } */
index 7def49d3ce220e014934bf7e4d1df9fc8634eb57..5155188febbb0937efda7577a56bfbf64d01e37e 100644 (file)
@@ -1,7 +1,7 @@
-/* Test C2x variadic functions with no named parameters.  Compilation tests,
+/* Test C23 variadic functions with no named parameters.  Compilation tests,
    valid code.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 int f (...);
 int g (int (...));
index 27782401c93dd2c8fa4ae36102f0d7f0c4e6992d..3499366f96d94c0a248e840b680535e467a7fbc3 100644 (file)
@@ -1,7 +1,7 @@
-/* Test C2x variadic functions with no named parameters.  Compilation tests,
+/* Test C23 variadic functions with no named parameters.  Compilation tests,
    valid code, verify not considered unprototyped functions.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors -Wstrict-prototypes -Wold-style-definition" } */
+/* { dg-options "-std=c23 -pedantic-errors -Wstrict-prototypes -Wold-style-definition" } */
 
 int f (...);
 int g (int (...));
index e2e14063e91b9cbb624fed58716ab5ce5f665c39..10d97db5e6f050ec943eb6e2a3c43cc24302d724 100644 (file)
@@ -1,7 +1,7 @@
-/* Test C2x variadic functions with no named parameters.  Compilation tests,
+/* Test C23 variadic functions with no named parameters.  Compilation tests,
    invalid code.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 int f (...); /* { dg-message "previous declaration" } */
 int f (); /* { dg-error "conflicting types" } */
index 1f8718dec683c9c9288f3850d6f69b76a7f0e8d9..cbbd9ef08ef1807aca5ce452b0966d56e33615a2 100644 (file)
@@ -1,7 +1,7 @@
-/* Test C2x variadic functions with no named parameters, or last named
+/* Test C23 variadic functions with no named parameters, or last named
    parameter with a declaration not allowed in C17.  Execution tests.  */
 /* { dg-do run } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 #include <stdarg.h>
 
index 134244357bbc5139ee0b2025bae160c4b81383c3..26fa859b45135cc017266152ca9d3d0e3853b731 100644 (file)
@@ -1,6 +1,6 @@
-/* Test __STDC_VERSION_STDARG_H__ in C2x.  */
+/* Test __STDC_VERSION_STDARG_H__ in C23.  */
 /* { dg-do preprocess } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 #include <stdarg.h>
 
index 3a9ceb0ea398fed77cb745169dd243f807fbfa62..022be6bcae73b1e2d7af2ab366ce7d31a40baa33 100644 (file)
@@ -1,6 +1,6 @@
-/* Test __STDC_VERSION_STDATOMIC_H__ in C2x.  */
+/* Test __STDC_VERSION_STDATOMIC_H__ in C23.  */
 /* { dg-do preprocess } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 #include <stdatomic.h>
 
index 1ebdf2037ee7d66ec8311afbe9e2d3bab870ff31..39cc5fb65f6779d8075cc9df97c94671482d614b 100644 (file)
@@ -1,6 +1,6 @@
-/* Test __STDC_VERSION_STDDEF_H__ in C2x.  */
+/* Test __STDC_VERSION_STDDEF_H__ in C23.  */
 /* { dg-do preprocess } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 #include <stddef.h>
 
index 3ba6ce56a7aba511d1f161b124ec5a622c474760..9a984cfb4d7d57dea4473c154b509bb3130cf9ff 100644 (file)
@@ -1,6 +1,6 @@
-/* Test __STDC_VERSION_STDINT_H__ in C2x.  */
+/* Test __STDC_VERSION_STDINT_H__ in C23.  */
 /* { dg-do preprocess } */
-/* { dg-options "-std=c2x -pedantic-errors -ffreestanding" } */
+/* { dg-options "-std=c23 -pedantic-errors -ffreestanding" } */
 
 #include <stdint.h>
 
index e1917bd99dc932b017c6a12f41e64dc726600398..8b48313853f06e05e1843fd2bec25334fa703171 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x thread_local keyword.  */
+/* Test C23 thread_local keyword.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 thread_local int a;
 thread_local void f (void); /* { dg-error "storage class" } */
index d199ff238481eaf1f738b70c47394767836fba22..1d063f05e4245587561ff84498e8715f57789109 100644 (file)
@@ -1,7 +1,7 @@
 /* Test that thread-local declarations are not considered tentative definitions
-   in C2x.  */
+   in C23.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 thread_local int a; /* { dg-message "previous" } */
 thread_local int a; /* { dg-error "redefinition" } */
index 0b721fedd4cf5d044529e830651c52ad62432d85..cbc5f2816af5e758d38d0bef4e2bf8037ec3eebd 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x typeof and typeof_unqual.  Valid code.  */
+/* Test C23 typeof and typeof_unqual.  Valid code.  */
 /* { dg-do run } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 int i;
 extern typeof (i) i;
index f1c30a00a7fd60e2b3a936bd0baaeffaee7c94be..0c42a07f709ba4dc4af20c2d53a0f9d12b3e730e 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x typeof and typeof_unqual.  Invalid code.  */
+/* Test C23 typeof and typeof_unqual.  Invalid code.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 struct s { int i : 2; } x;
 union u { unsigned int j : 1; } y;
index c7a057700d36b73b4f342cbf26680e6dcfe0dcd5..824b3eff4bc773f66ca7d6fcc426316c6cbc58df 100644 (file)
@@ -1,7 +1,7 @@
-/* Test C2x typeof and typeof_unqual.  -fno-asm has no effect on keywords in
-   C2x mode.  */
+/* Test C23 typeof and typeof_unqual.  -fno-asm has no effect on keywords in
+   C23 mode.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors -fno-asm" } */
+/* { dg-options "-std=c23 -pedantic-errors -fno-asm" } */
 
 int i;
 extern typeof (i) i;
index d21c6a712fb5c34a44e894e8c7a713555ec5f558..12957e2834800e355d456465ded216aeb574e920 100644 (file)
@@ -1,9 +1,9 @@
 /* Test compatibility of prototyped function types with and without arguments
-   (C2x made the case of types affected by default argument promotions
+   (C23 made the case of types affected by default argument promotions
    compatible, before removing unprototyped functions completely).  Test
-   affected usages are not accepted for C2x.  */
+   affected usages are not accepted for C23.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 void f1 (); /* { dg-message "previous declaration" } */
 void f1 (float); /* { dg-error "conflicting types" } */
index 533fb743b4e0a0df6a8410a819b5a9f9a8dae5da..c21a148936044bf7bb5d9fda8b48669925044403 100644 (file)
@@ -1,9 +1,9 @@
 /* Test compatibility of prototyped function types without arguments and with
-   variable arguments (C2x made the case of types affected by default argument
+   variable arguments (C23 made the case of types affected by default argument
    promotions compatible, before removing unprototyped functions completely).
-   Test always-invalid-in-C2x usages, in C2X mode.  */
+   Test always-invalid-in-C23 usages, in C23 mode.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 void f1 (); /* { dg-message "previous declaration" } */
 void f1 (int, ...); /* { dg-error "conflicting types" } */
index 762f8b21034cc725978e20595e63133db09a2ee4..6dc83dccddc8a4a23f26a87e36887698fe3f78d4 100644 (file)
@@ -1,7 +1,7 @@
-/* Test that declaring a function with () is the same as (void) in C2X.  Valid
+/* Test that declaring a function with () is the same as (void) in C23.  Valid
    use cases.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors -Wstrict-prototypes" } */
+/* { dg-options "-std=c23 -pedantic-errors -Wstrict-prototypes" } */
 
 void f1 ();
 void f1 (void);
index fceff22b1af550b8e82f54344dddd2b7d4c4ef3b..732175300793cf64595b584abc31e21bb17b4cda 100644 (file)
@@ -1,7 +1,7 @@
-/* Test that declaring a function with () is the same as (void) in C2X.
+/* Test that declaring a function with () is the same as (void) in C23.
    Invalid use cases.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 void f1 (); /* { dg-message "previous declaration" } */
 void f1 (int); /* { dg-error "conflicting types" } */
index 468f1f87ebbd3ca549b0522dce6921ab66ca0994..4cbe7f0d67d76138c4b7673958a485c6e096a6f1 100644 (file)
@@ -1,6 +1,6 @@
-/* Test unreachable in <stddef.h> for C2x.  */
+/* Test unreachable in <stddef.h> for C23.  */
 /* { dg-do run } */
-/* { dg-options "-std=c2x -pedantic-errors -O2" } */
+/* { dg-options "-std=c23 -pedantic-errors -O2" } */
 
 #include <stddef.h>
 
index 76543afca82b0636d919e615c92755df13184859..e5e809497715e0332d9ba969bfa05ac61f106938 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x UTF-8 characters.  Test valid usages.  */
+/* Test C23 UTF-8 characters.  Test valid usages.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 unsigned char a = u8'a';
 _Static_assert (u8'a' == 97);
index 4e6a2f6955f8b9fcf8d5a4a4861da482920e4c27..94ad6f342454a1abd6c24f2f4020a41228e0ecb1 100644 (file)
@@ -1,8 +1,8 @@
-/* Test C2x UTF-8 characters.  Character values not affected by
+/* Test C23 UTF-8 characters.  Character values not affected by
    different execution character set.  */
 /* { dg-do compile } */
 /* { dg-require-iconv "IBM1047" } */
-/* { dg-options "-std=c2x -pedantic-errors -fexec-charset=IBM1047" } */
+/* { dg-options "-std=c23 -pedantic-errors -fexec-charset=IBM1047" } */
 
 _Static_assert (u8'a' == 97);
 _Static_assert (u8'a' != (unsigned char) 'a');
index 7c489831998924d35534befa87bc4cb356eedbb9..e152edbed84522a8c7c17785ef6d9307c684cf0d 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x UTF-8 characters.  Test errors for invalid code.  */
+/* Test C23 UTF-8 characters.  Test errors for invalid code.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 unsigned char a = u8''; /* { dg-error "empty character constant" } */
 unsigned char b = u8'ab'; /* { dg-error "character constant too long for its type" } */
index ebdde97b57a3c92e03e26e39eef90b172acd4b2b..36c5d01d533e07d069a034a539f71b5d30f80500 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2X UTF-8 string literal type.  */
+/* Test C23 UTF-8 string literal type.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x" } */
+/* { dg-options "-std=c23" } */
 
 _Static_assert (_Generic (u8"text", unsigned char*: 1, default: 2) == 1, "UTF-8 string literals have an unexpected type");
 _Static_assert (_Generic (u8"x"[0], unsigned char:  1, default: 2) == 1, "UTF-8 string literal elements have an unexpected type");
index 2e4c392da9f7650c1261a4c7af0a5a930cab587b..6efd97b3a9643a17b65f315b9d10f7dd27dc091b 100644 (file)
@@ -1,7 +1,7 @@
-/* Test initialization by UTF-8 string literal in C2X.  */
+/* Test initialization by UTF-8 string literal in C23.  */
 /* { dg-do compile } */
 /* { dg-require-effective-target wchar } */
-/* { dg-options "-std=c2x" } */
+/* { dg-options "-std=c23" } */
 
 typedef __CHAR8_TYPE__  char8_t;
 typedef __CHAR16_TYPE__ char16_t;
index f00f767c50a7769ad2604ea1d8f38e1f8c46e2b1..f3c476c67756f26b2cef3c04ad55a8ca41e374d0 100644 (file)
@@ -5,7 +5,7 @@
 void
 f (void)
 {
-  /* This should have type int following C90 rules, whereas in C2x it
+  /* This should have type int following C90 rules, whereas in C23 it
      would have type double.  */
   auto x = 1.5;
   int *p = &x;
index 6fcf2a59c43c69a0f7132056d719f3ed4d05b039..bbd342e445774ffd2685c2a7c3af0c4b0277c818 100644 (file)
@@ -1,4 +1,4 @@
-/* Test C2x storage class specifiers in compound literals not permitted for
+/* Test C23 storage class specifiers in compound literals not permitted for
    C90, but without a duplicate diagnostic, just the diagnostic for compound
    literals not being permitted in C90 at all.  */
 /* { dg-do compile } */
index a554a5bf9425b3ddfcbf48f9c6e9ffa8dab5a345..124d168ad6d28f1a55616ee6cf4ee5ad7dd46ea3 100644 (file)
@@ -1,6 +1,6 @@
 /* Test #warning not in C11.  */
 /* { dg-do preprocess } */
-/* { dg-options "-std=c11 -Wc11-c2x-compat" } */
+/* { dg-options "-std=c11 -Wc11-c23-compat" } */
 
 #warning example text /* { dg-warning "example text" } */
 /* { dg-warning "#warning before C23 is a GCC extension" "compat" { target *-*-* } .-1 } */
index b23e3117daf0296ac9b6cab1d7511a1865ca5348..0b49067bb778c9462a83ce68261e80467a552fe5 100644 (file)
@@ -1,6 +1,6 @@
-/* Test #elifdef and #elifndef in C2x.  */
+/* Test #elifdef and #elifndef in C23.  */
 /* { dg-do preprocess } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 #define A
 #undef B
index 9132832416d0d1042e083bd1987cc47e02b11d1a..35eb4aa850cc86d13f2d79fb847a667bb4e5d1c8 100644 (file)
@@ -1,6 +1,6 @@
-/* Test #elifdef and #elifndef in C2x: erroneous usages.  */
+/* Test #elifdef and #elifndef in C23: erroneous usages.  */
 /* { dg-do preprocess } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 #define A
 #undef B
index 8337ba70d635674db13aeabcc99ea67eb12e8ed4..7a145acefa3f594f4261bf1ef5e9da8c1a1073f1 100644 (file)
@@ -1,6 +1,6 @@
-/* Test :: token in C2x.  */
+/* Test :: token in C23.  */
 /* { dg-do preprocess } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 #define CONCAT(x, y) x ## y
 
index 73b36e70f5034b9e54694f29c68f6daa3e9edf60..a372b56fed4f9de0502ccd2bd3964d53c896542c 100644 (file)
@@ -1,6 +1,6 @@
-/* Test :: token in C2x: preprocessed output.  */
+/* Test :: token in C23: preprocessed output.  */
 /* { dg-do preprocess } */
-/* { dg-options "-std=c2x -pedantic-errors -P" } */
+/* { dg-options "-std=c23 -pedantic-errors -P" } */
 
 #define COLON() :
 #define TEST() ABC
index bbc21522032a4a9738a899720068e9fcba4e6f1a..e0401aba60dbd3cbdc3ea18166746d98b4d94f96 100644 (file)
@@ -1,6 +1,6 @@
-/* Test trigraphs not supported in C2x.  */
+/* Test trigraphs not supported in C23.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 const char a[] = "??=??(??/??/??)??'??<??!??>??-";
 const char b[] = "?""?=?""?(?""?/?""?/?""?)?""?'?""?<?""?!?""?>?""?-";
index 38ee489f77778ea419f8556844933715aab62401..673dda3eb64c87b098f7f0955f50fe8e4c96c930 100644 (file)
@@ -1,5 +1,5 @@
-/* Test trigraphs supported in C2x with -trigraphs used.  */
+/* Test trigraphs supported in C23 with -trigraphs used.  */
 /* { dg-do run } */
-/* { dg-options "-std=c2x -pedantic-errors -trigraphs" } */
+/* { dg-options "-std=c23 -pedantic-errors -trigraphs" } */
 
 #include "trigraphs.c"
index a4998aeda856329e4e2b9bcdc6136df26d3ef116..f89cfc6f8f7e685343cd8c9ff3d40791091750f8 100644 (file)
@@ -1,6 +1,6 @@
-/* Test characters not permitted in UCNs in C2x.  */
+/* Test characters not permitted in UCNs in C23.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 #if U'\u0000' /* { dg-error "is not a valid universal character" } */
 #endif
index 55d228195632c529ae0bbcdeef749d24af3907d6..a216e77daf72f7fb28b1f624a03162915218dd52 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x (= Unicode) rules for characters in identifiers.  */
+/* Test C23 (= Unicode) rules for characters in identifiers.  */
 /* { dg-do preprocess } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 Â¨
 
index f9fdbea6ecedeedb09259ffd8d9273d21aaa914c..cb811bc2c2213871844ab5245fd5861169fc88b5 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x (= Unicode) rules for characters in identifiers.  */
+/* Test C23 (= Unicode) rules for characters in identifiers.  */
 /* { dg-do preprocess } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 \u00A8 /* { dg-error "is not valid in an identifier" } */
 
index bd438f745715d17211a6acb52bdd913865e48959..8ce811b3c72a98044a9780315c375f4185b01289 100644 (file)
@@ -1,7 +1,7 @@
 /* Test __VA_OPT__ and no "..." arguments in a call to a variable-arguments
-   macro accepted for C2X.  */
+   macro accepted for C23.  */
 /* { dg-do preprocess } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 #define CALL(F, ...) F (7 __VA_OPT__(,) __VA_ARGS__)
 #define M(X, ...) X
index 696a0cd7aada06d18a67bc108b51b2328983a833..cac3a6f3ecc989082705449d4dab643f28a3c10e 100644 (file)
@@ -1,5 +1,5 @@
-/* Test #warning in C2x.  */
+/* Test #warning in C23.  */
 /* { dg-do preprocess } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 #warning example text /* { dg-warning "example text" } */
index 028788a1ac66f284d2950fc87236425cab3ca117..bfa52b405487fcdfec29ce0bac52a97975bd5536 100644 (file)
@@ -1,6 +1,6 @@
-/* Test #warning in C23: -Wc11-c2x-comapt.  */
+/* Test #warning in C23: -Wc11-c23-compat.  */
 /* { dg-do preprocess } */
-/* { dg-options "-std=c2x -pedantic-errors -Wc11-c2x-compat" } */
+/* { dg-options "-std=c23 -pedantic-errors -Wc11-c23-compat" } */
 
 #warning example text /* { dg-warning "example text" } */
 /* { dg-warning "#warning before C23 is a GCC extension" "compat" { target *-*-* } .-1 } */
index 25422b961f8031edaab828930722d3e25340524d..6c7084cf030e329798088eb663bbb01f6b2dd0f4 100644 (file)
@@ -1,6 +1,6 @@
 /* Test #warning not in C11.  */
 /* { dg-do preprocess } */
-/* { dg-options "-std=gnu11 -Wc11-c2x-compat" } */
+/* { dg-options "-std=gnu11 -Wc11-c23-compat" } */
 
 #warning example text /* { dg-warning "example text" } */
 /* { dg-warning "#warning before C23 is a GCC extension" "compat" { target *-*-* } .-1 } */
index c8e5290f280b3ec2a8361ed23419c40d1539c972..7376b8ff015dd3cbb4719c588729599138610788 100644 (file)
@@ -1,5 +1,5 @@
-/* Test #warning in C2x.  */
+/* Test #warning in C23.  */
 /* { dg-do preprocess } */
-/* { dg-options "-std=gnu2x -pedantic-errors" } */
+/* { dg-options "-std=gnu23 -pedantic-errors" } */
 
 #warning example text /* { dg-warning "example text" } */
index 5fce09457b404dbb55acc0ff51fe7118e67aac4e..c5c4b3de61a3960f0f5e80acdc82d06bb6e9eb26 100644 (file)
@@ -1,6 +1,6 @@
-/* Test #warning in C23: -Wc11-c2x-comapt.  */
+/* Test #warning in C23: -Wc11-c23-compat.  */
 /* { dg-do preprocess } */
-/* { dg-options "-std=gnu2x -pedantic-errors -Wc11-c2x-compat" } */
+/* { dg-options "-std=gnu23 -pedantic-errors -Wc11-c23-compat" } */
 
 #warning example text /* { dg-warning "example text" } */
 /* { dg-warning "#warning before C23 is a GCC extension" "compat" { target *-*-* } .-1 } */
index 42e79d545cd3829cc5812ae29a2a59a0b12d6e37..1eccf146b2374f78dc19289684398481f6dcc6af 100644 (file)
@@ -1,7 +1,7 @@
-/* Test TS 18661-1 CR_DECIMAL_DIG: not in C2X without
+/* Test TS 18661-1 CR_DECIMAL_DIG: not in C23 without
    __STDC_WANT_IEC_60559_BFP_EXT__ defined.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x" } */
+/* { dg-options "-std=c23" } */
 
 #include <float.h>
 
index 8e07b67dd5231c8ac00d9c2cdf8411855a962fdb..2e1d5af427ab6687a393c841f7fbc3c8042053ff 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x CR_DECIMAL_DIG: defined for __STDC_WANT_IEC_60559_EXT__.  */
+/* Test C23 CR_DECIMAL_DIG: defined for __STDC_WANT_IEC_60559_EXT__.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x" } */
+/* { dg-options "-std=c23" } */
 
 #define __STDC_WANT_IEC_60559_EXT__
 #include <float.h>
index f8da7022213091fadb250548a729190bae10c550..f2f6d47b038f2a34df0188da8a4d6a342489f0e8 100644 (file)
@@ -1,7 +1,7 @@
 /* Test non-canonical BID significands: _Decimal128.  Bug 91226.  */
 /* { dg-do run { target lp64 } } */
 /* { dg-require-effective-target dfp_bid } */
-/* { dg-options "-std=gnu2x -O2" } */
+/* { dg-options "-std=gnu23 -O2" } */
 
 extern void abort (void);
 extern void exit (int);
index dade48fcf66add36a8a77e8948448e366d1ad46e..ba4b9cd96946dedef4c5cd524934a80d5eeab0d1 100644 (file)
@@ -2,7 +2,7 @@
    combination field starts 11.  Bug 91226.  */
 /* { dg-do run { target lp64 } } */
 /* { dg-require-effective-target dfp_bid } */
-/* { dg-options "-std=gnu2x -O2" } */
+/* { dg-options "-std=gnu23 -O2" } */
 
 extern void abort (void);
 extern void exit (int);
index 77c0941c0270f56fa89d032e201941651e3ddcaa..a16ecf8c624a1f08f03056b83ff115f5dcdb761f 100644 (file)
@@ -1,6 +1,6 @@
 /* Test non-canonical BID significands: _Decimal128.  Bug 91226.  */
 /* { dg-do run { target lp64 } } */
 /* { dg-require-effective-target dfp_bid } */
-/* { dg-options "-std=gnu2x -O0" } */
+/* { dg-options "-std=gnu23 -O0" } */
 
 #include "bid-non-canonical-d128-1.c"
index 93ff0fc6d57d863bd70db7e9e9febc353b89b2aa..1504e07f714059558e86a9d499201a4ead4986f8 100644 (file)
@@ -2,6 +2,6 @@
    combination field starts 11.  Bug 91226.  */
 /* { dg-do run { target lp64 } } */
 /* { dg-require-effective-target dfp_bid } */
-/* { dg-options "-std=gnu2x -O0" } */
+/* { dg-options "-std=gnu23 -O0" } */
 
 #include "bid-non-canonical-d128-2.c"
index 69d014f68c07734201da6991247de7d9aa4bd8fa..593f06b61dd75965d9262cbc23076c5ba96fe5c2 100644 (file)
@@ -1,7 +1,7 @@
 /* Test non-canonical BID significands: _Decimal32.  Bug 91226.  */
 /* { dg-do run } */
 /* { dg-require-effective-target dfp_bid } */
-/* { dg-options "-std=gnu2x -O2" } */
+/* { dg-options "-std=gnu23 -O2" } */
 
 extern void abort (void);
 extern void exit (int);
index 874b2fb36334bdacac8a675461930a505fafa7ea..ae2c9268ac331454abcb6f9add7b9e2e0496d215 100644 (file)
@@ -1,6 +1,6 @@
 /* Test non-canonical BID significands: _Decimal32.  Bug 91226.  */
 /* { dg-do run } */
 /* { dg-require-effective-target dfp_bid } */
-/* { dg-options "-std=gnu2x -O0" } */
+/* { dg-options "-std=gnu23 -O0" } */
 
 #include "bid-non-canonical-d32-1.c"
index 4602d34d7cb5f9cfe72a8c6e70b6714be49411db..bb0cb1a60501f9698c32377bec1846ac54c805c8 100644 (file)
@@ -1,7 +1,7 @@
 /* Test non-canonical BID significands: _Decimal64.  Bug 91226.  */
 /* { dg-do run } */
 /* { dg-require-effective-target dfp_bid } */
-/* { dg-options "-std=gnu2x -O2" } */
+/* { dg-options "-std=gnu23 -O2" } */
 
 extern void abort (void);
 extern void exit (int);
index c2993b6476fdffd6aa9690847863620fbf13f82c..1375ab56e5861c3ce257176890e06dadf72e80be 100644 (file)
@@ -1,6 +1,6 @@
 /* Test non-canonical BID significands: _Decimal64.  Bug 91226.  */
 /* { dg-do run } */
 /* { dg-require-effective-target dfp_bid } */
-/* { dg-options "-std=gnu2x -O0" } */
+/* { dg-options "-std=gnu23 -O0" } */
 
 #include "bid-non-canonical-d64-1.c"
index 64f50d05f0ef8940e20576a628c4e69b36eb2ade..ab826e16ba390c067f1b1419d77f898d5d9f6127 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do run { target bitint } } */
-/* { dg-options "-O2 -std=c2x -pedantic-errors" } */
+/* { dg-options "-O2 -std=c23 -pedantic-errors" } */
 
 #if __BITINT_MAXWIDTH__ >= 192
 __attribute__((noipa)) _BitInt(192)
index 7fb629a2b383defa6b6fb80b93b39f6d109c0d0e..68cce0e66521ca215078ee6cd315b966e3a5c324 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do run { target bitint } } */
-/* { dg-options "-O2 -std=c2x -pedantic-errors" } */
+/* { dg-options "-O2 -std=c23 -pedantic-errors" } */
 
 #if __BITINT_MAXWIDTH__ >= 192
 __attribute__((noipa)) _BitInt(192)
index 28a7e84b672da36f75786d158d8a365b5b6eea0a..911bf8afb3083b8d0e75bb05e88bcf2dddb8a6d9 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do run { target bitint } } */
-/* { dg-options "-O2 -std=c2x -pedantic-errors" } */
+/* { dg-options "-O2 -std=c23 -pedantic-errors" } */
 
 #if __BITINT_MAXWIDTH__ >= 192
 __attribute__((noipa)) _BitInt(192)
index 513ead1f05640ff18f51295704ec24b8f88dab2a..0b6011055786e4e25711a88dc4971e9955f4ffbc 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do run { target bitint } } */
-/* { dg-options "-O2 -std=c2x -pedantic-errors" } */
+/* { dg-options "-O2 -std=c23 -pedantic-errors" } */
 
 #if __BITINT_MAXWIDTH__ >= 192
 __attribute__((noipa)) _Decimal64
index 4b04141f0c317ea5740ea23f35e9dcaa66a35df1..37d373cdf320a792e0434fa3896ebfec7b9e0f10 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do run { target bitint } } */
-/* { dg-options "-O2 -std=c2x -pedantic-errors" } */
+/* { dg-options "-O2 -std=c23 -pedantic-errors" } */
 
 #if __BITINT_MAXWIDTH__ >= 192
 __attribute__((noipa)) _Decimal32
index 54aa1578ba0ec771239579d72351559266192d84..eb137a60e4b7dd933c0708ce7c4ba56835312444 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do run { target bitint } } */
-/* { dg-options "-O2 -std=c2x -pedantic-errors" } */
+/* { dg-options "-O2 -std=c23 -pedantic-errors" } */
 
 #if __BITINT_MAXWIDTH__ >= 192
 __attribute__((noipa)) _Decimal128
index 6794e389ed2c20008fa2e50ac29ce2ad4f753e7c..49e8103723cb273c5826b08c947201a76585956c 100644 (file)
@@ -2,7 +2,7 @@
 /* Test non-canonical BID significands.  */
 /* { dg-do run { target bitint } } */
 /* { dg-require-effective-target dfp_bid } */
-/* { dg-options "-std=gnu2x -O2" } */
+/* { dg-options "-std=gnu23 -O2" } */
 
 union U32
 {
index 7656cb1773d3606e9448e2e71b7bc000f3925c80..18263e2bd7533695c73e2923a235f87a361eb20b 100644 (file)
@@ -1,7 +1,7 @@
 /* PR c/102989 */
 /* { dg-do run { target bitint } } */
 /* { dg-require-effective-target fenv_exceptions } */
-/* { dg-options "-std=c2x" } */
+/* { dg-options "-std=c23" } */
 
 #include <fenv.h>
 
index 88b8b334e71017209e7fc7ff9b5f0f229d32cea7..c078e8ed6304ebf571267f320db9f0c8ca607dbb 100644 (file)
@@ -1,7 +1,7 @@
-/* Test C2x built-in functions: test functions new in C2x are indeed
+/* Test C23 built-in functions: test functions new in C23 are indeed
    declared as built-in as expected.  DFP tests.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x" } */
+/* { dg-options "-std=c23" } */
 
 int fabsd32 (void); /* { dg-warning "conflicting types for built-in function" } */
 int fabsd64 (void); /* { dg-warning "conflicting types for built-in function" } */
index 337550602fca29d4e024feccf392ceceba6a6cf5..acd964073416bc5be4230571ddd24908f50ec267 100644 (file)
@@ -1,6 +1,6 @@
-/* Test that DFP constants are accepted in C2X mode.  */
+/* Test that DFP constants are accepted in C23 mode.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 int a = (int) 1.1DF;
 int b = (int) 2.df;
index befdd1634d450bbca0289fd3a5dcf03a665a930a..d98aba4d2c09d3cb40b3a3e28b9c0cfda2ae04f7 100644 (file)
@@ -1,6 +1,6 @@
 /* Test that DFP constants are accepted in C23 mode: compat warnings.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -Wc11-c2x-compat" } */
+/* { dg-options "-std=c23 -Wc11-c23-compat" } */
 
 int a = (int) 1.1DF; /* { dg-warning "C23 feature" } */
 int b = (int) 2.df; /* { dg-warning "C23 feature" } */
index 4ac6629ff5af782bd6125f20250291b378f14abc..d7e7c9014b0d8d24268555a8e36b12ef2aaed602 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x constexpr.  Valid code, compilation tests, DFP.  */
+/* Test C23 constexpr.  Valid code, compilation tests, DFP.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 constexpr _Decimal32 v1 = __DEC32_MIN__;
 constexpr _Decimal32 v2 = __DEC32_SUBNORMAL_MIN__;
index 8ce0d088ac3d75b7709e2bf993f5086a04413104..9c0fc9dc3be0d45dc2ef0b81dc6b18ff1046caa9 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x constexpr.  Invalid code, compilation tests, DFP.  */
+/* Test C23 constexpr.  Invalid code, compilation tests, DFP.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 /* Test conversions between binary and decimal.  */
 constexpr double v2 = 0.0DF; /* { dg-error "'constexpr' initializer for a binary floating-point type is of decimal type" } */
index ee5e67896179061298201bc9387b1fac0adfca24..1ab650b11e7163de8712ee754a1cfb40f4c505ac 100644 (file)
@@ -1,6 +1,6 @@
 /* Test DFP macros defined in <float.h> with DFP support.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x" } */
+/* { dg-options "-std=c23" } */
 
 #include <float.h>
 
index 9ba5690e686ab46833ecb461455170a2ed263a2c..1b3e69361c89f6dc6f82b5b28e08137cdac42eb6 100644 (file)
@@ -1,7 +1,7 @@
 /* Test DFP macros defined in <float.h> with DFP support.  TS 18661-2
    feature test macro does not change what is defined.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x" } */
+/* { dg-options "-std=c23" } */
 
 #define __STDC_WANT_IEC_60559_DFP_EXT__
 
index 00b51a4c3f50d74ea56a9307475ffc72de8088b9..8fb40581fcfaccf5ac09e0e6c757cf230e029b5a 100644 (file)
@@ -1,7 +1,7 @@
 /* Test DFP macros defined in <float.h> with DFP support.  TR 24732
    feature test macro causes *_SUBNORMAL_MIN macros to be defined.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x" } */
+/* { dg-options "-std=c23" } */
 
 #define __STDC_WANT_DEC_FP__
 #include <float.h>
index 58ee74db484d5784898977f4186c1bfcf02ab662..d7d04bd12d94c298245e6f49e2c27014c8b56f0f 100644 (file)
@@ -1,6 +1,6 @@
 /* Test DEC_INFINITY defined in <float.h> with DFP support.  */
 /* { dg-do run } */
-/* { dg-options "-std=c2x" } */
+/* { dg-options "-std=c23" } */
 
 #include <float.h>
 
index 8d097255e0ea2307bdac32e69bc291f013fe0417..19a5fbbba8a0129fbdd789af515ff91c671ab701 100644 (file)
@@ -1,6 +1,6 @@
 /* Test DEC_NAN defined in <float.h> with DFP support.  */
 /* { dg-do run } */
-/* { dg-options "-std=c2x" } */
+/* { dg-options "-std=c23" } */
 
 #include <float.h>
 
index 4533c61e8e9808f3e70e4fca56c44b3a5b8c7e2d..d00c3905a7b2955c8ba1703c3912bc32e97a0e30 100644 (file)
@@ -4,7 +4,7 @@
    support in libgcc does not integrate with hardware exceptions.)  */
 /* { dg-do run } */
 /* { dg-require-effective-target fenv_exceptions } */
-/* { dg-options "-std=c2x" } */
+/* { dg-options "-std=c23" } */
 
 #include <fenv.h>
 #include <float.h>
index dec6b500656c43db7baaf86c0b157708c7b176eb..bc1cd4b58a3fd1834bcaf8f0ebb9dc07508552b9 100644 (file)
@@ -1,6 +1,6 @@
 /* Test DEC*_SNAN macros defined in <float.h> with DFP support.  */
 /* { dg-do run } */
-/* { dg-options "-std=c2x" } */
+/* { dg-options "-std=c23" } */
 
 #include <float.h>
 
index 4169602fd9c949a48f2a022f216927a147af351b..06bbfa5bfa55daf5dd970f3f07f62aacf340d943 100644 (file)
@@ -2,7 +2,7 @@
    support.  */
 /* { dg-do run } */
 /* { dg-require-effective-target fenv_exceptions_dfp } */
-/* { dg-options "-std=c2x" } */
+/* { dg-options "-std=c23" } */
 
 #include <fenv.h>
 #include <float.h>
index a3a1da536f0018cf6dbc85bdf694122c18392408..9e7f4d93ea0a42917339eb911ff0c2b4f8a77dea 100644 (file)
@@ -1,6 +1,6 @@
-/* Test that _Decimal* keywords are accepted in C2X mode.  */
+/* Test that _Decimal* keywords are accepted in C23 mode.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 _Decimal32 d32;
 _Decimal64 d64;
index 9655dd0cf02536497ee1ec36edb088d392367c20..26cefd769546332821fc213a4110f8c4eff80dce 100644 (file)
@@ -1,6 +1,6 @@
-/* Test that _Decimal* keywords are accepted in C2X mode: compat warnings.  */
+/* Test that _Decimal* keywords are accepted in C23 mode: compat warnings.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -Wc11-c2x-compat" } */
+/* { dg-options "-std=c23 -Wc11-c23-compat" } */
 
 _Decimal32 d32; /* { dg-warning "ISO C does not support" } */
 _Decimal64 d64; /* { dg-warning "ISO C does not support" } */
index c196816ac4cff008f3590cba64ce5043173603b7..8f2f99f2e3ad57a71dd521740a11cc8aac4dff63 100644 (file)
@@ -91,7 +91,7 @@
 # error "DEC128_SUBNORMAL_MIN not defined"
 #endif
 
-/* These macros from C2X should not be defined.  */
+/* These macros from C23 should not be defined.  */
 
 #ifdef DEC32_TRUE_MIN
 # error "DEC32_TRUE_MIN defined"
index f0a08246688a27cd16e9dac5517097790a9abfb3..e43ecac20682cc7d61e37b485f6a1ebc6de908e0 100644 (file)
@@ -1,5 +1,5 @@
 /* Test DFP macros defined in <float.h> with DFP support.  TS 18661-2
-   feature test macro causes same macros to be defined as for C2X.  */
+   feature test macro causes same macros to be defined as for C23.  */
 /* { dg-do compile } */
 /* { dg-options "-std=gnu99" } */
 
index de525adb05a7bcf0d52d4514db2e27202d3f9afa..49e5b5cd2d59209c53210a5e479dc07d378c96bc 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do compile { target bitint } } */
-/* { dg-options "-std=c2x" } */
+/* { dg-options "-std=c23" } */
 
 void
 foo (void)
index 05d242ecf28a38fe8eb2f6d25d21ae10b29fbc2b..2cf117d2b6d56ea926b0e5d2844bc8e2ff345c5d 100644 (file)
@@ -1,4 +1,4 @@
-/* Test for printf formats: rejection of C2X (and C2X-recommended) formats in
+/* Test for printf formats: rejection of C23 (and C23-recommended) formats in
    pedantic mode.  */
 /* { dg-do compile } */
 /* { dg-options "-std=c11 -pedantic -Wformat" } */
index 4edd2a3183f5743ddbb451144ec9317de96739b5..c3373254733dcb11062a82a045cdbff491a94819 100644 (file)
@@ -1,4 +1,4 @@
-/* Test for printf formats: rejection of C2X formats in pedantic mode.  */
+/* Test for printf formats: rejection of C23 formats in pedantic mode.  */
 /* { dg-do compile } */
 /* { dg-options "-std=c11 -pedantic -Wformat" } */
 
index dc40f99bc750eb22967f159f66e75ea8f7a9bb99..56707c4b07664984f2cc410eb5fac96980d75a31 100644 (file)
@@ -1,7 +1,7 @@
 /* Test for printf formats: acceptance of DFP formats in pedantic mode.  */
 /* { dg-do compile } */
 /* { dg-require-effective-target dfp } */
-/* { dg-options "-std=c2x -pedantic -Wformat" } */
+/* { dg-options "-std=c23 -pedantic -Wformat" } */
 
 #include "format.h"
 
index 81e39a97ff894594fa10c7bd83428cd475568b54..d2959040a2b1dba1a3c1b5ab67f9d3263fca1b34 100644 (file)
@@ -1,7 +1,7 @@
 /* Test for scanf formats: acceptance of DFP formats in pedantic mode.  */
 /* { dg-do compile } */
 /* { dg-require-effective-target dfp } */
-/* { dg-options "-std=c2x -pedantic -Wformat" } */
+/* { dg-options "-std=c23 -pedantic -Wformat" } */
 
 #include "format.h"
 
index 9be7d4753d1ab9e3feb996c55295ebad86614bb9..4e50bfe193b89676584af4d4b266ffe67d05a7fb 100644 (file)
@@ -1,6 +1,6 @@
-/* Test for printf formats.  Formats using C2X features.  */
+/* Test for printf formats.  Formats using C23 features.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic -Wformat" } */
+/* { dg-options "-std=c23 -pedantic -Wformat" } */
 
 #include "format.h"
 
index 88fab12fbbb2e78ecd19b573e1fdd516734a6df4..e1c69af39db2c39ed30b140dfbed53f417a4c8ba 100644 (file)
@@ -1,6 +1,6 @@
-/* Test for scanf formats.  Formats using C2X features.  */
+/* Test for scanf formats.  Formats using C23 features.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic -Wformat" } */
+/* { dg-options "-std=c23 -pedantic -Wformat" } */
 
 #include "format.h"
 
index c6e7619e8a455bd68809e07451a4b8ef0bafa30f..80f2788b682e4aaabda528d083c36b2095a79140 100644 (file)
@@ -1,6 +1,6 @@
-/* Test for strftime formats.  Formats using C2x features.  */
+/* Test for strftime formats.  Formats using C23 features.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic -Wformat" } */
+/* { dg-options "-std=c23 -pedantic -Wformat" } */
 
 #include "format.h"
 
index 370ea86b42e99e3f5f0d34be636bde045e36c872..4b3ad21f0768bf79ee86e41b4b475f9d68041373 100644 (file)
@@ -1,6 +1,6 @@
-/* Test for scanf format extensions using formats from C2X.  */
+/* Test for scanf format extensions using formats from C23.  */
 /* { dg-do compile } */
-/* { dg-options "-std=gnu2x -Wformat" } */
+/* { dg-options "-std=gnu23 -Wformat" } */
 
 #include "format.h"
 
index 8f091292b72af146a9b083ba47758b41a480d8d0..bb41f0d9080761f1838fb537a76bcd6e736f7b24 100644 (file)
@@ -1,7 +1,7 @@
 /* Test for printf format extensions using formats from or recommended by
-   C2X.  */
+   C23.  */
 /* { dg-do compile } */
-/* { dg-options "-std=gnu2x -Wformat" } */
+/* { dg-options "-std=gnu23 -Wformat" } */
 
 #include "format.h"
 
index e60ad466c37ff682ed332e07639ae2283e205a53..93b23fbd68af5468b5d255deaa3693d80ed6311e 100644 (file)
@@ -1,6 +1,6 @@
 /* Test typeof propagation of noreturn function attributes with -std=gnu11:
    these are part of the type of a function pointer with GNU typeof, but not
-   with C2x typeof.  */
+   with C23 typeof.  */
 /* { dg-do link } */
 /* { dg-options "-std=gnu11 -O2" } */
 
index bd210864757dd609e22ccd86202753f81f81c9b2..2576089e1cabf95269f992eafcd8de5126ce300b 100644 (file)
@@ -1,7 +1,7 @@
-/* Test C2x attribute syntax.  Basic tests of valid uses of empty
+/* Test C23 attribute syntax.  Basic tests of valid uses of empty
    attributes with GNU C features.  */
 /* { dg-do compile } */
-/* { dg-options "-std=gnu2x" } */
+/* { dg-options "-std=gnu23" } */
 
 /* Attributes can be used in declarations after __extension__, and
    before asm statements.  */
index 97d1654d9f6a02d507b0b7ee7a6ef1631dfa278d..ba60f7a095ab32cdf86914f90ee953f171c5d6c6 100644 (file)
@@ -1,11 +1,11 @@
-/* Test C2x attribute syntax.  Invalid uses of attributes with GNU C
+/* Test C23 attribute syntax.  Invalid uses of attributes with GNU C
    features.  */
 /* { dg-do compile } */
-/* { dg-options "-std=gnu2x -w" } */
+/* { dg-options "-std=gnu23 -w" } */
 
 /* Attributes cannot be used as prefix attributes on old-style
    parameter declarations or on function declarators with identifier
-   lists (removed from C2x).  */
+   lists (removed from C23).  */
 
 void (*f(a, b) [[]])() int a, b; { } /* { dg-error "expected" } */
 
index 2007911e7200eb1c7ae11eaa7673708fbf6b92b0..67ab48349a11f2b9b90bc08e1ebfe91a68e88162 100644 (file)
@@ -1,8 +1,8 @@
-/* Test C2x attribute syntax.  Test GNU attributes appertain to
+/* Test C23 attribute syntax.  Test GNU attributes appertain to
    appropriate constructs.  */
 /* { dg-do compile } */
 /* { dg-require-alias "" } */
-/* { dg-options "-std=gnu2x" } */
+/* { dg-options "-std=gnu23" } */
 
 void f (void) {};
 
index d512b2a2aca2fa8cf9b986d20a76a35600b20e00..bcdfcf882291881ddb801e4776bba76949aaab5e 100644 (file)
@@ -1,8 +1,8 @@
-/* Test C2x attribute syntax.  Test GNU attributes appertain to
+/* Test C23 attribute syntax.  Test GNU attributes appertain to
    appropriate constructs.  Attributes on types not being defined at
    the time.  */
 /* { dg-do compile } */
-/* { dg-options "-std=gnu2x -Wformat" } */
+/* { dg-options "-std=gnu23 -Wformat" } */
 
 typedef void va_type (const char *, ...);
 typedef va_type [[gnu::format (printf, 1, 2)]] printf_like_1;
index e0b9e867d6ec5e97d52afd84ffb3ce45912a201e..82d3d3d44fcec698b3c8eac659ed1bf2b4af8375 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x auto.  Invalid code with GNU extensions.  */
+/* Test C23 auto.  Invalid code with GNU extensions.  */
 /* { dg-do compile } */
-/* { dg-options "-std=gnu2x" } */
+/* { dg-options "-std=gnu23" } */
 
 void
 f ()
index 853a56e9a85503e87f78f1cf16ae0a08b04a593d..9fa25f0dd13173cc9f46dba72fef1789b327a053 100644 (file)
@@ -1,7 +1,7 @@
-/* Test C2x built-in functions: test DFP built-in functions are not
+/* Test C23 built-in functions: test DFP built-in functions are not
    available when no DFP support.  Bug 91985.  */
 /* { dg-do compile { target { ! dfp } } } */
-/* { dg-options "-std=gnu2x" } */
+/* { dg-options "-std=gnu23" } */
 
 int fabsd32 (void);
 int fabsd64 (void);
index e9da5ad7958b3b31747f66ce6bc768375e02976a..6bee02c9d5fc62c47b54070721aa6e4e6c86ce00 100644 (file)
@@ -1,7 +1,7 @@
-/* Test C2x storage class specifiers in compound literals: GNU use of alignof
+/* Test C23 storage class specifiers in compound literals: GNU use of alignof
    on objects (tested separately since alignof parsing handles the type name of
    compound literals).  */
 /* { dg-do compile } */
-/* { dg-options "-std=gnu2x" } */
+/* { dg-options "-std=gnu23" } */
 
 int a = alignof (static int) { 0 };
index 20cb38fd94ed5dc40f5c746961afabb67ca6c1ac..4f36d81eaf715da92c4ebc27a99902fde0f85153 100644 (file)
@@ -1,7 +1,7 @@
-/* Test C2x storage class specifiers in compound literals.  Thread-local
+/* Test C23 storage class specifiers in compound literals.  Thread-local
    cases, compilation tests, GNU __thread used.  */
 /* { dg-do compile } */
-/* { dg-options "-std=gnu2x" } */
+/* { dg-options "-std=gnu23" } */
 /* { dg-require-effective-target tls } */
 
 #include <stddef.h>
index 6078f0807e3c92b52d975ec53c9b4cc5766721d8..834f90e3e7938f270fdf0665bec19e6b74d4abb8 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x constexpr.  Valid code using GNU extensions, compilation tests.  */
+/* Test C23 constexpr.  Valid code using GNU extensions, compilation tests.  */
 /* { dg-do compile } */
-/* { dg-options "-std=gnu2x" } */
+/* { dg-options "-std=gnu23" } */
 
 struct s { struct { int x, y; } x; };
 constexpr struct s v = { { 123, 150 } };
index e7dc9dfde23297ca935bb6421f08eaf0a6f9d5f4..2933041aeddf6f2d1aab7ade2fb432e0ec55a1f9 100644 (file)
@@ -1,7 +1,7 @@
-/* Test C2X support for empty initializers: valid use cases with GNU
+/* Test C23 support for empty initializers: valid use cases with GNU
    extensions.  */
 /* { dg-do run } */
-/* { dg-options "-std=gnu2x" } */
+/* { dg-options "-std=gnu23" } */
 
 extern void exit (int);
 extern void abort (void);
index 69ee4e36b11cd6a2ea367eabd156a0d46cd869a2..f73d018c35a6636cf9d077362ce99aeff338f5cb 100644 (file)
@@ -1,7 +1,7 @@
-/* Test C2X support for empty initializers: invalid use cases with GNU
+/* Test C23 support for empty initializers: invalid use cases with GNU
    extensions.  */
 /* { dg-do compile } */
-/* { dg-options "-std=gnu2x" } */
+/* { dg-options "-std=gnu23" } */
 
 void
 f (int a)
index b72ed7380e99ddde1014ae9daa9f58ba93855028..797e416ff1765d9046a3cc68b9133b71f7025318 100644 (file)
@@ -1,8 +1,8 @@
-/* Test C2x enumerations with fixed underlying type together with GNU
+/* Test C23 enumerations with fixed underlying type together with GNU
    extensions: an enum cannot be forward declared without a fixed underlying
    type and then declared or defined with one.  */
 /* { dg-do compile } */
-/* { dg-options "-std=gnu2x" } */
+/* { dg-options "-std=gnu23" } */
 
 enum e1;
 enum e1 : int; /* { dg-error "'enum' declared both with and without fixed underlying type" } */
index 4ed095cb3cdc596733fae40827c1a68e13ba34e1..2f84f47e95d3de580a38f1d9465316b075f81b01 100644 (file)
@@ -1,6 +1,6 @@
 /* Test C11 static assertions.  Omitting the string diagnosed with
-   -Wc11-c2x-compat.  */
+   -Wc11-c23-compat.  */
 /* { dg-do compile } */
-/* { dg-options "-std=gnu2x -Wc11-c2x-compat" } */
+/* { dg-options "-std=gnu23 -Wc11-c23-compat" } */
 
 _Static_assert (1); /* { dg-warning "does not support omitting the string" } */
index bb64cdeb48a482ff70882005a88f758ee5bfdbf6..0a78b2214987dd79ce5cd0689c42cfb0cfcc3ebe 100644 (file)
@@ -1,7 +1,7 @@
 /* Test variadic functions with no named parameters do not accept GNU
    attributes before '...'.  */
 /* { dg-do compile } */
-/* { dg-options "-std=gnu2x" } */
+/* { dg-options "-std=gnu23" } */
 
 int f (__attribute__(()) ...); /* { dg-error "expected" } */
 int g (int (__attribute__(()) ...)); /* { dg-error "expected" } */
index f14b54f1f7fdb2c3adac8a69aa7f15efa46a188a..399b8e1ab8d93a26d219a655a8da7f22eeafe5a7 100644 (file)
@@ -1,8 +1,8 @@
-/* Test __typeof__ propagation of noreturn function attributes with -std=gnu2x:
+/* Test __typeof__ propagation of noreturn function attributes with -std=gnu23:
    these are part of the type of a function pointer with GNU __typeof__, but
-   not with C2x typeof.  */
+   not with C23 typeof.  */
 /* { dg-do link } */
-/* { dg-options "-std=gnu2x -O2" } */
+/* { dg-options "-std=gnu23 -O2" } */
 
 _Noreturn void f (void);
 
index 9c3add2ae83ec6e53c165b9a267ee51e810c7068..206ff233e99e1cccfde081c3a4d5ddb5a88416ae 100644 (file)
@@ -1,5 +1,5 @@
-/* Test C2x UTF-8 characters.  Test accepted with -std=gnu2x.  */
+/* Test C23 UTF-8 characters.  Test accepted with -std=gnu23.  */
 /* { dg-do compile } */
-/* { dg-options "-std=gnu2x" } */
+/* { dg-options "-std=gnu23" } */
 
 #include "c2x-utf8char-1.c"
index efe16ffc28d50c1bd4f2158f61b24d7e4b68e5e2..7b5ccb02bcd631494c8c6b2f18871cf86e82bffb 100644 (file)
@@ -1,5 +1,5 @@
-/* Test C2X UTF-8 string literal type with -std=gnu2x.  */
+/* Test C23 UTF-8 string literal type with -std=gnu23.  */
 /* { dg-do compile } */
-/* { dg-options "-std=gnu2x" } */
+/* { dg-options "-std=gnu23" } */
 
 #include "c2x-utf8str-type.c"
index f3719ea8c774c62806dba425187c928fddf3256b..4e5282290b13bdcea53e51f1cee6fc68dd8d32ce 100644 (file)
@@ -1,7 +1,7 @@
-/* Test initialization by UTF-8 string literal in C2X with -std=gnu2x.  */
+/* Test initialization by UTF-8 string literal in C23 with -std=gnu23.  */
 /* { dg-do compile } */
 /* { dg-require-effective-target wchar } */
-/* { dg-options "-std=gnu2x" } */
+/* { dg-options "-std=gnu23" } */
 
 typedef __CHAR8_TYPE__  char8_t;
 typedef __CHAR16_TYPE__ char16_t;
index c7a5ae3251123c51f135ac593499eb985810a92c..329b41a678d79f897eee2d03e1faf3991f9cc076 100644 (file)
@@ -1,4 +1,4 @@
 /* { dg-do compile } */
-/* { dg-options "-fopenmp -std=c2x" } */
+/* { dg-options "-fopenmp -std=c23" } */
 
 #include "../../g++.dg/gomp/attrs-1.C"
index a7723b5db5c8abfe996b7bef04bcb4a78c61cf81..54afacf537246f4ba7bfb817585ddc6911f16d4c 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-fopenmp -std=c2x -ffat-lto-objects -fdump-tree-gimple" } */
+/* { dg-options "-fopenmp -std=c23 -ffat-lto-objects -fdump-tree-gimple" } */
 
 extern void abort ();
 
index 335ff3ef3a2d734fa6560a2e9d416cabdb4255fa..9b71f9bf71ec97cf542b1740010a078f0826504d 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-fopenmp -std=c2x -Wno-attributes" } */
+/* { dg-options "-fopenmp -std=c23 -Wno-attributes" } */
 
 void
 foo ()
index 57c8fcf4c6a14b6c47a61fb9f0de62a520e3ab44..ed4c0416d9babf317df15cb9aad8f3942bb829df 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-fopenmp -std=c2x" } */
+/* { dg-options "-fopenmp -std=c23" } */
 
 #pragma omp declare target
 #pragma omp declare target
index ad8d9ae33ba7b9d20e65a239f21a6a2fc16588a5..9c0875e739e529659c0cac6401b9e9aa7a527e58 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-fopenmp -std=c2x" } */
+/* { dg-options "-fopenmp -std=c23" } */
 
 [[omp::directive(error)]];                     /* { dg-error "'pragma omp error' encountered" } */
 [[omp::directive(error, at(compilation))]];    /* { dg-error "'pragma omp error' encountered" } */
index 1e462f2a99f47d16207de006955bb2a4c66f3d8e..26757b3ba375a0d53b89b289639d3f20054ee3c0 100644 (file)
@@ -1,5 +1,5 @@
 /* PR c++/102413 */
 /* { dg-do compile } */
-/* { dg-options "-fopenmp -std=c2x" } */
+/* { dg-options "-fopenmp -std=c23" } */
 
 [[omp::directive(error]];      /* { dg-error "expected|declare" } */
index 2af4b2168641d020d8767a997595d8533c8ef43f..cf5d2163f142325b03f6858c20a43cc37efe33ac 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-fopenmp -std=c2x" } */
+/* { dg-options "-fopenmp -std=c23" } */
 
 #pragma omp begin assumes absent (target)
 #pragma omp begin assumes absent (target)
index 1d8e5bc2d6d20cbc033101c763bc45c04c4a057f..a211e49be12dbf72b093958d88a0f1f8ce589fea 100644 (file)
@@ -1,4 +1,4 @@
 /* { dg-do compile } */
-/* { dg-options "-fopenmp -std=c2x" } */
+/* { dg-options "-fopenmp -std=c23" } */
 
 #include "../../g++.dg/gomp/attrs-16.C"
index 5c9beb4eb9454cae650f86440a48393927ed1a50..57ba449e7280a1480061074b7a9fbecfacec5b54 100644 (file)
@@ -1,4 +1,4 @@
 /* { dg-do compile } */
-/* { dg-options "-fopenmp -std=c2x" } */
+/* { dg-options "-fopenmp -std=c23" } */
 
 #include "../../g++.dg/gomp/attrs-17.C"
index ff88f1d3736fd723f7f7e8bd343a7368d7c48e4a..08b1089a835c2378998293eaac28b12705fc2bf8 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-fopenmp -std=c2x" } */
+/* { dg-options "-fopenmp -std=c23" } */
 
 #pragma omp begin declare target
 #pragma omp begin declare target device_type (any)
index 6ada2e3cbc3cb0e237ffcaf8bbb0a28a85404f7e..ad8156c0539dd2e1eeef9e29e25f09c82b5335cf 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-fopenmp -std=c2x" } */
+/* { dg-options "-fopenmp -std=c23" } */
 
 void foo1 ();
 
index 0677ba334f53b19c07ef95bd57692de5f208b8d9..56eb70a3dc122a40adba14ac57cb78fabab79e5a 100644 (file)
@@ -1,4 +1,4 @@
 /* { dg-do compile } */
-/* { dg-options "-fopenmp -std=c2x" } */
+/* { dg-options "-fopenmp -std=c23" } */
 
 #include "../../g++.dg/gomp/attrs-2.C"
index 91b9e042fa621a638d2f87730a600088cf2cf2cb..06302afe1d92afdea5048e1c8e86b84dd69a7278 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-fopenmp -std=c2x -ffat-lto-objects -fdump-tree-gimple" } */
+/* { dg-options "-fopenmp -std=c23 -ffat-lto-objects -fdump-tree-gimple" } */
 
 extern void abort ();
 
index ca97b76e82bb9de197750d2632debaed7ed6ed1c..551fe6c78503ea990fb0ece71470562abb9f4d62 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-fopenmp -std=c2x" */
+/* { dg-options "-fopenmp -std=c23" */
 
 void
 foo ()
index 5777d8df4260bab40ab280927e6d49b14b025980..a0d65a25a8d3aa62a27112f790107c9d06fab4b0 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-fopenmp -std=c2x" } */
+/* { dg-options "-fopenmp -std=c23" } */
 
 int i;
 int t1, t2, t3, t4, t5, t6, t7;
index 73610dbc4373074493b89aeba2eb2dfa650ac729..710b70a36aec4fbe739536bdc1ccef18e8053a3a 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-fopenmp -std=c2x" } */
+/* { dg-options "-fopenmp -std=c23" } */
 
 void
 foo (int x)
index ef703632432ad135596292e289e8e20bfb07882d..bbf91f6d171d512e1943da8b92e58579be0e2cf8 100644 (file)
@@ -1,4 +1,4 @@
 /* { dg-do compile } */
-/* { dg-options "-fopenmp -std=c2x" } */
+/* { dg-options "-fopenmp -std=c23" } */
 
 #include "../../g++.dg/gomp/attrs-5.C"
index 1f7758597c482721c58a4c37baf251943dce1e8a..17300f86be86591b19299c8b7960c02f2e97727d 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-fopenmp -std=c2x" } */
+/* { dg-options "-fopenmp -std=c23" } */
 
 void
 foo ()
index 36adbb6046a798e663f21f0a7b98fb37446c87d2..4417cbbca20435ba77185cae90fcccc4228da380 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-fopenmp -std=c2x" } */
+/* { dg-options "-fopenmp -std=c23" } */
 
 void
 foo ()
index aba7b53c50e67c046c5c8db318cedaf78127fbaf..3d2f843cf3f4ccd8cb3ff28669c47da3a114d490 100644 (file)
@@ -1,4 +1,4 @@
 /* { dg-do compile } */
-/* { dg-options "-fopenmp -std=c2x" } */
+/* { dg-options "-fopenmp -std=c23" } */
 
 #include "../../g++.dg/gomp/attrs-8.C"
index 013a1c4c96df499761ba44f09fccc2461d5e2250..1d2207e6a7610b8a9763eeaaaf5962eef5ed1227 100644 (file)
@@ -1,4 +1,4 @@
 /* { dg-do compile } */
-/* { dg-options "-fopenmp -std=c2x" } */
+/* { dg-options "-fopenmp -std=c23" } */
 
 #include "../../g++.dg/gomp/attrs-9.C"
index a3c38958ae4819cbe8612f4a85eb5b1d12a29d7d..cda6f84387aeaf1fbcd54dc8a11d315d5a1dc4b1 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2X width macros in <limits.h>.  */
+/* Test C23 width macros in <limits.h>.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x" } */
+/* { dg-options "-std=c23" } */
 
 #include <limits.h>
 
index c7dd6adc4c62988afa0314f1b97178bd95225f64..96ad44ae746f1b69f198600bac363580fa586fef 100644 (file)
@@ -1,8 +1,8 @@
-/* Test qualifiers on function return types in C2X (C2X version of
+/* Test qualifiers on function return types in C23 (C23 version of
    qual-return-6.c): those qualifiers are now ignored for all purposes,
    including _Atomic, but should still get warnings.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -Wignored-qualifiers" } */
+/* { dg-options "-std=c23 -Wignored-qualifiers" } */
 
 const int f1 (void); /* { dg-warning "qualifiers ignored" } */
 volatile int f2 (void) { return 0; } /* { dg-warning "qualifiers ignored" } */
index 7762782edf0a94d4d5793822445f379733f642df..c247e2adb5c962c371c1e29ebd29a6132c0c0cc8 100644 (file)
@@ -1,8 +1,8 @@
-/* Test qualifiers on function return types in C2X (C2X version of
+/* Test qualifiers on function return types in C23 (C23 version of
    qual-return-5.c): those qualifiers are now ignored for all purposes,
    including _Atomic.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 int f1 (void);
 const int f1 (void);
index 50f7b40c608638f5d8cc6513f2daf5a5ad4e4d95..6cf848dc2cfcc3afc05a401b8920a3cda73e0dba 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-std=c2x" } */
+/* { dg-options "-std=c23" } */
 /* PR c/104822 */
 
 #include <stddef.h>
index 1525a35c51e8d85bc7336404d34d2106ac4f1dec..e104e686a4f692e44d39eb4c7101a6b6ed102eb0 100644 (file)
@@ -1,6 +1,6 @@
 /* Test C23 Checked Integer Arithmetic macros in <stdckdint.h>.  */
 /* { dg-do run } */
-/* { dg-options "-std=c2x" } */
+/* { dg-options "-std=c23" } */
 
 #include <stdckdint.h>
 
index f83e3d7123deccd2c4ca4a11bec2419a54a09d54..efb87b53237d48a0ae1caee1646f3ccce8fb9f62 100644 (file)
@@ -1,6 +1,6 @@
 /* Test C23 Checked Integer Arithmetic macros in <stdckdint.h>.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x" } */
+/* { dg-options "-std=c23" } */
 
 #include <stdckdint.h>
 
index 9838cb27612b41708c254e70380903f79831bea7..a48333a3ec571f5ea25329d231669129cf55c5ef 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2X width macros in <stdint.h>.  */
+/* Test C23 width macros in <stdint.h>.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -ffreestanding" } */
+/* { dg-options "-std=c23 -ffreestanding" } */
 /* { dg-additional-options "-DSIGNAL_SUPPRESS" { target { ! signal } } } */
 
 #include <stddef.h>
index a9367473e7e8bb2fd053b1d22f0016693d4b3cc1..b42308fabc2a51e62e5708f83bc4dd8aeeee225b 100644 (file)
@@ -1,4 +1,4 @@
-/* Test various erroneous or ignored uses of C2X attribute syntax.  */
+/* Test various erroneous or ignored uses of C23 attribute syntax.  */
 /* { dg-do compile } */
 /* { dg-options "-fgnu-tm" } */
 
index ab0fc82cfeb08485b586c9a5ac07d190d3861150..347e6751b70ab7583cecc3ff6e042a5424feeb37 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do run { target bitint } } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 /* { dg-skip-if "" { ! run_expensive_tests }  { "*" } { "-O0" "-O2" } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
 
index 3aaf766ace6625724178c72addc542470da9afc8..4a16bdad7ff51342f6d016dea97d8b9c9caab3ab 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do run { target bitint } } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 /* { dg-skip-if "" { ! run_expensive_tests }  { "*" } { "-O0" "-O2" } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
 
index 28af306529e4b7ec1157b750122188e6e739a3a9..e40bb8b3df48a66f8488ad9e7f1cc5ee7debce63 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do run { target { bitint && int32plus } } } */
-/* { dg-options "-std=gnu2x" } */
+/* { dg-options "-std=gnu23" } */
 /* { dg-skip-if "" { ! run_expensive_tests }  { "*" } { "-O0" "-O2" } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
 
index f0180b1705e85a713f25d6c3e382f77f5763ae1d..66daecef800ba3a466a7eb819c34d899b4fa3d36 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do run { target { bitint && int32plus } } } */
-/* { dg-options "-std=gnu2x" } */
+/* { dg-options "-std=gnu23" } */
 /* { dg-skip-if "" { ! run_expensive_tests }  { "*" } { "-O0" "-O2" } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
 
index 889986b45e52f800b7da3ab7dbf494c31212abc0..30bee083baa4fd6b4cef364148462bb55806d969 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do run { target { bitint && int32plus } } } */
-/* { dg-options "-std=gnu2x" } */
+/* { dg-options "-std=gnu23" } */
 /* { dg-skip-if "" { ! run_expensive_tests }  { "*" } { "-O0" "-O2" } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
 
index d041055adad83583a662e25ae79e7e4ca4c2253f..b441e1c6ab9cd44676d4945cb740e2af35eef839 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do run { target bitint } } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 /* { dg-skip-if "" { ! run_expensive_tests }  { "*" } { "-O0" "-O2" } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
 
index a009930186d80442e352b29ca481e0c0c7599125..95f61bc77319cbfe0c40cb79081ec21b4d687247 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do run { target bitint } } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 /* { dg-skip-if "" { ! run_expensive_tests }  { "*" } { "-O0" "-O2" } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
 
index 4cdfd199b72a5ba1a6d54763a278efb17082bc35..7bf45c058d6dbef3e8b06d92fd0ef0c0600097eb 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do run { target bitint } } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 /* { dg-skip-if "" { ! run_expensive_tests }  { "*" } { "-O0" "-O2" } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
 
index 83304dafb2cc9a2590c24f8b78de4e26bf09c071..907f707b484ebdb44793c06d9fae14b30c492e6d 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do run { target bitint } } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 /* { dg-skip-if "" { ! run_expensive_tests }  { "*" } { "-O0" "-O2" } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
 
index 46f9e53f9def268aae32e3b468003541796588bd..40d9841f57a7174737f0ca8aaac22a22dc04b3a7 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do run { target { bitint && int32plus } } } */
-/* { dg-options "-std=gnu2x" } */
+/* { dg-options "-std=gnu23" } */
 /* { dg-skip-if "" { ! run_expensive_tests }  { "*" } { "-O0" "-O2" } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
 
index d69a8a78cb6c7e9c65154d2adfbf88f81276591d..c123a8c066a36cbc141a838f03717418a6fc3fa3 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do run { target { bitint && int32plus } } } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 /* { dg-skip-if "" { ! run_expensive_tests }  { "*" } { "-O0" "-O2" } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
 
index 0167782119af4172f114c52fbf339f848f882e4b..931774565468ab778fb699548c993428c4407282 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do run { target bitint } } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 /* { dg-skip-if "" { ! run_expensive_tests }  { "*" } { "-O0" "-O2" } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
 
index d575b3744ec8166b3af2b5d793d1f4cdb398cf47..f402868796faa531c80e29175d6f77ab7621f224 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do run { target { bitint && int32plus } } } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 /* { dg-skip-if "" { ! run_expensive_tests }  { "*" } { "-O0" "-O2" } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
 
index 3b4847b30588391cd2b25a7918b6b9c7e1cc9609..5f05a0b34d0c79474fe135b2f3d65dfbed4312d7 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do run { target bitint } } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 /* { dg-skip-if "" { ! run_expensive_tests }  { "*" } { "-O0" "-O2" } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
 
index 98d3db07066fd15d175ca0c4998833d36849b7be..dc8833acafcae2a6dac3daccae99b13c800a7588 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do run { target bitint } } */
-/* { dg-options "-std=c2x" } */
+/* { dg-options "-std=c23" } */
 /* { dg-skip-if "" { ! run_expensive_tests }  { "*" } { "-O0" "-O2" } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
 
index 855dcc62e60fdeea0f732da2369b6165e845fc10..4edd1229692d357c093dafcc4ed9b648b601d405 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do run { target bitint } } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 /* { dg-skip-if "" { ! run_expensive_tests }  { "*" } { "-O0" "-O2" } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
 
index 0671a96f19690073483148effca0df52ea075293..d6edd0d0e7e4fd82db14f09a9b1c9bd836fa9353 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do run { target bitint } } */
-/* { dg-options "-std=c2x" } */
+/* { dg-options "-std=c23" } */
 /* { dg-skip-if "" { ! run_expensive_tests }  { "*" } { "-O0" "-O2" } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
 
index 0a4e47e2167b4d93bd2375b315a32684143390b8..c3cb26bb09dca38b096f6087d4a9a6693c8886b0 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do run { target { bitint && float16_runtime } } } */
-/* { dg-options "-std=gnu2x" } */
+/* { dg-options "-std=gnu23" } */
 /* { dg-skip-if "" { ! run_expensive_tests }  { "*" } { "-O0" "-O2" } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
 /* { dg-add-options float16 } */
index 8181672d8a866d9247c6621bc01690689c51a42f..a4268dbfcf017cc528906a4aea0ad8ab066b858f 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do run { target bitint } } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 /* { dg-skip-if "" { ! run_expensive_tests }  { "*" } { "-O0" "-O2" } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
 
index 3b0e57696dd30679a589be92eb99bceb6c32e6fe..98dd2f4c7735a4120e350a5e0990a7f745e77721 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do run { target bitint } } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 /* { dg-skip-if "" { ! run_expensive_tests }  { "*" } { "-O0" "-O2" } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
 
index 1308f93972d0c1148819687b00ab4484c2ff34b0..66282ef71587ba7543e7c6d3c8ccfec2ac55c96e 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do run { target bitint } } */
-/* { dg-options "-std=gnu2x" } */
+/* { dg-options "-std=gnu23" } */
 /* { dg-skip-if "" { ! run_expensive_tests }  { "*" } { "-O0" "-O2" } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
 
index 0e1532c72caf60068c397e746b06988d7389ae60..dd65dcf3c8ee73f0170a1a1ae408ff927e9af723 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do run { target bitint } } */
-/* { dg-options "-std=gnu2x" } */
+/* { dg-options "-std=gnu23" } */
 /* { dg-skip-if "" { ! run_expensive_tests }  { "*" } { "-O0" "-O2" } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
 
index cf6c49f9eee55a580e37fcba4d175b2a9b43dea6..5af3036c995eda2ae5186d4512898ebf4e94f7f4 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do run { target bitint } } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 /* { dg-skip-if "" { ! run_expensive_tests }  { "*" } { "-O0" "-O2" } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
 
index f748201275569730f0555d97db56f6b3be32035b..f8a421d04ffe854ebe19c936c6c110317176fdf6 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do run { target bitint } } */
-/* { dg-options "-std=gnu2x" } */
+/* { dg-options "-std=gnu23" } */
 /* { dg-skip-if "" { ! run_expensive_tests }  { "*" } { "-O0" "-O2" } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
 
index 41c81f6bd580d7cc45bddb4ff0e1d83da04700d5..d55777705e97d1d7dafb2bf525af2d3b3d85d5a8 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do run { target bitint } } */
-/* { dg-options "-std=gnu2x" } */
+/* { dg-options "-std=gnu23" } */
 /* { dg-skip-if "" { ! run_expensive_tests }  { "*" } { "-O0" "-O2" } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
 
index 5c57ede02f57c6a1a8a9b456bb320bae0e7faa5f..43ae334b141297e39a65ad641bdae3423abf2618 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do run { target bitint } } */
-/* { dg-options "-std=gnu2x" } */
+/* { dg-options "-std=gnu23" } */
 /* { dg-skip-if "" { ! run_expensive_tests }  { "*" } { "-O0" "-O2" } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
 
index b10582bf9ad4cccd8bd226c9275f1726e629979c..cb4492dcfb5b16434f280a84ac79a9a2518edc38 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do run { target bitint } } */
-/* { dg-options "-std=gnu2x" } */
+/* { dg-options "-std=gnu23" } */
 /* { dg-skip-if "" { ! run_expensive_tests }  { "*" } { "-O0" "-O2" } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
 
index 03588d3f8755417e6bd1a69a4adbbfbaeb6fe61f..5728698621699fd91fd047bfb3e8c2b5d722f9f3 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do run { target bitint } } */
-/* { dg-options "-std=gnu2x" } */
+/* { dg-options "-std=gnu23" } */
 /* { dg-skip-if "" { ! run_expensive_tests }  { "*" } { "-O0" "-O2" } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
 
index 32ff2337689d65871faff58fe576d3cb98a17eff..a65e1998e74822be0d6143e64147580c6523f805 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do run { target bitint } } */
-/* { dg-options "-std=gnu2x" } */
+/* { dg-options "-std=gnu23" } */
 /* { dg-skip-if "" { ! run_expensive_tests }  { "*" } { "-O0" "-O2" } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
 
index 1290c5d3a627df97caf3c11e679a134a5d6c2377..d6eecc10bf8419bd0743386209f29b5d035ea41a 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do run { target bitint } } */
-/* { dg-options "-std=gnu2x" } */
+/* { dg-options "-std=gnu23" } */
 /* { dg-skip-if "" { ! run_expensive_tests }  { "*" } { "-O0" "-O2" } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
 
index e0d43bc72f032a758570cb88577e86da3a99ef03..32cb9a2bdc983185260418c419dd5bd772ae288c 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do run { target bitint } } */
-/* { dg-options "-std=gnu2x" } */
+/* { dg-options "-std=gnu23" } */
 /* { dg-skip-if "" { ! run_expensive_tests }  { "*" } { "-O0" "-O2" } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
 
index 1c1f073dbf93372ef774a0b95f87c82c04f888ee..df3cad1daafb1b0fb1359d5b95c341ce2ab70ed1 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do run { target bitint } } */
-/* { dg-options "-std=gnu2x" } */
+/* { dg-options "-std=gnu23" } */
 /* { dg-skip-if "" { ! run_expensive_tests }  { "*" } { "-O0" "-O2" } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
 
index 4d6956b23e895463d0c7aee7078b070f861dff0d..c6d59cb180734ff69b8494d4e94af2f0e8c76d1d 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do run { target bitint } } */
-/* { dg-options "-std=gnu2x" } */
+/* { dg-options "-std=gnu23" } */
 /* { dg-skip-if "" { ! run_expensive_tests }  { "*" } { "-O0" "-O2" } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
 
index d53fb010c866ee5297471e330b7b6c4567a0dc98..5f2274ef09eac27dacd37faa77b81f0dc810d074 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do run { target bitint } } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 /* { dg-skip-if "" { ! run_expensive_tests }  { "*" } { "-O0" "-O2" } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
 
index 3f20e3730e5c079273fb5e8c9ca30b367fa3f515..bb53637abb93613bb8620c5a347488ff2726fcce 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do run { target bitint } } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 /* { dg-skip-if "" { ! run_expensive_tests }  { "*" } { "-O0" "-O2" } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
 
index c74cff4e522f7be6d83371618a6d41b68634e622..0928c26cfd71052ceb0848cfc3e6dbeb3aba19ce 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do run { target bitint } } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 /* { dg-skip-if "" { ! run_expensive_tests }  { "*" } { "-O0" "-O2" } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
 
index 10cd95bcac519e85b95efe586658363f6a2cc6f0..86c521033245189dc2d4b8570ad9cccd6aad8225 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do run { target bitint } } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 /* { dg-skip-if "" { ! run_expensive_tests }  { "*" } { "-O0" "-O2" } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
 
index 74e5428cdfb1a8e918dd07b17dc81447209865a8..2e1b0797ca6178b4b56ca752175ee799459ade35 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do run { target bitint } } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 /* { dg-skip-if "" { ! run_expensive_tests }  { "*" } { "-O0" "-O2" } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
 
index d87d1d20eae36b7a1884b3b4343a498c665eab74..348ae37aad5ce74784feed282b4c7f48258fe35c 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do run { target bitint } } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 /* { dg-skip-if "" { ! run_expensive_tests }  { "*" } { "-O0" "-O2" } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
 
index 3f4b2602b3edb51c4d92beca1c17423d810a8275..a60d9ed50c6d12c49c01127cc64cbbc524e3c1a0 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do run { target bitint } } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 /* { dg-skip-if "" { ! run_expensive_tests }  { "*" } { "-O0" "-O2" } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
 
index fc5be081c6619aa6c1284c5ab29f81a9c53e2bcb..01fbdad085fb4e87b58b8fd1fcaf90f8c6557a55 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do run { target bitint } } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 /* { dg-skip-if "" { ! run_expensive_tests }  { "*" } { "-O0" "-O2" } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
 
index 0e2bdd46582abaf3186f6ea9341f781f1193b25e..2c4651d9abc5a71febfaeb5b4a92641dd813e0bb 100644 (file)
@@ -1,6 +1,6 @@
 /* PR c/102989 */
 /* { dg-do run { target bitint } } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 /* { dg-skip-if "" { ! run_expensive_tests }  { "*" } { "-O0" "-O2" } } */
 /* { dg-skip-if "" { ! run_expensive_tests } { "-flto" } { "" } } */
 
index 739a78cb6fbee1c9e5d7ff3b83f14345056d59cd..431ee0b994cc0ed3be131cc9b7fed798661bd289 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2X enables -fno-fp-int-builtin-inexact.  */
+/* Test C23 enables -fno-fp-int-builtin-inexact.  */
 /* { dg-do run } */
-/* { dg-options "-std=c2x" } */
+/* { dg-options "-std=c23" } */
 /* { dg-require-effective-target fenv_exceptions } */
 
 #include "builtin-fp-int-inexact.c"
index f527b823287e4b2bde34126ec224311b6b1e39fd..d67f147dd2bd66cd1be16bf3e790fc78a57d4c84 100644 (file)
@@ -1,8 +1,8 @@
-/* Test C2x variadic functions with no named parameters, or last named
+/* Test C23 variadic functions with no named parameters, or last named
    parameter with a declaration not allowed in C17.  Execution tests split
    between source files.  */
 /* { dg-do run } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 /* { dg-additional-sources "c2x-stdarg-split-1b.c" } */
 
 extern void abort (void);
index 55a01b20beb8d56dc65b3be7a03a5e6974973b72..064da121ec242ff2af1e6c93a73b103a8ddd853d 100644 (file)
@@ -1,8 +1,8 @@
-/* Test C2x variadic functions with no named parameters, or last named
+/* Test C23 variadic functions with no named parameters, or last named
    parameter with a declaration not allowed in C17.  Execution tests split
    between source files.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors" } */
+/* { dg-options "-std=c23 -pedantic-errors" } */
 
 #include <stdarg.h>
 
index 69fd45a6375e9cf5003925a4194b1195493e0581..6601434e1cdfe87d0b688e5981d06fd1b17f53a3 100644 (file)
@@ -1,6 +1,6 @@
 /* Test _Float128 NaNs in <float.h>.  */
 /* { dg-do run } */
-/* { dg-options "-std=c2x -fsignaling-nans" } */
+/* { dg-options "-std=c23 -fsignaling-nans" } */
 /* { dg-add-options float128 } */
 /* { dg-add-options ieee } */
 /* { dg-require-effective-target float128_runtime } */
index 5be4c07787d0a50f6d257da53b9baeac9c725abb..546030936193757b007280186174d5e73d56f0e4 100644 (file)
@@ -1,6 +1,6 @@
 /* Test _Float128x NaNs in <float.h>.  */
 /* { dg-do run } */
-/* { dg-options "-std=c2x -fsignaling-nans" } */
+/* { dg-options "-std=c23 -fsignaling-nans" } */
 /* { dg-add-options float128x } */
 /* { dg-add-options ieee } */
 /* { dg-require-effective-target float128x_runtime } */
index cf03b45a34b424d46d82e724aa78aee0cc3d6489..1db221cd4e833186b1a5ebe402b6e799cb43ded4 100644 (file)
@@ -1,6 +1,6 @@
 /* Test _Float16 NaNs in <float.h>.  */
 /* { dg-do run } */
-/* { dg-options "-std=c2x -fsignaling-nans" } */
+/* { dg-options "-std=c23 -fsignaling-nans" } */
 /* { dg-add-options float16 } */
 /* { dg-add-options ieee } */
 /* { dg-require-effective-target float16_runtime } */
index 2976a40aec4027a003f72fe872f61e2efab63ad6..b0235c84d7c22ddc317b6478030ac95f348c9667 100644 (file)
@@ -1,6 +1,6 @@
 /* Test _Float32 NaNs in <float.h>.  */
 /* { dg-do run } */
-/* { dg-options "-std=c2x -fsignaling-nans" } */
+/* { dg-options "-std=c23 -fsignaling-nans" } */
 /* { dg-add-options float32 } */
 /* { dg-add-options ieee } */
 /* { dg-require-effective-target float32_runtime } */
index 8d58b41e0697315fac33bb34aaeedd6ffb6952c0..bc8b7ecfe1e7c0bdadf9e62315a000e8a0be4dcc 100644 (file)
@@ -1,6 +1,6 @@
 /* Test _Float32x NaNs in <float.h>.  */
 /* { dg-do run } */
-/* { dg-options "-std=c2x -fsignaling-nans" } */
+/* { dg-options "-std=c23 -fsignaling-nans" } */
 /* { dg-add-options float32x } */
 /* { dg-add-options ieee } */
 /* { dg-require-effective-target float32x_runtime } */
index 444f234737bfb414f37fc01efb293cfea2df7fd8..ea7cd6096e3f340c9da8e343c574d9ad93a5315e 100644 (file)
@@ -1,6 +1,6 @@
 /* Test _Float64 NaNs in <float.h>.  */
 /* { dg-do run } */
-/* { dg-options "-std=c2x -fsignaling-nans" } */
+/* { dg-options "-std=c23 -fsignaling-nans" } */
 /* { dg-add-options float64 } */
 /* { dg-add-options ieee } */
 /* { dg-require-effective-target float64_runtime } */
index fbc86766d8e741d8d271e14cb0e464f438b57b5b..f82b7016132ba78386edca8c7f944aeeca875c7f 100644 (file)
@@ -1,6 +1,6 @@
 /* Test _Float64x NaNs in <float.h>.  */
 /* { dg-do run } */
-/* { dg-options "-std=c2x -fsignaling-nans" } */
+/* { dg-options "-std=c23 -fsignaling-nans" } */
 /* { dg-add-options float64x } */
 /* { dg-add-options ieee } */
 /* { dg-require-effective-target float64x_runtime } */
index b83ecaec6e913f9ecf9365c9345a0078195bfa77..22e1cde7e46053c096cc5aa138308255d4890eb8 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x constexpr.  Valid code, compilation tests, excess precision.  */
+/* Test C23 constexpr.  Valid code, compilation tests, excess precision.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors -mfpmath=387 -fexcess-precision=standard" } */
+/* { dg-options "-std=c23 -pedantic-errors -mfpmath=387 -fexcess-precision=standard" } */
 
 constexpr long double ld = 1.0 / 3.0;
 constexpr long double ld2 = 1.1;
index b44f0b5bf76763fff23c50b2e8e0cb7de97e8afe..d73a208fc642ba1dbd7d5c05199479f60fe0a282 100644 (file)
@@ -1,6 +1,6 @@
-/* Test C2x constexpr.  Invalid code, compilation tests, excess precision.  */
+/* Test C23 constexpr.  Invalid code, compilation tests, excess precision.  */
 /* { dg-do compile } */
-/* { dg-options "-std=c2x -pedantic-errors -mfpmath=387 -fexcess-precision=standard" } */
+/* { dg-options "-std=c23 -pedantic-errors -mfpmath=387 -fexcess-precision=standard" } */
 
 constexpr double d = 1.0 / 3.0; /* { dg-error "'constexpr' initializer not representable in type of object" } */
 constexpr double d2 = 1.1; /* { dg-error "'constexpr' initializer not representable in type of object" } */
index 8f6cdf16661cfd0f87bd7b8631688f09efd64345..1a7bea96c1e4ccb8ef30ac7012c04e8d44c5ad01 100644 (file)
@@ -3849,7 +3849,7 @@ proc check_effective_target_bitint { } {
     return [check_no_compiler_messages bitint object {
        _BitInt (2) a = 1wb;
        unsigned _BitInt (__BITINT_MAXWIDTH__) b = 0uwb;
-    } "-std=c2x"]
+    } "-std=c23"]
 }
 
 # Return 1 if the target supports _BitInt(128), 0 otherwise.
@@ -3858,7 +3858,7 @@ proc check_effective_target_bitint128 { } {
     return [check_no_compiler_messages bitint128 object {
        _BitInt (2) a = 1wb;
        unsigned _BitInt (128) b = 0uwb;
-    } "-std=c2x"]
+    } "-std=c23"]
 }
 
 # Return 1 if the target supports _BitInt(575), 0 otherwise.
@@ -3867,7 +3867,7 @@ proc check_effective_target_bitint575 { } {
     return [check_no_compiler_messages bitint575 object {
        _BitInt (2) a = 1wb;
        unsigned _BitInt (575) b = 0uwb;
-    } "-std=c2x"]
+    } "-std=c23"]
 }
 
 # Return 1 if the target supports compiling decimal floating point,
index 7c727343075e1d24497a9e75fb90f74bf3a662ac..dedd53cdb059dbd788048305cf3563a38f2be43b 100644 (file)
@@ -1,5 +1,5 @@
-/* Test C2x attribute syntax.  Test empty attributes accepted.  */
+/* Test C23 attribute syntax.  Test empty attributes accepted.  */
 /* { dg-do compile } */
-/* { dg-options "-std=gnu2x" } */
+/* { dg-options "-std=gnu23" } */
 
 #include "../../gcc.dg/c2x-attr-syntax-1.c"