This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[testsuite] PATCH: Correct target selector in gcc.target/i386/nop-mcount.c
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Uros Bizjak <ubizjak at gmail dot com>
- Date: Sun, 11 Jan 2015 16:31:32 -0800
- Subject: [testsuite] PATCH: Correct target selector in gcc.target/i386/nop-mcount.c
- Authentication-results: sourceware.org; auth=none
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