]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - string/tester.c
Update copyright dates with scripts/update-copyrights.
[thirdparty/glibc.git] / string / tester.c
index 64dc0560841d4f449a431e6271503a423173303c..7c36591d8d362bc0819b984340c72a7a5e3b4921 100644 (file)
@@ -1,5 +1,5 @@
 /* Tester for string functions.
-   Copyright (C) 1995-2015 Free Software Foundation, Inc.
+   Copyright (C) 1995-2016 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
@@ -1305,10 +1305,10 @@ test_memset (void)
   equal(one, "axxxefgh", 2);           /* Basic test. */
 
   DIAG_PUSH_NEEDS_COMMENT;
-#if __GNUC_PREREQ (4, 9)
-  /* GCC 4.9 warns about a zero-length memset because the arguments to memset
+#if __GNUC_PREREQ (5, 0)
+  /* GCC 5.0 warns about a zero-length memset because the arguments to memset
      may be in the wrong order.  But we really want to test this.  */
-  DIAG_IGNORE_NEEDS_COMMENT (4.9, "-Wmemset-transposed-args")
+  DIAG_IGNORE_NEEDS_COMMENT (5.0, "-Wmemset-transposed-args")
 #endif
   (void) memset(one+2, 'y', 0);
   equal(one, "axxxefgh", 3);           /* Zero-length set. */