* tests/test-fprintf-posix2.c: Skip the test when -fcheck-pointer-bounds
is in use.
* tests/test-printf-posix2.c: Likewise.
+2019-03-10 Bruno Haible <bruno@clisp.org>
+
+ tests: Avoid havoc with "gcc -fcheck-pointer-bounds".
+ * tests/test-fprintf-posix2.c: Skip the test when -fcheck-pointer-bounds
+ is in use.
+ * tests/test-printf-posix2.c: Likewise.
+
2019-03-10 Bruno Haible <bruno@clisp.org>
uninorm tests: Free allocated memory.
#include <stdio.h>
-#if HAVE_GETRLIMIT && HAVE_SETRLIMIT
+/* This test assumes getrlimit() and setrlimit().
+ With "gcc -fcheck-pointer-bounds -mmpx -static", it produces an
+ endless loop of "Saw a #BR!" messages. */
+#if HAVE_GETRLIMIT && HAVE_SETRLIMIT && !defined __CHKP__
#include <stdlib.h>
#include <sys/types.h>
#include <stdio.h>
-#if HAVE_GETRLIMIT && HAVE_SETRLIMIT
+/* This test assumes getrlimit() and setrlimit().
+ With "gcc -fcheck-pointer-bounds -mmpx -static", it produces an
+ endless loop of "Saw a #BR!" messages. */
+#if HAVE_GETRLIMIT && HAVE_SETRLIMIT && !defined __CHKP__
#include <stdlib.h>
#include <sys/types.h>