https://gcc.gnu.org/g:450ad5d43f134e656eee92cbae5749cb41e15e6f

commit r15-6281-g450ad5d43f134e656eee92cbae5749cb41e15e6f
Author: Dimitar Dimitrov <dimi...@dinux.eu>
Date:   Mon Dec 16 17:27:53 2024 +0200

    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 <dimi...@dinux.eu>

Diff:
---
 gcc/testsuite/gcc.dg/pr117816.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.dg/pr117816.c b/gcc/testsuite/gcc.dg/pr117816.c
index 6a9fc5fa1415..bd37a5bb0e19 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;

Reply via email to