aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2012-09-12 12:34:21 +0000
committerRainer Orth <ro@gcc.gnu.org>2012-09-12 12:34:21 +0000
commit9081064aee40a33c99629176d54d1c7653b18faa (patch)
treeaba6d8794821f5beb40a67731fed958c8a9ac3a1
parent0f042bc539c208195f4eb5dad273fa207f790b3d (diff)
downloadgcc-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/ChangeLog5
-rw-r--r--gcc/rtl.h5
-rw-r--r--gcc/system.h5
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
diff --git a/gcc/rtl.h b/gcc/rtl.h
index 42378b9..a29f261 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -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. */