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
This commit is contained in:
Andrew Haley 2008-11-13 10:26:51 +00:00 committed by Jakub Jelinek
parent bf0e1bf525
commit 3b5391959d
2 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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))