This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[testsuite] PATCH: Correct target selector in gcc.target/i386/nop-mcount.c


nonpic in target selector in gcc.target/i386/nop-mcount.c is ignored
since {} is misplaced.  This patch properly places {} in target selector.
Tested on Linux/x86.  OK for trunk?

Thanks.

H.J.
---
 gcc/testsuite/gcc.target/i386/nop-mcount.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

2015-01-11  H.J. Lu  <hongjiu.lu@intel.com>

	* gcc.target/i386/nop-mcount.c: Properly place {} in target
	selector.

diff --git a/gcc/testsuite/gcc.target/i386/nop-mcount.c b/gcc/testsuite/gcc.target/i386/nop-mcount.c
index 561792f..139fbb0 100644
--- a/gcc/testsuite/gcc.target/i386/nop-mcount.c
+++ b/gcc/testsuite/gcc.target/i386/nop-mcount.c
@@ -1,5 +1,5 @@
 /* Test -mnop-mcount */
-/* { dg-do compile { target { *-*-linux* } && { nonpic } } } */
+/* { dg-do compile { target { { *-*-linux* } && nonpic } } } */
 /* { dg-options "-pg -mfentry -mrecord-mcount -mnop-mcount" } */
 /* { dg-final { scan-assembler-not "__fentry__" } } */
 /* Origin: Andi Kleen */
-- 
1.9.3


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]