This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Fix bootstrap on x86


On Mon, Sep 13, 2010 at 3:27 PM, Nathan Froyd <froydnj@codesourcery.com> 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.


-- 
H.J.
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.  */
 #undef ANSI_PROTOTYPES


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]