This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix gcjh handling of most negative int/longs


>>>>> "Jakub" == Jakub Jelinek <jakub@redhat.com> writes:

Jakub> Only in libjava/gcj/javaprims.h, i.e. it has the right type in libjava.
Jakub> But not in gcc/java, where it is typedefed to long.

Instead we should fix javaop.h so that jint is always 32 bits and
jlong always 64 bits.  It seems likely that other code in the front
end relies on this.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]