Run new mcount tests only on Linux and not on PIC
authorAndi Kleen <ak@linux.intel.com>
Sat, 27 Sep 2014 18:50:59 +0000 (18:50 +0000)
committerAndi Kleen <ak@gcc.gnu.org>
Sat, 27 Sep 2014 18:50:59 +0000 (18:50 +0000)
gcc/testsuite/:

2014-09-27  Andi Kleen  <ak@linux.intel.com>

* gcc.target/i386/nop-mcount.c: Only run on Linux.
* gcc.target/i386/record-mcount.c: dito.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
From-SVN: r215659

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/nop-mcount.c
gcc/testsuite/gcc.target/i386/record-mcount.c

index e3396c54a81e0c3a3e390c99b85e85a0be8d5b5d..30893283f40d6c5296604e68e35c5493ed34a54a 100644 (file)
@@ -1,3 +1,8 @@
+2014-09-27  Andi Kleen  <ak@linux.intel.com>
+
+       * gcc.target/i386/nop-mcount.c: Only run on Linux.
+       * gcc.target/i386/record-mcount.c: dito.
+
 2014-09-26  Jan Hubicka  <hubicka@ucw.cz>
 
        PR ipa/62121
index 25922315604fb473d6fb6986389c40b54c95f444..561792ffe74296f3b09fc5c32c3cbac00e76cb20 100644 (file)
@@ -1,5 +1,5 @@
 /* Test -mnop-mcount */
-/* { dg-do compile } */
+/* { dg-do compile { target { *-*-linux* } && { nonpic } } } */
 /* { dg-options "-pg -mfentry -mrecord-mcount -mnop-mcount" } */
 /* { dg-final { scan-assembler-not "__fentry__" } } */
 /* Origin: Andi Kleen */
index dae413e9b0ead12a537b1337df8f1275288955ca..72f10627e0d1c4cd7312d2218465068adb664a92 100644 (file)
@@ -1,5 +1,5 @@
 /* Test -mrecord-mcount */
-/* { dg-do compile } */
+/* { dg-do compile { target { *-*-linux* } && { nonpic } } } */
 /* { dg-options "-pg -mrecord-mcount" } */
 /* { dg-final { scan-assembler "mcount_loc" } } */
 /* Origin: Andi Kleen */