I've committed this to fix gcc.dg/atomic-generic.c. It was calling memcmp
without a declaration in scope, and passing a plain int as the 3rd argument
instead of directly using sizeof or casting to size_t. This blew up PTX with a
type mismatch.
nathan
2015-11-21 Nathan Sidwell <nat...@acm.org>
* gcc.dg/atomic-generic.c: Include <string.h>.
Index: testsuite/gcc.dg/atomic-generic.c
===================================================================
--- testsuite/gcc.dg/atomic-generic.c (revision 230704)
+++ testsuite/gcc.dg/atomic-generic.c (working copy)
@@ -10,6 +10,7 @@
#include <stdlib.h>
#include <stdbool.h>
+#include <string.h>
extern void abort();