Commit e8447fa6 by Andi Kleen Committed by Andi Kleen

Run new mcount tests only on Linux and not on PIC

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
parent 3f6bb7e5
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> 2014-09-26 Jan Hubicka <hubicka@ucw.cz>
PR ipa/62121 PR ipa/62121
......
/* Test -mnop-mcount */ /* Test -mnop-mcount */
/* { dg-do compile } */ /* { dg-do compile { target { *-*-linux* } && { nonpic } } } */
/* { dg-options "-pg -mfentry -mrecord-mcount -mnop-mcount" } */ /* { dg-options "-pg -mfentry -mrecord-mcount -mnop-mcount" } */
/* { dg-final { scan-assembler-not "__fentry__" } } */ /* { dg-final { scan-assembler-not "__fentry__" } } */
/* Origin: Andi Kleen */ /* Origin: Andi Kleen */
......
/* Test -mrecord-mcount */ /* Test -mrecord-mcount */
/* { dg-do compile } */ /* { dg-do compile { target { *-*-linux* } && { nonpic } } } */
/* { dg-options "-pg -mrecord-mcount" } */ /* { dg-options "-pg -mrecord-mcount" } */
/* { dg-final { scan-assembler "mcount_loc" } } */ /* { dg-final { scan-assembler "mcount_loc" } } */
/* Origin: Andi Kleen */ /* Origin: Andi Kleen */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment