From patchwork Mon Jan 12 00:34:13 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H.J. Lu" X-Patchwork-Id: 427539 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 BA977140217 for ; Mon, 12 Jan 2015 11:34:26 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type; q=dns; s= default; b=BuSJdwHCHvENoLU/YmMotpuyHMbjcsJ4eOTQhgr35PtXFN+GYeF/E vMN0PKRaBItZ0A0xP4WMBn+aJkr03IBg1o/wr1yuPeTcP5+WreEaSFPMKjysRy2A yRVKbMBjdbjQn8c8YxEP9W+oZevqlbWI0fMngxAZxKgbdmgisPkHn4= 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:date :from:to:subject:message-id:mime-version:content-type; s= default; bh=ao9M+AJDNB2Xbci3Qz39UyeZuCQ=; b=uaDKRxPsfuSaGlcFqynw 3rpzhWTlV9gQlGoXfjo+1h334nYsWYjJjsgpjwIUkNiFOEGv0D3c/W71zIPzVsPn i5WKAeviP7MIVTlS304dIITCAvITOuvAuQlSd0H9civEmwsjb/sxkf1ap+AHWD0g ImQ8SGgklET6qPsbL61r7bU= Received: (qmail 18476 invoked by alias); 12 Jan 2015 00:34:19 -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 18464 invoked by uid 89); 12 Jan 2015 00:34:18 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-yk0-f171.google.com Received: from mail-yk0-f171.google.com (HELO mail-yk0-f171.google.com) (209.85.160.171) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Mon, 12 Jan 2015 00:34:17 +0000 Received: by mail-yk0-f171.google.com with SMTP id 142so8087646ykq.2 for ; Sun, 11 Jan 2015 16:34:15 -0800 (PST) X-Received: by 10.170.44.214 with SMTP id 205mr23665507ykm.78.1421022855680; Sun, 11 Jan 2015 16:34:15 -0800 (PST) Received: from gnu-tools-1.localdomain (76-220-57-190.lightspeed.sntcca.sbcglobal.net. [76.220.57.190]) by mx.google.com with ESMTPSA id z23sm9505092yhz.35.2015.01.11.16.34.15 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 11 Jan 2015 16:34:15 -0800 (PST) Received: by gnu-tools-1.localdomain (Postfix, from userid 1000) id D0DB71C429F; Sun, 11 Jan 2015 16:34:13 -0800 (PST) Date: Sun, 11 Jan 2015 16:34:13 -0800 From: "H.J. Lu" To: gcc-patches@gcc.gnu.org, Uros Bizjak Subject: [testsuite] PATCH: Add -fno-pie to gcc.target/i386/pr54445-2.c Message-ID: <20150112003413.GA30204@gmail.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-IsSubscribed: yes Since PIE is also PIC, we need to add -fno-pie to avoid PIC. OK for trunk? Thanks. H.J. --- gcc/testsuite/gcc.target/i386/pr54445-2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 2015-01-11 H.J. Lu * gcc.target/i386/pr54445-2.c: Add -fno-pie. diff --git a/gcc/testsuite/gcc.target/i386/pr54445-2.c b/gcc/testsuite/gcc.target/i386/pr54445-2.c index 5151c13..4d49816 100644 --- a/gcc/testsuite/gcc.target/i386/pr54445-2.c +++ b/gcc/testsuite/gcc.target/i386/pr54445-2.c @@ -1,5 +1,5 @@ /* { dg-do compile { target { *-*-linux* && { ! { ia32 } } } } } */ -/* { dg-options "-O2 -fno-pic" } */ +/* { dg-options "-O2 -fno-pic -fno-pie" } */ __thread unsigned char tls_array[64];