PR bootstrap/PR61146

PR bootstrap/PR61146
	* wide-int.cc: Do not include longlong.h when compiling with clang.

From-SVN: r211023
This commit is contained in:
Francois-Xavier Coudert 2014-05-28 15:17:29 +00:00 committed by François-Xavier Coudert
parent 6e5799b904
commit ecc7533ad7
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2014-05-28 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
PR bootstrap/PR61146
* wide-int.cc: Do not include longlong.h when compiling with clang.
2014-05-28 Richard Biener <rguenther@suse.de>
* tree-ssa-propagate.c (add_control_edge): Print less vertical space.

View File

@ -38,7 +38,8 @@ along with GCC; see the file COPYING3. If not see
#endif
#define W_TYPE_SIZE HOST_BITS_PER_WIDE_INT
#if GCC_VERSION >= 3000 && (W_TYPE_SIZE == 32 || defined (__SIZEOF_INT128__))
/* Do not include longlong.h when compiler is clang-based. See PR61146. */
#if GCC_VERSION >= 3000 && (W_TYPE_SIZE == 32 || defined (__SIZEOF_INT128__)) && !defined(__clang__)
typedef unsigned HOST_HALF_WIDE_INT UHWtype;
typedef unsigned HOST_WIDE_INT UWtype;
typedef unsigned int UQItype __attribute__ ((mode (QI)));