This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/43449] sbitmap is broken if gcc is built with -m32 on a 64-bit machine.
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Mar 2010 21:02:28 -0000
- Subject: [Bug other/43449] sbitmap is broken if gcc is built with -m32 on a 64-bit machine.
- References: <bug-43449-14703@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2010-03-19 21:02 -------
SBITMAP_ELT_TYPE is defined as HOST_WIDEST_FAST_INT. And HOST_WIDEST_FAST_INT
(added by me) is either "long" or "long long". Yes there should be a cast but
it cannot be an issue really with -m32 really because long is the same size as
int there. The host is LP32 as you described so long is the same size as int.
If HOST_WIDEST_FAST_INT is "long long" there, there is bug in the configuration
as that will slow down the compiler anyways.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43449