aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitar Dimitrov <dimitar@dinux.eu>2024-12-16 17:27:53 +0200
committerDimitar Dimitrov <dimitar@dinux.eu>2024-12-16 17:36:02 +0200
commit450ad5d43f134e656eee92cbae5749cb41e15e6f (patch)
tree245c1c24d9e607ad920f987f59ebbb0db2447980
parent65c09538420ed820a24aac982a0299226b879d91 (diff)
downloadgcc-450ad5d43f134e656eee92cbae5749cb41e15e6f.zip
gcc-450ad5d43f134e656eee92cbae5749cb41e15e6f.tar.gz
gcc-450ad5d43f134e656eee92cbae5749cb41e15e6f.tar.bz2
testsuite: Require int32plus target for gcc.dg/pr117816.c
Memmove destination overflows if size of int is less than 3, resulting in spurious test failures. Fix by adding a requirement for effective target int32plus. gcc/testsuite/ChangeLog: * gcc.dg/pr117816.c: Require effective target int32plus. Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
-rw-r--r--gcc/testsuite/gcc.dg/pr117816.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/pr117816.c b/gcc/testsuite/gcc.dg/pr117816.c
index 6a9fc5f..bd37a5bb 100644
--- a/gcc/testsuite/gcc.dg/pr117816.c
+++ b/gcc/testsuite/gcc.dg/pr117816.c
@@ -1,4 +1,4 @@
-/* { dg-do compile } */
+/* { dg-do compile { target { int32plus } } } */
/* { dg-options "-O -fnon-call-exceptions -favoid-store-forwarding -fno-forward-propagate -finstrument-functions" } */
char *p;