Commit 44f9a8e4 by Zack Weinberg

hwint.h: If the current compiler has no 64-bit type at all, make HOST_WIDEST_INT 32 bits.

	* hwint.h: If the current compiler has no 64-bit type at all,
	make HOST_WIDEST_INT 32 bits.

From-SVN: r60951
parent 2610198a
2003-01-06 Zack Weinberg <zack@codesourcery.com>
* hwint.h: If the current compiler has no 64-bit type at all,
make HOST_WIDEST_INT 32 bits.
2003-01-06 Eric Christopher <echristo@redhat.com> 2003-01-06 Eric Christopher <echristo@redhat.com>
* config/mips/mips.md (movdf_internal2): Fix constraints. * config/mips/mips.md (movdf_internal2): Fix constraints.
......
...@@ -88,10 +88,11 @@ extern char sizeof_long_long_must_be_8[sizeof(long long) == 8 ? 1 : -1]; ...@@ -88,10 +88,11 @@ extern char sizeof_long_long_must_be_8[sizeof(long long) == 8 ? 1 : -1];
# define HOST_WIDE_INT_PRINT_DOUBLE_HEX "0x%llx%016llx" # define HOST_WIDE_INT_PRINT_DOUBLE_HEX "0x%llx%016llx"
#endif #endif
/* Set HOST_WIDEST_INT. Unlike HOST_WIDE_INT, this must always be /* Set HOST_WIDEST_INT. This is a 64-bit type unless the compiler
at least 64 bits wide. */ in use has no 64-bit type at all; in that case it's 32 bits. */
#if HOST_BITS_PER_WIDE_INT >= 64 #if HOST_BITS_PER_WIDE_INT >= 64 \
|| (HOST_BITS_PER_LONGLONG < 64 && HOST_BITS_PER___INT64 < 64)
# define HOST_WIDEST_INT HOST_WIDE_INT # define HOST_WIDEST_INT HOST_WIDE_INT
# define HOST_BITS_PER_WIDEST_INT HOST_BITS_PER_WIDE_INT # define HOST_BITS_PER_WIDEST_INT HOST_BITS_PER_WIDE_INT
# define HOST_WIDEST_INT_PRINT_DEC HOST_WIDE_INT_PRINT_DEC # define HOST_WIDEST_INT_PRINT_DEC HOST_WIDE_INT_PRINT_DEC
...@@ -110,7 +111,7 @@ extern char sizeof_long_long_must_be_8[sizeof(long long) == 8 ? 1 : -1]; ...@@ -110,7 +111,7 @@ extern char sizeof_long_long_must_be_8[sizeof(long long) == 8 ? 1 : -1];
# define HOST_BITS_PER_WIDEST_INT HOST_BITS_PER___INT64 # define HOST_BITS_PER_WIDEST_INT HOST_BITS_PER___INT64
# define HOST_WIDEST_INT __int64 # define HOST_WIDEST_INT __int64
# else # else
#error "Unable to find a suitable type for HOST_WIDEST_INT" #error "This line should be impossible to reach"
# endif # endif
# endif # endif
# define HOST_WIDEST_INT_PRINT_DEC "%lld" # define HOST_WIDEST_INT_PRINT_DEC "%lld"
......
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