RFR(XS): 8131676: Fix warning 'negative int converted to unsigned' after 8085932. (original) (raw)

Vladimir Kozlov vladimir.kozlov at oracle.com
Thu Jul 16 18:35:28 UTC 2015


Hi Goetz,

Looks good.

Do you see also next problem?:

hotspot/src/cpu/x86/vm/vm_version_x86.hpp:485: error: integer constant is too large for ‘long’ type hotspot/src/cpu/x86/vm/vm_version_x86.hpp:705: error: integer constant is too large for ‘long’ type

Can you fix and test it too? Use CONST64:

#define CPU_AVX512VL CONST64(0x100000000)

On 7/16/15 5:25 AM, Lindenmaier, Goetz wrote:

Hi,

A new warning kills the build with gcc 4.2. Could I please get a review and a sponsor for this tiny change? http://cr.openjdk.java.net/~goetz/webrevs/8131676-negUInt/webrev.01/ Best regards, Goetz.



More information about the hotspot-compiler-dev mailing list