From: Martin Sebor Date: Wed, 20 Dec 2017 17:01:24 +0000 (+0000) Subject: PR testsuite/83483 - [8 Regression] gcc.dg/memcpy-6.c FAILs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c8c6d7ef43f80abd9f1495d249a9f361a1cbb816;p=gcc.git PR testsuite/83483 - [8 Regression] gcc.dg/memcpy-6.c FAILs gcc/testsuite/ChangeLog: PR testsuite/83483 * gcc.dg/memcpy-6.c: Skip for targets other than x86. From-SVN: r255899 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 3eb1f534cf3..e0e2c4a75b4 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2017-12-20 Martin Sebor + + PR testsuite/83483 + * gcc.dg/memcpy-6.c: Skip for targets other than x86. + 2017-12-20 Martin Sebor PR testsuite/83131 diff --git a/gcc/testsuite/gcc.dg/memcpy-6.c b/gcc/testsuite/gcc.dg/memcpy-6.c index 1d76e7e77cf..7ff735e94d1 100644 --- a/gcc/testsuite/gcc.dg/memcpy-6.c +++ b/gcc/testsuite/gcc.dg/memcpy-6.c @@ -1,8 +1,12 @@ /* Test to verify that overlapping memcpy with const sizes that are powers of two are folded into into the same code as memmove, but that they - are diagnosed nonetheless. + are diagnosed nonetheless. Whether a call is folded depends on + the size of the copy, the alignment, and wheteber else the target + might decide to consider. The test is only run on a small subset + of targets where it's known to pass (see PR testsuite/83483). { dg-do compile } - { dg-options "-O0 -Wrestrict -fdump-tree-optimized" } */ + { dg-options "-O0 -Wrestrict -fdump-tree-optimized" } + { dg-skip-if "skip non-x86 targets" { ! { i?86-*-* x86_64-*-* } } } */ char a[32];