Move a target test-case to generic folder.
authorMartin Liska <mliska@suse.cz>
Wed, 25 Sep 2019 10:07:11 +0000 (12:07 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Wed, 25 Sep 2019 10:07:11 +0000 (10:07 +0000)
2019-09-25  Martin Liska  <mliska@suse.cz>

* gcc.target/s390/pr91014.c: Move to ...
* gcc.dg/pr91014.c: ... this.

From-SVN: r276120

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr91014.c [new file with mode: 0644]
gcc/testsuite/gcc.target/s390/pr91014.c [deleted file]

index 44fc3e382c620037739232fb344756fc193c8d5f..f94813385e89fa1b1a5d345174c5c90cfe90c290 100644 (file)
@@ -1,3 +1,8 @@
+2019-09-25  Martin Liska  <mliska@suse.cz>
+
+       * gcc.target/s390/pr91014.c: Move to ...
+       * gcc.dg/pr91014.c: ... this.
+
 2019-09-25  Paolo Carlini  <paolo.carlini@oracle.com>
 
        * g++.dg/diagnostic/redeclaration-1.C: New.
diff --git a/gcc/testsuite/gcc.dg/pr91014.c b/gcc/testsuite/gcc.dg/pr91014.c
new file mode 100644 (file)
index 0000000..eb37b33
--- /dev/null
@@ -0,0 +1,8 @@
+/* { dg-do compile } */
+/* { dg-options "-O" } */
+/* { dg-require-effective-target alloca } */
+
+void foo(void)
+{
+ __builtin_calloc (1, 1); /* { dg-warning "ignoring return value of '__builtin_calloc' declared with attribute 'warn_unused_result'" } */
+}
diff --git a/gcc/testsuite/gcc.target/s390/pr91014.c b/gcc/testsuite/gcc.target/s390/pr91014.c
deleted file mode 100644 (file)
index eb37b33..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-/* { dg-do compile } */
-/* { dg-options "-O" } */
-/* { dg-require-effective-target alloca } */
-
-void foo(void)
-{
- __builtin_calloc (1, 1); /* { dg-warning "ignoring return value of '__builtin_calloc' declared with attribute 'warn_unused_result'" } */
-}