-
Sub-task
-
Resolution: Fixed
-
P4
-
9
-
b129
/home/ysuenaga/OpenJDK/hs/hotspot/src/share/vm/classfile/altHashing.cpp:227:43: error: narrowing conversion of '2206368128u' from 'unsigned int' to 'jint {aka int}' inside { } [-Wnarrowing]
static const jint ONE_INT[] = { 0x83828180};
^
/home/ysuenaga/OpenJDK/hs/hotspot/src/share/vm/classfile/altHashing.cpp:238:55: error: narrowing conversion of '2206368128u' from 'unsigned int' to 'jint {aka int}' inside { } [-Wnarrowing]
static const jint TWO_INT[] = { 0x83828180, 0x87868584};
^
/home/ysuenaga/OpenJDK/hs/hotspot/src/share/vm/classfile/altHashing.cpp:238:55: error: narrowing conversion of '2273740164u' from 'unsigned int' to 'jint {aka int}' inside { } [-Wnarrowing]
lib/CompileJvm.gmk:193: recipe for target '/home/ysuenaga/OpenJDK/hs/build/linux-x86_64-normal-server-fastdebug/hotspot/variant-server/libjvm/objs/altHashing.o' failed
gmake[4]: *** [/home/ysuenaga/OpenJDK/hs/build/linux-x86_64-normal-server-fastdebug/hotspot/variant-server/libjvm/objs/altHashing.o] Error 1
---------
/home/ysuenaga/OpenJDK/hs/hotspot/src/os/linux/vm/os_linux.cpp: In static member function 'static void* os::dll_load(const char*, char*, int)':
/home/ysuenaga/OpenJDK/hs/hotspot/src/os/linux/vm/os_linux.cpp:1821:66: error: narrowing conversion of 'elf_head.Elf32_Ehdr::e_ident[4]' from 'unsigned char' to 'char' inside { } [-Werror=narrowing]
arch_t lib_arch={elf_head.e_machine,0,elf_head.e_ident[EI_CLASS], elf_head.e_ident[EI_DATA], NULL};
~~~~~~~~~~~~~~~~~~~~~~~~~^
/home/ysuenaga/OpenJDK/hs/hotspot/src/os/linux/vm/os_linux.cpp:1821:93: error: narrowing conversion of 'elf_head.Elf32_Ehdr::e_ident[5]' from 'unsigned char' to 'char' inside { } [-Werror=narrowing]
arch_t lib_arch={elf_head.e_machine,0,elf_head.e_ident[EI_CLASS], elf_head.e_ident[EI_DATA], NULL};
~~~~~~~~~~~~~~~~~~~~~~~~^
cc1plus: all warnings being treated as errors
---------
/home/ysuenaga/OpenJDK/hs/hotspot/src/share/vm/opto/type.cpp:101:1: error: narrowing conversion of '(uint)Node::NotAMachineReg' from 'uint {aka unsigned int}' to 'int' inside { } [-Werror=narrowing]
};
^
/home/ysuenaga/OpenJDK/hs/hotspot/src/share/vm/opto/type.cpp:101:1: error: narrowing conversion of '(uint)Node::NotAMachineReg' from 'uint {aka unsigned int}' to 'int' inside { } [-Werror=narrowing]
/home/ysuenaga/OpenJDK/hs/hotspot/src/share/vm/opto/type.cpp:101:1: error: narrowing conversion of '(uint)Node::NotAMachineReg' from 'uint {aka unsigned int}' to 'int' inside { } [-Werror=narrowing]
cc1plus: all warnings being treated as errors
static const jint ONE_INT[] = { 0x83828180};
^
/home/ysuenaga/OpenJDK/hs/hotspot/src/share/vm/classfile/altHashing.cpp:238:55: error: narrowing conversion of '2206368128u' from 'unsigned int' to 'jint {aka int}' inside { } [-Wnarrowing]
static const jint TWO_INT[] = { 0x83828180, 0x87868584};
^
/home/ysuenaga/OpenJDK/hs/hotspot/src/share/vm/classfile/altHashing.cpp:238:55: error: narrowing conversion of '2273740164u' from 'unsigned int' to 'jint {aka int}' inside { } [-Wnarrowing]
lib/CompileJvm.gmk:193: recipe for target '/home/ysuenaga/OpenJDK/hs/build/linux-x86_64-normal-server-fastdebug/hotspot/variant-server/libjvm/objs/altHashing.o' failed
gmake[4]: *** [/home/ysuenaga/OpenJDK/hs/build/linux-x86_64-normal-server-fastdebug/hotspot/variant-server/libjvm/objs/altHashing.o] Error 1
---------
/home/ysuenaga/OpenJDK/hs/hotspot/src/os/linux/vm/os_linux.cpp: In static member function 'static void* os::dll_load(const char*, char*, int)':
/home/ysuenaga/OpenJDK/hs/hotspot/src/os/linux/vm/os_linux.cpp:1821:66: error: narrowing conversion of 'elf_head.Elf32_Ehdr::e_ident[4]' from 'unsigned char' to 'char' inside { } [-Werror=narrowing]
arch_t lib_arch={elf_head.e_machine,0,elf_head.e_ident[EI_CLASS], elf_head.e_ident[EI_DATA], NULL};
~~~~~~~~~~~~~~~~~~~~~~~~~^
/home/ysuenaga/OpenJDK/hs/hotspot/src/os/linux/vm/os_linux.cpp:1821:93: error: narrowing conversion of 'elf_head.Elf32_Ehdr::e_ident[5]' from 'unsigned char' to 'char' inside { } [-Werror=narrowing]
arch_t lib_arch={elf_head.e_machine,0,elf_head.e_ident[EI_CLASS], elf_head.e_ident[EI_DATA], NULL};
~~~~~~~~~~~~~~~~~~~~~~~~^
cc1plus: all warnings being treated as errors
---------
/home/ysuenaga/OpenJDK/hs/hotspot/src/share/vm/opto/type.cpp:101:1: error: narrowing conversion of '(uint)Node::NotAMachineReg' from 'uint {aka unsigned int}' to 'int' inside { } [-Werror=narrowing]
};
^
/home/ysuenaga/OpenJDK/hs/hotspot/src/share/vm/opto/type.cpp:101:1: error: narrowing conversion of '(uint)Node::NotAMachineReg' from 'uint {aka unsigned int}' to 'int' inside { } [-Werror=narrowing]
/home/ysuenaga/OpenJDK/hs/hotspot/src/share/vm/opto/type.cpp:101:1: error: narrowing conversion of '(uint)Node::NotAMachineReg' from 'uint {aka unsigned int}' to 'int' inside { } [-Werror=narrowing]
cc1plus: all warnings being treated as errors
- relates to
-
JDK-8160748 Inconsistent types for ideal_reg
-
- Resolved
-