From patchwork Tue Aug 3 23:53:12 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 60802 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 1445EB70A8 for ; Wed, 4 Aug 2010 09:54:01 +1000 (EST) Received: (qmail 9834 invoked by alias); 3 Aug 2010 23:53:37 -0000 Received: (qmail 9746 invoked by uid 22791); 3 Aug 2010 23:53:34 -0000 X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from b.mail.sonic.net (HELO b.mail.sonic.net) (64.142.19.5) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 03 Aug 2010 23:53:22 +0000 Received: from are.twiddle.net (are.twiddle.net [75.101.38.216]) by b.mail.sonic.net (8.13.8.Beta0-Sonic/8.13.7) with ESMTP id o73NrLpo027948 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 3 Aug 2010 16:53:21 -0700 Received: from are.twiddle.net (localhost [127.0.0.1]) by are.twiddle.net (8.14.4/8.14.4) with ESMTP id o73NrKRI001153; Tue, 3 Aug 2010 16:53:20 -0700 Received: (from rth@localhost) by are.twiddle.net (8.14.4/8.14.4/Submit) id o73NrKhn001152; Tue, 3 Aug 2010 16:53:20 -0700 From: Richard Henderson To: gcc-patches@gcc.gnu.org Cc: kai.tietz@onevision.com, ubizjak@gmail.com Subject: [PATCH 5/9] Remove duplicate definition of TARGET_64BIT_MS_ABI. Date: Tue, 3 Aug 2010 16:53:12 -0700 Message-Id: <1280879596-1089-6-git-send-email-rth@twiddle.net> In-Reply-To: <1280879596-1089-1-git-send-email-rth@twiddle.net> References: <1280879596-1089-1-git-send-email-rth@twiddle.net> 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 The definition in cygming.h differed from the definition in i386.h in that the predicate was true for 32-bit when outside of any function. Which (a) seems wrong and (b) never matters because the predicate is only tested in terms of REGPARM and RED_ZONE, both of which are tied to functions. --- gcc/config/i386/cygming.h | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) * config/i386/cygming.h (TARGET_64BIT_MS_ABI): Remove. diff --git a/gcc/config/i386/cygming.h b/gcc/config/i386/cygming.h index 1587af4..a6434f3 100644 --- a/gcc/config/i386/cygming.h +++ b/gcc/config/i386/cygming.h @@ -33,9 +33,6 @@ along with GCC; see the file COPYING3. If not see #define PREFERRED_DEBUGGING_TYPE DBX_DEBUG #endif -#undef TARGET_64BIT_MS_ABI -#define TARGET_64BIT_MS_ABI (!cfun ? ix86_abi == MS_ABI : TARGET_64BIT && cfun->machine->call_abi == MS_ABI) - #undef DEFAULT_ABI #define DEFAULT_ABI (TARGET_64BIT ? MS_ABI : SYSV_ABI)