Skip to content

Commit 9081064

Browse files
committed
Fix Solaris 9/x86 bootstrap
* rtl.h (FFS, FLOAT, ABS, PC): Don't undef. * system.h (FFS, FLOAT, ABS, PC): Undef. From-SVN: r191217
1 parent 0f042bc commit 9081064

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

gcc/ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2012-09-12 Rainer Orth <[email protected]>
2+
3+
* rtl.h (FFS, FLOAT, ABS, PC): Don't undef.
4+
* system.h (FFS, FLOAT, ABS, PC): Undef.
5+
16
2012-09-12 Richard Guenther <[email protected]>
27

38
PR middle-end/54553

gcc/rtl.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,6 @@ along with GCC; see the file COPYING3. If not see
3333
#include "hashtab.h"
3434
#include "flags.h"
3535

36-
#undef FFS /* Some systems predefine this symbol; don't let it interfere. */
37-
#undef FLOAT /* Likewise. */
38-
#undef ABS /* Likewise. */
39-
#undef PC /* Likewise. */
40-
4136
/* Value used by some passes to "recognize" noop moves as valid
4237
instructions. */
4338
#define NOOP_MOVE_INSN_CODE INT_MAX

gcc/system.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -638,6 +638,11 @@ extern int vsnprintf(char *, size_t, const char *, va_list);
638638
/* Get libiberty declarations. */
639639
#include "libiberty.h"
640640

641+
#undef FFS /* Some systems predefine this symbol; don't let it interfere. */
642+
#undef FLOAT /* Likewise. */
643+
#undef ABS /* Likewise. */
644+
#undef PC /* Likewise. */
645+
641646
/* Provide a default for the HOST_BIT_BUCKET.
642647
This suffices for POSIX-like hosts. */
643648

0 commit comments

Comments
 (0)