This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch: work around recent shs.h change
>>>>> "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