summaryrefslogtreecommitdiff
path: root/gcc/mcf.c
diff options
context:
space:
mode:
authorAndrew Haley <aph@redhat.com>2008-11-13 10:26:51 +0000
committerJakub Jelinek <jakub@gcc.gnu.org>2008-11-13 11:26:51 +0100
commit3b5391959d64956517ddd1a70d5d0fd6c2a12fa6 (patch)
treed7dddaa747f716c66e21190230d743b7208b23be /gcc/mcf.c
parentbf0e1bf52589c2e574fffe0b9bcf0bc4da53a69b (diff)
downloadgcc-3b5391959d64956517ddd1a70d5d0fd6c2a12fa6.tar.gz
re PR bootstrap/38088 (gcc fails to compile with undefined symbol: __LONG_LONG_MAX__ error)
PR bootstrap/38088 * mcf.c (CAP_INFINITY): Use HOST_WIDEST_INT maximum, not GCC specific __LONG_LONG_MAX__. From-SVN: r141818
Diffstat (limited to 'gcc/mcf.c')
-rw-r--r--gcc/mcf.c2
1 files changed, 1 insertions, 1 deletions
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))