[testsuite] PATCH: Correct target selector in gcc.target/i386/nop-mcount.c
H.J. Lu
hjl.tools@gmail.com
Mon Jan 12 01:49:00 GMT 2015
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
More information about the Gcc-patches
mailing list