Mercurial > gnulib
changeset 18336:afc3bdad96d6
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.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Thu, 23 Jun 2016 14:51:02 +0200 |
parents | d14bf570a5bf |
children | 19bad4ce2272 |
files | ChangeLog tests/test-intprops.c |
diffstat | 2 files changed, 9 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- 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 <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
--- 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