aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2021-09-20 10:11:59 +0200
committerDavid Monniaux <david.monniaux@univ-grenoble-alpes.fr>2021-09-20 10:11:59 +0200
commit2b990365318a58b18d6def2aa590dd8a91e53e10 (patch)
tree0b29c3c064f34672c3c75a0bc36b157e91837d78 /test
parentbc424c983d58b7da5a39e735cb76db1b89821c46 (diff)
parent4a17125ee3f6766710e6e6e47d551cf0cf29cb47 (diff)
downloadcompcert-kvx-2b990365318a58b18d6def2aa590dd8a91e53e10.tar.gz
compcert-kvx-2b990365318a58b18d6def2aa590dd8a91e53e10.zip
Merge branch 'csmith' of gricad-gitlab.univ-grenoble-alpes.fr:sixcy/CompCert into csmith
Diffstat (limited to 'test')
-rw-r--r--test/gourdinl/builtin_memcpy.c9
-rw-r--r--test/monniaux/csmith/Makefile4
2 files changed, 11 insertions, 2 deletions
diff --git a/test/gourdinl/builtin_memcpy.c b/test/gourdinl/builtin_memcpy.c
new file mode 100644
index 00000000..421f543c
--- /dev/null
+++ b/test/gourdinl/builtin_memcpy.c
@@ -0,0 +1,9 @@
+struct a b;
+struct a {
+ short;
+ int;
+ short;
+} c() {
+ struct a d[2][16];
+ b = d[1][7];
+}
diff --git a/test/monniaux/csmith/Makefile b/test/monniaux/csmith/Makefile
index f4b0d68a..ab7931f1 100644
--- a/test/monniaux/csmith/Makefile
+++ b/test/monniaux/csmith/Makefile
@@ -6,7 +6,7 @@ INCLUDES=-I csmith/include/csmith-2.3.0/
TARGET_CCOMP=../../../ccomp
ifndef TARGET_CC
-TARGET_CC=kvx-cos-gcc
+TARGET_CC=gcc
endif
ifndef EXECUTE
@@ -20,7 +20,7 @@ CSMITH=csmith/bin/csmith
endif
CSMITHOPT=--max-funcs 10
-MAX=10000
+MAX=5000
PREFIX=ran%06.f
CCOMPOTS=-static