This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: UltraSPARC 16-bit assignments severely broken [analysis]
- To: "David S. Miller" <davem at redhat dot com>
- Subject: Re: UltraSPARC 16-bit assignments severely broken [analysis]
- From: Todd Vierling <tv at pobox dot com>
- Date: Wed, 26 Jul 2000 06:58:00 -0400 (EDT)
- cc: root at ihack dot net, bug-gcc at gnu dot org
On Tue, 25 Jul 2000, David S. Miller wrote:
: Code inspection suggests that this particular bug is still present in
: 2.96, so `upgrading' is not going to me help me either.
:
: Build the cross compiler with -DHOST_WIDE_INT="long long" in the
: CFLAGS and the bug will go away.
That's not really a fix, considering that this is not done by the default
gcc configuration procedure....
: In fact this is how we do all of our 32-->64 cross builds under Linux
: for the kernel compiler, and also this will enable many optimizations
: which are normally disabled when HOST_WIDE_INT is smaller than the
: machine word size of the target.
If this is `normal procedure', then gcc should default to a 64-bit native
integer type, where available, when targeting a 64-bit target. Defaulting
to 32-bit HOST_WIDE_INT when it's _known_ [by Cygnus/Redhat] to break is
bogus.
--
-- Todd Vierling (tv@pobox.com)