Commit c8c6d7ef by Martin Sebor Committed by Martin Sebor

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
parent 16155777
2017-12-20 Martin Sebor <msebor@redhat.com> 2017-12-20 Martin Sebor <msebor@redhat.com>
PR testsuite/83483
* gcc.dg/memcpy-6.c: Skip for targets other than x86.
2017-12-20 Martin Sebor <msebor@redhat.com>
PR testsuite/83131 PR testsuite/83131
* c-c++-common/attr-nonstring-4.c: New test. * c-c++-common/attr-nonstring-4.c: New test.
......
/* Test to verify that overlapping memcpy with const sizes that are powers /* 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 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-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]; char a[32];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment