UltraSPARC 16-bit assignments severely broken [analysis]
Todd Vierling
tv@pobox.com
Wed Jul 26 04:07:00 GMT 2000
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)
More information about the Gcc-bugs
mailing list