diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2012-09-12 12:34:21 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2012-09-12 12:34:21 +0000 |
commit | 9081064aee40a33c99629176d54d1c7653b18faa (patch) | |
tree | aba6d8794821f5beb40a67731fed958c8a9ac3a1 | |
parent | 0f042bc539c208195f4eb5dad273fa207f790b3d (diff) | |
download | gcc-9081064aee40a33c99629176d54d1c7653b18faa.zip gcc-9081064aee40a33c99629176d54d1c7653b18faa.tar.gz gcc-9081064aee40a33c99629176d54d1c7653b18faa.tar.bz2 |
Fix Solaris 9/x86 bootstrap
* rtl.h (FFS, FLOAT, ABS, PC): Don't undef.
* system.h (FFS, FLOAT, ABS, PC): Undef.
From-SVN: r191217
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/rtl.h | 5 | ||||
-rw-r--r-- | gcc/system.h | 5 |
3 files changed, 10 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 032987d..ce9a306 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2012-09-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> + + * rtl.h (FFS, FLOAT, ABS, PC): Don't undef. + * system.h (FFS, FLOAT, ABS, PC): Undef. + 2012-09-12 Richard Guenther <rguenther@suse.de> PR middle-end/54553 @@ -33,11 +33,6 @@ along with GCC; see the file COPYING3. If not see #include "hashtab.h" #include "flags.h" -#undef FFS /* Some systems predefine this symbol; don't let it interfere. */ -#undef FLOAT /* Likewise. */ -#undef ABS /* Likewise. */ -#undef PC /* Likewise. */ - /* Value used by some passes to "recognize" noop moves as valid instructions. */ #define NOOP_MOVE_INSN_CODE INT_MAX diff --git a/gcc/system.h b/gcc/system.h index 48c9c89..ed36bae 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -638,6 +638,11 @@ extern int vsnprintf(char *, size_t, const char *, va_list); /* Get libiberty declarations. */ #include "libiberty.h" +#undef FFS /* Some systems predefine this symbol; don't let it interfere. */ +#undef FLOAT /* Likewise. */ +#undef ABS /* Likewise. */ +#undef PC /* Likewise. */ + /* Provide a default for the HOST_BIT_BUCKET. This suffices for POSIX-like hosts. */ |