mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-05 00:31:30 +08:00
Fix mcount test cases to only run on supported targets
* 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
This commit is contained in:
parent
813271fc4e
commit
2bfbb86133
@ -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
|
||||
|
@ -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 *);
|
||||
|
@ -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 *);
|
||||
|
@ -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 */
|
||||
|
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user