]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Reorder start_lifetime_as macro in version.def
authorJonathan Wakely <jwakely@redhat.com>
Fri, 19 Sep 2025 09:14:39 +0000 (10:14 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 19 Sep 2025 09:22:24 +0000 (10:22 +0100)
libstdc++-v3/ChangeLog:

* include/bits/version.def (start_lifetime_as): Move adjacent to
other C++23 macros.
* include/bits/version.h: Regenerate.

libstdc++-v3/include/bits/version.def
libstdc++-v3/include/bits/version.h

index 77a24badb37a029b9798ab850fbb5f78bb89bf9a..65cd6ab80b8b6aaf5dff099bf421bf40b2f2fdc8 100644 (file)
@@ -1860,6 +1860,14 @@ ftms = {
   };
 };
 
+ftms = {
+  name = start_lifetime_as;
+  values = {
+    v =  202207;
+    cxxmin = 23;
+  };
+};
+
 ftms = {
   name = string_contains;
   values = {
@@ -2117,14 +2125,6 @@ ftms = {
   };
 };
 
-ftms = {
-  name = start_lifetime_as;
-  values = {
-    v =  202207;
-    cxxmin = 23;
-  };
-};
-
 // Standard test specifications.
 stds[97] = ">= 199711L";
 stds[03] = ">= 199711L";
index 2d03702c3c89e085dd9ae2fd55a71cfe4efb4829..af50ce4b362f1b096f9ec09d36e864b186b36b66 100644 (file)
 #endif /* !defined(__cpp_lib_stacktrace) && defined(__glibcxx_want_stacktrace) */
 #undef __glibcxx_want_stacktrace
 
+#if !defined(__cpp_lib_start_lifetime_as)
+# if (__cplusplus >= 202100L)
+#  define __glibcxx_start_lifetime_as 202207L
+#  if defined(__glibcxx_want_all) || defined(__glibcxx_want_start_lifetime_as)
+#   define __cpp_lib_start_lifetime_as 202207L
+#  endif
+# endif
+#endif /* !defined(__cpp_lib_start_lifetime_as) && defined(__glibcxx_want_start_lifetime_as) */
+#undef __glibcxx_want_start_lifetime_as
+
 #if !defined(__cpp_lib_string_contains)
 # if (__cplusplus >= 202100L) && _GLIBCXX_HOSTED
 #  define __glibcxx_string_contains 202011L
 #endif /* !defined(__cpp_lib_constexpr_exceptions) && defined(__glibcxx_want_constexpr_exceptions) */
 #undef __glibcxx_want_constexpr_exceptions
 
-#if !defined(__cpp_lib_start_lifetime_as)
-# if (__cplusplus >= 202100L)
-#  define __glibcxx_start_lifetime_as 202207L
-#  if defined(__glibcxx_want_all) || defined(__glibcxx_want_start_lifetime_as)
-#   define __cpp_lib_start_lifetime_as 202207L
-#  endif
-# endif
-#endif /* !defined(__cpp_lib_start_lifetime_as) && defined(__glibcxx_want_start_lifetime_as) */
-#undef __glibcxx_want_start_lifetime_as
-
 #undef __glibcxx_want_all