From patchwork Tue Jul 5 08:39:36 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kito Cheng X-Patchwork-Id: 644618 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3rkHQC1qjpz9sCj for ; Tue, 5 Jul 2016 18:40:19 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=GJEAgAuL; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:from:date:message-id:subject:to:content-type; q= dns; s=default; b=m7Buvbot4qo2PfaE1e1/TaM6QX19eP31oavLLjHJw1YdSf jTbN+pJXandDSOpe3b9+vkgultUvrgiSNpk2Ov0kCIqF/ZfIDXIuIksl8tk0RyJC iavyBdeFL3Omf/ocxius/NFiECNm5wp7ozMcoYbQxgJynZ70VIOgUiMRcc12E= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:from:date:message-id:subject:to:content-type; s= default; bh=NFdGgluw/ZjLMBxGK1PECZzr/OE=; b=GJEAgAuL2bGGK5f2UhRZ GcRxgcdLpLmdNAyWkZs9sLczcZfofwRgEwX3beFq9oPv+juGtvZxpHjZEdGl/1+W BI9Ya7mbgj34X3NEfwcXVOhNK2DPE27Z60bLwX1PMNxuvjzIlY/xcb/ep3ngxHA9 J6SmUfUGpeuoG6OFe2O/bjI= Received: (qmail 55376 invoked by alias); 5 Jul 2016 08:40:10 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 55345 invoked by uid 89); 5 Jul 2016 08:40:09 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 spammy=2016-07-05 X-HELO: mail-vk0-f52.google.com Received: from mail-vk0-f52.google.com (HELO mail-vk0-f52.google.com) (209.85.213.52) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 05 Jul 2016 08:39:59 +0000 Received: by mail-vk0-f52.google.com with SMTP id i63so86148677vkb.2 for ; Tue, 05 Jul 2016 01:39:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=ObPGTb8+1gS+e8JrbJxSwUBj7gi/mBPYQ23fYxQquo4=; b=iKwRyIT6PKS8F8l2S8J+huS1xY2a1eShQ8ra9KnNTrorJyZN19wLksFIJcBARSeB+g ec+CYqyYGdt6rL7wLICmMyr7plhDuguhMHYpVcYRLlYqECpIepRgJKr1hx2dC5xCkkUM RFjzCyAVkogpfcqcUKypAoahFsjiZC4d9vej8nyRyQ7CRD8+XrVrN8deYTIvC1t3fphm v+3wWWCmqHB9HsR1n6zcm0H+l7aBZTRsPZhSRd/nIzjLcBSk8C3SwdhZXLQ+DFNTr9C4 0CZ2PwpbX14XTr3V/06tUGjJb/iCn2AWc/L+wpt9hKhaIyK2Rr0qYTDhPjLWFPl6S9Ta +fKg== X-Gm-Message-State: ALyK8tLsUqydakZWs7+5rSBs43I2QbLBQKgAR72kNCQyxQjByNK8/9iHBtnD8TCsvTpEwVA6TJFw59OoxKxlbw== X-Received: by 10.176.6.163 with SMTP id g32mr7175355uag.112.1467707996831; Tue, 05 Jul 2016 01:39:56 -0700 (PDT) MIME-Version: 1.0 Received: by 10.31.130.71 with HTTP; Tue, 5 Jul 2016 01:39:36 -0700 (PDT) From: Kito Cheng Date: Tue, 5 Jul 2016 16:39:36 +0800 Message-ID: Subject: Check fpic is ok for target in pr69102.c To: "gcc-patches@gcc.gnu.org" X-IsSubscribed: yes 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 * gcc.c-torture/compile/pr69102.c: Require fpic support. From caa51d92e620694ee1365ce0f77ac2b152662982 Mon Sep 17 00:00:00 2001 From: Kito Cheng 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