mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-21 15:41:09 +08:00
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:
parent
bf0e1bf525
commit
3b5391959d
@ -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
|
||||
|
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user