From patchwork Mon Sep 13 22:34:43 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "H.J. Lu" X-Patchwork-Id: 64663 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 76DE8B6F01 for ; Tue, 14 Sep 2010 08:34:51 +1000 (EST) Received: (qmail 9095 invoked by alias); 13 Sep 2010 22:34:50 -0000 Received: (qmail 8994 invoked by uid 22791); 13 Sep 2010 22:34:49 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mail-vw0-f47.google.com (HELO mail-vw0-f47.google.com) (209.85.212.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 13 Sep 2010 22:34:45 +0000 Received: by vws9 with SMTP id 9so5381495vws.20 for ; Mon, 13 Sep 2010 15:34:43 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.168.213 with SMTP id v21mr2921716vcy.274.1284417283525; Mon, 13 Sep 2010 15:34:43 -0700 (PDT) Received: by 10.220.78.193 with HTTP; Mon, 13 Sep 2010 15:34:43 -0700 (PDT) In-Reply-To: <20100913222732.GQ16898@codesourcery.com> References: <20100913222732.GQ16898@codesourcery.com> Date: Mon, 13 Sep 2010 15:34:43 -0700 Message-ID: Subject: Re: PATCH: Fix bootstrap on x86 From: "H.J. Lu" To: Nathan Froyd Cc: Andrew Pinski , Uros Bizjak , gcc-patches@gcc.gnu.org X-IsSubscribed: yes 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 On Mon, Sep 13, 2010 at 3:27 PM, Nathan Froyd wrote: > On Mon, Sep 13, 2010 at 03:16:17PM -0700, H.J. Lu wrote: >> Here is a patch.  Bootstrapped on Linux/x86-64.  Compiled cc1 for >> ARM, PowerPC. MIPS and Sparc.  OK to install? > > If this patch eliminates all instances of UNITS_PER_SIMD_WORD, you > should also poison that identifier in system.h. > Here is the additional patch. diff --git a/gcc/system.h b/gcc/system.h index a5cfaba..023ced4 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -783,7 +783,7 @@ extern void fancy_abort (const char *, int, const char *) ATTRIBUTE_NORETURN; LANG_HOOKS_MISSING_ARGUMENT /* Miscellaneous macros that are no longer used. */ - #pragma GCC poison USE_MAPPED_LOCATION + #pragma GCC poison USE_MAPPED_LOCATION UNITS_PER_SIMD_WORD /* Libiberty macros that are no longer used in GCC. */