]> Savannah Git Hosting - gnulib.git/commitdiff
intprops test: Strengthen on clang.
authorBruno Haible <bruno@clisp.org>
Sun, 16 Aug 2020 17:14:43 +0000 (19:14 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 16 Aug 2020 17:14:43 +0000 (19:14 +0200)
* tests/test-intprops.c (VERIFY): Use verify_stmt.

ChangeLog
tests/test-intprops.c

index 8b678907b157b81b64d01dd3ee11cf30d5985b6c..0810c1106ce676d760950112de940ae3bfac67d7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2020-08-16  Bruno Haible  <bruno@clisp.org>
+
+       intprops test: Strengthen on clang.
+       * tests/test-intprops.c (VERIFY): Use verify_stmt.
+
 2020-08-16  Bruno Haible  <bruno@clisp.org>
 
        nstrftime: Guide inlining also on clang.
index a56b18e8c7ac3c6191dc29b40e63b8eb1acf0e8b..51477fd7c212049ce0b30eb1986d43bf46b05ae3 100644 (file)
@@ -48,7 +48,7 @@
    These tests should be checkable via 'verify' rather than 'ASSERT', but
    using 'verify' would run into a bug with HP-UX 11.23 cc; see
    <https://lists.gnu.org/r/bug-gnulib/2011-05/msg00401.html>.  */
-#if __GNUC__ || __SUNPRO_C
+#if __GNUC__ || __clang__ || __SUNPRO_C
 # define VERIFY(x) verify_stmt (x)
 #else
 # define VERIFY(x) ASSERT (x)