From: Dimitar Dimitrov Date: Mon, 16 Dec 2024 15:27:53 +0000 (+0200) Subject: testsuite: Require int32plus target for gcc.dg/pr117816.c X-Git-Tag: basepoints/gcc-16~3272 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=450ad5d43f134e656eee92cbae5749cb41e15e6f;p=thirdparty%2Fgcc.git 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 --- 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;