Move a test-case (PR testsuite/90551).
authorMartin Liska <mliska@suse.cz>
Tue, 21 May 2019 06:55:07 +0000 (08:55 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Tue, 21 May 2019 06:55:07 +0000 (06:55 +0000)
2019-05-21  Martin Liska  <mliska@suse.cz>

PR testsuite/90551
* pr90263.c: Move from gcc.c-torture/compile
into gcc.dg.

From-SVN: r271454

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr90263.c [deleted file]
gcc/testsuite/gcc.dg/pr90263.c [new file with mode: 0644]

index f5174b049e10bae862c2e3575e9aaf13c3b3ac66..bf9b4865502b10bd865120f806d5614bdf523459 100644 (file)
@@ -1,3 +1,9 @@
+2019-05-21  Martin Liska  <mliska@suse.cz>
+
+       PR testsuite/90551
+       * pr90263.c: Move from gcc.c-torture/compile
+       into gcc.dg.
+
 2019-05-20  Uroš Bizjak  <ubizjak@gmail.com>
 
        PR testsuite/90503
diff --git a/gcc/testsuite/gcc.c-torture/compile/pr90263.c b/gcc/testsuite/gcc.c-torture/compile/pr90263.c
deleted file mode 100644 (file)
index df3ab0f..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-/* PR middle-end/90263 */
-/* { dg-require-effective-target glibc } */
-
-int *f (int *p, int *q, long n)
-{
-  return __builtin_mempcpy (p, q, n);
-}
-
-/* { dg-final { scan-assembler "mempcpy" { target { i?86-*-* x86_64-*-* } } } } */
-/* { dg-final { scan-assembler "memcpy" { target { ! { i?86-*-* x86_64-*-* } } } } } */
diff --git a/gcc/testsuite/gcc.dg/pr90263.c b/gcc/testsuite/gcc.dg/pr90263.c
new file mode 100644 (file)
index 0000000..acf3db1
--- /dev/null
@@ -0,0 +1,11 @@
+/* PR middle-end/90263 */
+/* { dg-do compile } */
+/* { dg-require-effective-target glibc } */
+
+int *f (int *p, int *q, long n)
+{
+  return __builtin_mempcpy (p, q, n);
+}
+
+/* { dg-final { scan-assembler "mempcpy" { target { i?86-*-* x86_64-*-* } } } } */
+/* { dg-final { scan-assembler "memcpy" { target { ! { i?86-*-* x86_64-*-* } } } } } */