# HG changeset patch # User Paul Eggert # Date 1466686262 -7200 # Node ID afc3bdad96d6c6b3eb8d6d2bb1cb91550a965d78 # Parent d14bf570a5bf6773f4793aed035ee0fc345056af 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. diff -r d14bf570a5bf -r afc3bdad96d6 ChangeLog --- a/ChangeLog Mon Jun 20 08:16:31 2016 -0700 +++ b/ChangeLog Thu Jun 23 14:51:02 2016 +0200 @@ -1,3 +1,9 @@ +2016-06-23 Paul Eggert + + 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 xalloc-oversized: port to GCC 7; fewer warnings diff -r d14bf570a5bf -r afc3bdad96d6 tests/test-intprops.c --- a/tests/test-intprops.c Mon Jun 20 08:16:31 2016 -0700 +++ b/tests/test-intprops.c Thu Jun 23 14:51:02 2016 +0200 @@ -22,12 +22,9 @@ # 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