]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libiberty/regex.c
Fix typo in recent code to add stack recursion limit to the Rust demangler.
[thirdparty/gcc.git] / libiberty / regex.c
index b3dd5b0d40d7fc178f03fd1f8025fa85974a254e..84af5276ae817bea902d1009df025daa49d32a1e 100644 (file)
@@ -3,7 +3,7 @@
    (Implements POSIX draft P1003.2/D11.2, except for some of the
    internationalization features.)
 
-   Copyright (C) 1993-2018 Free Software Foundation, Inc.
+   Copyright (C) 1993-2022 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
   #pragma alloca
 #endif
 
+#if __GNUC__ >= 12
+#  pragma GCC diagnostic ignored "-Wuse-after-free"
+#endif
+
 #undef _GNU_SOURCE
 #define _GNU_SOURCE