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]

Check fpic is ok for target in pr69102.c


Hi all:

pr69102.c use -fPIC flag in dg-options but not check is available for
target, so I add "dg-require-effective-target fpic" for it.

ChangeLog
2016-07-05  Kito Cheng <kito.cheng@gmail.com>

        * gcc.c-torture/compile/pr69102.c: Require fpic support.
From caa51d92e620694ee1365ce0f77ac2b152662982 Mon Sep 17 00:00:00 2001
From: Kito Cheng <kito@andestech.com>
Date: Tue, 5 Jul 2016 16:14:45 +0800
Subject: [PATCH] Check fpic for pr69102.c

---
 gcc/testsuite/gcc.c-torture/compile/pr69102.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/testsuite/gcc.c-torture/compile/pr69102.c b/gcc/testsuite/gcc.c-torture/compile/pr69102.c
index 1f0cdc6..5c8c541 100644
--- a/gcc/testsuite/gcc.c-torture/compile/pr69102.c
+++ b/gcc/testsuite/gcc.c-torture/compile/pr69102.c
@@ -1,5 +1,6 @@
 /* { dg-options "-Og -fPIC -fschedule-insns2 -fselective-scheduling2 -fno-tree-fre --param=max-sched-extend-regions-iters=10" } */
 /* { dg-require-effective-target scheduling } */
+/* { dg-require-effective-target fpic } */
 void bar (unsigned int);
 
 void
-- 
1.9.1


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