Patch: work around recent shs.h change
Tom Tromey
tromey@redhat.com
Tue Feb 12 15:14:00 GMT 2002
>>>>> "Anthony" == Anthony Green <green@redhat.com> writes:
Tom> What if we instead use the code in java/lang/mprec.h? I had a
Tom> vague recollection that we already dealt with this problem.
Anthony> I don't like that solution because it assumes SI mode things
Anthony> are 32-bits and may fail silently if this isn't the case
Anthony> (like on 16-bit ports).
I was poking at gcc a bit today and I found this in the manual:
`SImode'
"Single Integer" mode represents a four-byte integer.
Maybe the comments in mprec.h are wrong, and SI is always 32 bits.
In that case using this approach is always safe.
Tom
More information about the Java-patches
mailing list