From: Andrew Haley Date: Thu, 13 Nov 2008 10:26:51 +0000 (+0000) Subject: re PR bootstrap/38088 (gcc fails to compile with undefined symbol: __LONG_LONG_MAX__... X-Git-Tag: releases/gcc-4.4.0~1692 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3b5391959d64956517ddd1a70d5d0fd6c2a12fa6;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f36a6667f3c4..c53ee196c71d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2008-11-13 Andrew Haley + + PR bootstrap/38088 + * mcf.c (CAP_INFINITY): Use HOST_WIDEST_INT maximum, not GCC specific + __LONG_LONG_MAX__. + 2008-11-12 Jakub Jelinek PR c++/36478 diff --git a/gcc/mcf.c b/gcc/mcf.c index d7bc5f30e721..9d3d76919109 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))