]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Fix mcount test cases to only run on supported targets
authorAndi Kleen <ak@linux.intel.com>
Fri, 19 Sep 2014 17:09:10 +0000 (17:09 +0000)
committerAndi Kleen <ak@gcc.gnu.org>
Fri, 19 Sep 2014 17:09:10 +0000 (17:09 +0000)
       * gcc.dg/pg-override.c: Only run on x86 Linux.
       * gcc.dg/pg.c: Dito.
       * gcc.target/i386/fentry-override.c: Exclude for PIC.
       * gcc.target/i386/fentry.c: Dito.

From-SVN: r215401

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pg-override.c
gcc/testsuite/gcc.dg/pg.c
gcc/testsuite/gcc.target/i386/fentry-override.c
gcc/testsuite/gcc.target/i386/fentry.c

index 747aad8b6a309a3df68f2228624e2480c64834b8..89c88ebe9a0ce2d3b8dc401c4f13d88d3be182f7 100644 (file)
@@ -1,3 +1,10 @@
+2014-09-19  Andi Kleen  <ak@linux.intel.com>
+
+       * gcc.dg/pg-override.c: Only run on x86 Linux.
+       * gcc.dg/pg.c: Dito.
+       * gcc.target/i386/fentry-override.c: Exclude for PIC.
+       * gcc.target/i386/fentry.c: Dito.
+
 2014-09-19  Markus Trippelsdorf  <markus@trippelsdorf.de>
 
        PR ipa/61998
index 60be162f29041d81f64c724e0c893c9ae126dad2..9b8d8fa02cd57dba15312ec7fbbc36e1fff339a5 100644 (file)
@@ -1,6 +1,6 @@
 /* Test -fprofile override */
 /* { dg-do compile } */
-/* { dg-options "-fprofile" { target i?86-*-* x86_64-*-* } } */
+/* { dg-options "-fprofile" { target i?86-*-linux* x86_64-*-linux* } } */
 /* { dg-final { scan-assembler-not "mcount" } } */
 /* Origin: Andi Kleen */
 extern void foobar(const char *);
index 60be162f29041d81f64c724e0c893c9ae126dad2..9b8d8fa02cd57dba15312ec7fbbc36e1fff339a5 100644 (file)
@@ -1,6 +1,6 @@
 /* Test -fprofile override */
 /* { dg-do compile } */
-/* { dg-options "-fprofile" { target i?86-*-* x86_64-*-* } } */
+/* { dg-options "-fprofile" { target i?86-*-linux* x86_64-*-linux* } } */
 /* { dg-final { scan-assembler-not "mcount" } } */
 /* Origin: Andi Kleen */
 extern void foobar(const char *);
index 3771f19545aee16274c62904c24b0db8976cd77f..046445440cdc9d2c1eed95e3184bfddb20130967 100644 (file)
@@ -1,5 +1,5 @@
 /* Test -mfentry override */
-/* { dg-do compile } */
+/* { dg-do compile { target { *-*-linux* } && { nonpic || ! { ia32 } } } } */
 /* { dg-options "-mfentry" } */
 /* { dg-final { scan-assembler-not "__fentry__" } } */
 /* Origin: Andi Kleen */
index bd3db13d0026197139034d198cef433d3573a483..d0d70c62efa2dbeb79ce2acab8965edf51a4b87d 100644 (file)
@@ -1,5 +1,5 @@
 /* Test -mfentry */
-/* { dg-do compile } */
+/* { dg-do compile { target { *-*-linux* } && { nonpic || ! { ia32 } } } } */
 /* { dg-options "-fprofile -mfentry" } */
 /* { dg-final { scan-assembler "__fentry__" } } */
 /* Origin: Andi Kleen */