From patchwork Mon Sep 13 22:34:43 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: PATCH: Fix bootstrap on x86 Date: Mon, 13 Sep 2010 12:34:43 -0000 From: H.J. Lu X-Patchwork-Id: 64663 Message-Id: To: Nathan Froyd Cc: Andrew Pinski , Uros Bizjak , 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. */