Move a test-case to a proper folder.
authorMartin Liska <mliska@suse.cz>
Tue, 13 Nov 2018 15:28:26 +0000 (16:28 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Tue, 13 Nov 2018 15:28:26 +0000 (15:28 +0000)
2018-11-13  Martin Liska  <mliska@suse.cz>

* gcc.target/i386/pr87930.c: Move to ...
* gcc.dg/asan/pr87930.c: ... here.  Guard for i?86/x86_64 targets.

From-SVN: r266076

ChangeLog
gcc/testsuite/gcc.dg/asan/pr87930.c [new file with mode: 0644]
gcc/testsuite/gcc.target/i386/pr87930.c [deleted file]

index 1d71ed6538e8c778e9822537c29912f5c3638696..be37cac05069b1e14cabf039d84a9b0a094b08fa 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2018-11-13  Martin Liska  <mliska@suse.cz>
+
+       * gcc.target/i386/pr87930.c: Move to ...
+       * gcc.dg/asan/pr87930.c: ... here.  Guard for i?86/x86_64 targets.
+
 2018-11-10  Stafford Horne  <shorne@gmail.com>
 
        * MAINTAINERS (CPU Port Maintainers): Add myself for or1k.
diff --git a/gcc/testsuite/gcc.dg/asan/pr87930.c b/gcc/testsuite/gcc.dg/asan/pr87930.c
new file mode 100644 (file)
index 0000000..4f8e699
--- /dev/null
@@ -0,0 +1,6 @@
+/* { dg-do compile { target { { i?86-*-* x86_64-*-* } && lp64 } } } */
+/* { dg-options "-fsanitize=address -mabi=ms" } */
+
+int i;
+
+/* { dg-error ".-mabi=ms. not supported with .-fsanitize=address." "" { target *-*-* } 0 } */
diff --git a/gcc/testsuite/gcc.target/i386/pr87930.c b/gcc/testsuite/gcc.target/i386/pr87930.c
deleted file mode 100644 (file)
index e9cf29c..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-/* { dg-do compile { target lp64 } } */
-/* { dg-options "-fsanitize=address -mabi=ms" } */
-
-int i;
-
-/* { dg-error ".-mabi=ms. not supported with .-fsanitize=address." "" { target *-*-* } 0 } */