From patchwork Sat Sep 10 19:02:47 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H.J. Lu" X-Patchwork-Id: 114196 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]) by ozlabs.org (Postfix) with SMTP id C4B40B71EE for ; Sun, 11 Sep 2011 05:03:07 +1000 (EST) Received: (qmail 9405 invoked by alias); 10 Sep 2011 19:03:04 -0000 Received: (qmail 9396 invoked by uid 22791); 10 Sep 2011 19:03:03 -0000 X-SWARE-Spam-Status: No, hits=-5.2 required=5.0 tests=AWL, BAYES_00, NO_DNS_FOR_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mga11.intel.com (HELO mga11.intel.com) (192.55.52.93) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 10 Sep 2011 19:02:47 +0000 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga102.fm.intel.com with ESMTP; 10 Sep 2011 12:02:47 -0700 X-ExtLoop1: 1 Received: from gnu-6.sc.intel.com ([10.3.194.135]) by fmsmga001.fm.intel.com with ESMTP; 10 Sep 2011 12:02:47 -0700 Received: by gnu-6.sc.intel.com (Postfix, from userid 500) id 512BCC20A2; Sat, 10 Sep 2011 12:02:47 -0700 (PDT) Date: Sat, 10 Sep 2011 12:02:47 -0700 From: "H.J. Lu" To: gcc-patches@gcc.gnu.org Cc: Uros Bizjak Subject: PATCH: Check ia32 instead of ilp32 Message-ID: <20110910190247.GA14502@intel.com> Reply-To: "H.J. Lu" MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) 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 Hi, On x86, x32 PIC is the same as 64bit PIC. This patch checks ia32 instead of ilp32. Tested on Linux/x86-64 with -m32, -m64 and -mx32. OK for trunk? Thanks. H.J. --- 2011-09-10 H.J. Lu * gcc.dg/sibcall-6.c: Check ia32 instead of ilp32. diff --git a/gcc/testsuite/gcc.dg/sibcall-6.c b/gcc/testsuite/gcc.dg/sibcall-6.c index 3dba764..b62a8ee 100644 --- a/gcc/testsuite/gcc.dg/sibcall-6.c +++ b/gcc/testsuite/gcc.dg/sibcall-6.c @@ -7,7 +7,7 @@ Contributed by Andreas Bauer */ /* { dg-do run { target i?86-*-* x86_64-*-* s390*-*-* } } */ -/* { dg-skip-if "" { { i?86-*-* x86_64-*-* } && { ilp32 && { ! nonpic } } } { "*" } { "" } } */ +/* { dg-skip-if "" { { i?86-*-* x86_64-*-* } && { ia32 && { ! nonpic } } } { "*" } { "" } } */ /* { dg-options "-O2 -foptimize-sibling-calls -fno-ipa-cp" } */ extern void abort (void);