This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java 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: FYI: Patch: java.net.InetAddress


>>>>> "Bryce" == Bryce McKinlay <bryce@mckinlay.net.nz> writes:

>> +    // Mask against high order bits of 1110
>> +    if (addr.length == 4)

Bryce> In this case, however, the compiler is hopefully smart enough to
Bryce> optimize out the second load, so it isn't a problem.

If not, let's fix the compiler.  It certainly ought to be able to do
this.  Could you look?

Tom


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