wide-int.cc: Only include longlong.h if W_TYPE_SIZE==32 or __SIZEOF_INT128__ is defined.
gcc/ * wide-int.cc: Only include longlong.h if W_TYPE_SIZE==32 or __SIZEOF_INT128__ is defined. From-SVN: r210546
This commit is contained in:
parent
220f44b77e
commit
60f82c425b
2 changed files with 11 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2014-05-17 Richard Sandiford <r.sandiford@uk.ibm.com>
|
||||
|
||||
* wide-int.cc: Only include longlong.h if W_TYPE_SIZE==32 or
|
||||
__SIZEOF_INT128__ is defined.
|
||||
|
||||
2014-05-17 Richard Sandiford <rdsandiford@googlemail.com>
|
||||
|
||||
* config/rs6000/rs6000.c (rs6000_real_tls_symbol_ref_p): New function.
|
||||
|
|
|
@ -27,13 +27,18 @@ along with GCC; see the file COPYING3. If not see
|
|||
#include "tree.h"
|
||||
#include "dumpfile.h"
|
||||
|
||||
#if GCC_VERSION >= 3000
|
||||
#define W_TYPE_SIZE HOST_BITS_PER_WIDE_INT
|
||||
#if GCC_VERSION >= 3000 && (W_TYPE_SIZE == 32 || defined (__SIZEOF_INT128__))
|
||||
typedef unsigned HOST_HALF_WIDE_INT UHWtype;
|
||||
typedef unsigned HOST_WIDE_INT UWtype;
|
||||
typedef unsigned int UQItype __attribute__ ((mode (QI)));
|
||||
typedef unsigned int USItype __attribute__ ((mode (SI)));
|
||||
typedef unsigned int UDItype __attribute__ ((mode (DI)));
|
||||
#if W_TYPE_SIZE == 32
|
||||
typedef unsigned int UDWtype __attribute__ ((mode (DI)));
|
||||
#else
|
||||
typedef unsigned int UDWtype __attribute__ ((mode (TI)));
|
||||
#endif
|
||||
#include "longlong.h"
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue