From patchwork Thu Oct 27 10:25:42 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Renlin Li X-Patchwork-Id: 79634 Delivered-To: patch@linaro.org Received: by 10.80.142.83 with SMTP id 19csp558921edx; Thu, 27 Oct 2016 03:26:19 -0700 (PDT) X-Received: by 10.99.114.73 with SMTP id c9mr10835946pgn.175.1477563978535; Thu, 27 Oct 2016 03:26:18 -0700 (PDT) Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id tt8si5958399pac.100.2016.10.27.03.26.18 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Oct 2016 03:26:18 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-return-439702-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org; spf=pass (google.com: domain of gcc-patches-return-439702-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=gcc-patches-return-439702-patch=linaro.org@gcc.gnu.org DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to :from:subject:cc:message-id:date:mime-version:content-type; q= dns; s=default; b=n9hQO+bhPOyOENjszAUUmiNCjEUOc1AMzjhICvLu5evv/8 CL5ZSQqG+/cSFFuX0vBGojkEdWteMwzBlR+TKqPt1GQUx0L6BXcjSkr02R/Kzab+ omIA3VQvG9XtksDWVW1Yn67HQP9FgxINI+rqAZ8bsy8yWuXAdipVbNc1AH0XY= 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:to :from:subject:cc:message-id:date:mime-version:content-type; s= default; bh=jMg4voonThmJxOJwg7x4OBuggac=; b=NJDrTwF18FfjX0nKOakY 0D3vFgqlO3S5NFG+xL8emv7Ilr4Lil3fgtWM+qIpw31H1/M0KsxjCXwozm7yhsyD 90QksLcWk61H7mEOyFMx2o+KkeMBDNiV6Mk5Y5Sr33g7cOh+TrnG4JhMph7Ops93 +3ms4jJ3X+sgzzjXf6ZF7Tk= Received: (qmail 54695 invoked by alias); 27 Oct 2016 10:25:56 -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 54640 invoked by uid 89); 27 Oct 2016 10:25:56 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=BAYES_00, KAM_LAZY_DOMAIN_SECURITY, RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=applicable X-HELO: foss.arm.com Received: from foss.arm.com (HELO foss.arm.com) (217.140.101.70) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 27 Oct 2016 10:25:45 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 766741529; Thu, 27 Oct 2016 03:25:44 -0700 (PDT) Received: from [10.2.207.43] (e104453-lin.cambridge.arm.com [10.2.207.43]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id D86463F218; Thu, 27 Oct 2016 03:25:43 -0700 (PDT) To: "gcc-patches@gcc.gnu.org" From: Renlin Li Subject: [PATCH][AARCH64]Skip gcc.target/aarch64/pr66912.c in tiny or large memory model. Cc: James Greenhalgh , Szabolcs Nagy Message-ID: <5811D626.6030000@foss.arm.com> Date: Thu, 27 Oct 2016 11:25:42 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 X-IsSubscribed: yes Hi all, This a simple patch to fix gcc.target/aarch64/pr66912.c. It's a test case only applicable to small memory model which is the default one. It has been tested to run only when the memory model is small. Okay to commit? Regards, Renlin Li gcc/testsuite/ChangeLog: 2016-10-27 Renlin Li * gcc.target/aarch64/pr66912.c: Skip tiny and large memory model. commit 364538b449d62c9a411b31021bdd9f355d36edf1 Author: Renlin Li Date: Wed Jan 6 14:00:16 2016 +0000 fix pr66912.c diff --git a/gcc/testsuite/gcc.target/aarch64/pr66912.c b/gcc/testsuite/gcc.target/aarch64/pr66912.c index b8aabcd..be07641 100644 --- a/gcc/testsuite/gcc.target/aarch64/pr66912.c +++ b/gcc/testsuite/gcc.target/aarch64/pr66912.c @@ -1,5 +1,7 @@ /* { dg-do compile { target *-*-linux* } } */ +/* { dg-require-effective-target aarch64_small_fpic } */ /* { dg-options "-O2 -fpic" } */ +/* { dg-skip-if "small memory model" { aarch64*-*-* } { "-mcmodel=tiny" "-mcmodel=large" } { "" } } */ __attribute__((visibility("protected"))) int n_common;