------- Comment #3 from danglin at gcc dot gnu dot org  2007-12-14 17:36 -------
HOST_BITS_PER_WIDE_INT is 32 because NEED_64BIT_HOST_WIDE_INT
is not defined in auto-host.h:

/* Define to 1 if HOST_WIDE_INT must be 64 bits wide (see hwint.h). */
#ifndef USED_FOR_TARGET
/* #undef NEED_64BIT_HOST_WIDE_INT */
#endif

In hwint.h:
#if HOST_BITS_PER_LONG >= 64 || !defined NEED_64BIT_HOST_WIDE_INT
#   define HOST_BITS_PER_WIDE_INT HOST_BITS_PER_LONG
#   define HOST_WIDE_INT long

We have this statement in config.gcc:

#  need_64bit_hwint     Set to yes if HOST_WIDE_INT must be 64 bits wide
#                       for this target.  This is true iff this target
#                       supports "long" or "wchar_t" wider than 32 bits.

The above is not true, so it would appear this is not a target bug.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34458

Reply via email to