summaryrefslogtreecommitdiff
path: root/gcc/mcf.c
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2008-11-13 10:26:51 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2008-11-13 10:26:51 +0000
commit784ccbcae22f87b6ffdbb686d5c2356345d4653a (patch)
treed7dddaa747f716c66e21190230d743b7208b23be /gcc/mcf.c
parentf468b129456cea990f4070db42afb10b931e15e5 (diff)
downloadgcc-784ccbcae22f87b6ffdbb686d5c2356345d4653a.tar.gz
PR bootstrap/38088
* mcf.c (CAP_INFINITY): Use HOST_WIDEST_INT maximum, not GCC specific __LONG_LONG_MAX__. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@141818 138bc75d-0d04-0410-961f-82ee72b054a4
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))