UltraSPARC 16-bit assignments severely broken [analysis]
David S. Miller
davem@redhat.com
Tue Jul 25 22:00:00 GMT 2000
Date: Sun, 23 Jul 2000 22:54:11 -0400 (EDT)
From: "Charles M. Hannum" <root@ihack.net>
That is, unfortunately, a rather unhelpful answer. The point of this
exercise is that I *need* a working UltraSPARC compiler, badly enough
that I'm willing to fix it myself. I just want to know if people have
specific thoughts on which way I should do it.
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.
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.
Later,
David S. Miller
davem@redhat.com
More information about the Gcc-bugs
mailing list