diff options
author | Dimitar Dimitrov <dimitar@dinux.eu> | 2024-12-16 17:27:53 +0200 |
---|---|---|
committer | Dimitar Dimitrov <dimitar@dinux.eu> | 2024-12-16 17:36:02 +0200 |
commit | 450ad5d43f134e656eee92cbae5749cb41e15e6f (patch) | |
tree | 245c1c24d9e607ad920f987f59ebbb0db2447980 | |
parent | 65c09538420ed820a24aac982a0299226b879d91 (diff) | |
download | gcc-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.c | 2 |
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; |