From 2f40eaca146906d75e95630f7bb3e5a27c3a5613 Mon Sep 17 00:00:00 2001 From: Nathan Sidwell Date: Tue, 25 Aug 2015 20:06:13 +0000 Subject: [PATCH] * gcc.c-torture/execute/builtins/20010124-1.x: New. From-SVN: r227186 --- gcc/testsuite/ChangeLog | 2 ++ .../gcc.c-torture/execute/builtins/20010124-1.x | 10 ++++++++++ 2 files changed, 12 insertions(+) create mode 100644 gcc/testsuite/gcc.c-torture/execute/builtins/20010124-1.x diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 214a87a88e1..9b0f9c03f6b 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,7 @@ 2015-08-25 Nathan Sidwell + * 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 index 00000000000..c38970d40c0 --- /dev/null +++ b/gcc/testsuite/gcc.c-torture/execute/builtins/20010124-1.x @@ -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 -- 2.30.2