This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/34458] [4.3 Regression] ICE in int_cst_value, at tree.c:8047 at -O3
- From: "danglin at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Dec 2007 17:36:01 -0000
- Subject: [Bug target/34458] [4.3 Regression] ICE in int_cst_value, at tree.c:8047 at -O3
- References: <bug-34458-12387@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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