summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/mcf.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f36a6667f3c..c53ee196c71 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2008-11-13 Andrew Haley <aph@redhat.com>
+
+ PR bootstrap/38088
+ * mcf.c (CAP_INFINITY): Use HOST_WIDEST_INT maximum, not GCC specific
+ __LONG_LONG_MAX__.
+
2008-11-12 Jakub Jelinek <jakub@redhat.com>
PR c++/36478
diff --git a/gcc/mcf.c b/gcc/mcf.c
index d7bc5f30e72..9d3d7691910 100644
--- a/gcc/mcf.c
+++ b/gcc/mcf.c
@@ -56,7 +56,7 @@ along with GCC; see the file COPYING3. If not see
#include "profile.h"
/* CAP_INFINITY: Constant to represent infinite capacity. */
-#define CAP_INFINITY __LONG_LONG_MAX__
+#define CAP_INFINITY INTTYPE_MAXIMUM (HOST_WIDEST_INT)
/* COST FUNCTION. */
#define K_POS(b) ((b))