]> Savannah Git Hosting - gnulib.git/commitdiff
intprops-test: port to GCC 6
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 23 Jun 2016 12:51:02 +0000 (14:51 +0200)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 23 Jun 2016 12:51:37 +0000 (14:51 +0200)
* tests/test-intprops.c: Ignore -Woverflow if any GCC version,
since the bug is not fixed in GCC 6.1.

ChangeLog
tests/test-intprops.c

index 8a83350ba7896f36d062589f8bcef5609e12b9eb..01805a6e2589759cf15fde3349756a1f2c2fb658 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2016-06-23  Paul Eggert  <eggert@cs.ucla.edu>
+
+       intprops-test: port to GCC 6
+       * tests/test-intprops.c: Ignore -Woverflow if any GCC version,
+       since the bug is not fixed in GCC 6.1.
+
 2016-06-13  Paul Eggert  <eggert@cs.ucla.edu>
 
        xalloc-oversized: port to GCC 7; fewer warnings
index 51fe09638ed3d71a14976c780a3e9996ecc56096..0a8ddcd7482aefc783f3cfff89e763b3930bba0f 100644 (file)
 # pragma GCC diagnostic ignored "-Woverlength-strings"
 # pragma GCC diagnostic ignored "-Wtype-limits"
 
-/* Work around a bug in GCC 5.3.1 and earlier; see:
-   https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68971
-   Hope it will be fixed by the time GCC 6 comes out.  */
-# if __GNUC__ < 6
-#  pragma GCC diagnostic ignored "-Woverflow"
-# endif
+/* Work around a bug in GCC 6.1 and earlier; see:
+   https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68971  */
+# pragma GCC diagnostic ignored "-Woverflow"
 
 #endif