Commit 60f82c42 by Richard Sandiford Committed by Richard Sandiford

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
parent 220f44b7
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> 2014-05-17 Richard Sandiford <rdsandiford@googlemail.com>
* config/rs6000/rs6000.c (rs6000_real_tls_symbol_ref_p): New function. * 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 ...@@ -27,13 +27,18 @@ along with GCC; see the file COPYING3. If not see
#include "tree.h" #include "tree.h"
#include "dumpfile.h" #include "dumpfile.h"
#if GCC_VERSION >= 3000
#define W_TYPE_SIZE HOST_BITS_PER_WIDE_INT #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_HALF_WIDE_INT UHWtype;
typedef unsigned HOST_WIDE_INT UWtype; typedef unsigned HOST_WIDE_INT UWtype;
typedef unsigned int UQItype __attribute__ ((mode (QI))); typedef unsigned int UQItype __attribute__ ((mode (QI)));
typedef unsigned int USItype __attribute__ ((mode (SI))); typedef unsigned int USItype __attribute__ ((mode (SI)));
typedef unsigned int UDItype __attribute__ ((mode (DI))); 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" #include "longlong.h"
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment