* gcc.c-torture/execute/builtins/20010124-1.x: New.
authorNathan Sidwell <nathan@acm.org>
Tue, 25 Aug 2015 20:06:13 +0000 (20:06 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 25 Aug 2015 20:06:13 +0000 (20:06 +0000)
From-SVN: r227186

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/builtins/20010124-1.x [new file with mode: 0644]

index 214a87a88e14b5bc7bd9bad5387e4ab634d69594..9b0f9c03f6b031822f37d879314d64a7f706fa27 100644 (file)
@@ -1,5 +1,7 @@
 2015-08-25  Nathan Sidwell  <nathan@acm.org>
 
+       * gcc.c-torture/execute/builtins/20010124-1.x: New.
+
        * gcc.dg/20001117-1.c: Needs return_address.
        * gcc.dg/20020415-1.c: Needs alloca.
        * gcc.dg/graphite/id-pr44676.c: Needs profiling.
diff --git a/gcc/testsuite/gcc.c-torture/execute/builtins/20010124-1.x b/gcc/testsuite/gcc.c-torture/execute/builtins/20010124-1.x
new file mode 100644 (file)
index 0000000..c38970d
--- /dev/null
@@ -0,0 +1,10 @@
+load_lib target-supports.exp
+
+if [istarget "nvptx-*-*"] {
+    # This test uses memcpy for block move in the same file as it
+    # defines it.  The two decls are not the same, by design, and we
+    # end up emitting a definition of memcpy, along with a .extern
+    # declaration. This confuses the ptx assembler.
+    return 1
+}
+return 0