-
Enhancement
-
Resolution: Fixed
-
P4
-
12
-
b07
-
aarch32
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8271961 | 11.0.13 | Christoph Langer | P4 | Resolved | Fixed | b02 |
compiling with warnings as errors on ARM 32 yields:
In file included from /home/bellsoft/jdk/src/hotspot/cpu/arm/assembler_arm.hpp:400:0,
from /home/bellsoft/jdk/src/hotspot/share/asm/assembler.hpp:454,
from /home/bellsoft/jdk/src/hotspot/share/precompiled/precompiled.hpp:31:
/home/bellsoft/jdk/src/hotspot/cpu/arm/assembler_arm_32.hpp: In function ‘void Assembler::vdupI(FloatRegister, Register, Assembler::VElem_Size, int, AsmCondition)’:
/home/bellsoft/jdk/src/hotspot/cpu/arm/assembler_arm_32.hpp:1099:9: warning: ‘b’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int b;
^
/home/bellsoft/jdk/src/hotspot/cpu/arm/assembler_arm_32.hpp:1100:9: warning: ‘e’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int e;
^
/home/bellsoft/jdk/src/hotspot/cpu/arm/assembler_arm_32.hpp: In member function ‘void Assembler::vmovI(FloatRegister, int, Assembler::VElem_Size, int)’:
/home/bellsoft/jdk/src/hotspot/cpu/arm/assembler_arm_32.hpp:1070:9: warning: ‘cmode’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int cmode;
^~~~~
/home/bellsoft/jdk/src/hotspot/cpu/arm/assembler_arm_32.hpp: In member function ‘void Assembler::vdupI(FloatRegister, Register, Assembler::VElem_Size, int, AsmCondition)’:
/home/bellsoft/jdk/src/hotspot/cpu/arm/assembler_arm_32.hpp:1099:9: warning: ‘b’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int b;
^
/home/bellsoft/jdk/src/hotspot/cpu/arm/assembler_arm_32.hpp:1100:9: warning: ‘e’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int e;
^
In file included from /home/bellsoft/jdk/src/hotspot/cpu/arm/c1_CodeStubs_arm.cpp:27:0:
/home/bellsoft/jdk/src/hotspot/share/c1/c1_CodeStubs.hpp: In constructor ‘RangeCheckStub::RangeCheckStub(CodeEmitInfo*, LIR_Opr, LIR_Opr)’:
/home/bellsoft/jdk/src/hotspot/share/c1/c1_CodeStubs.hpp:151:17: warning: ‘RangeCheckStub::_throw_index_out_of_bounds_exception’ will be initialized after [-Wreorder]
bool _throw_index_out_of_bounds_exception;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/bellsoft/jdk/src/hotspot/share/c1/c1_CodeStubs.hpp:149:17: warning: ‘LIR_OprDesc* RangeCheckStub::_index’ [-Wreorder]
LIR_Opr _index;
^~~~~~
/home/bellsoft/jdk/src/hotspot/cpu/arm/c1_CodeStubs_arm.cpp:54:1: warning: when initialized here [-Wreorder]
RangeCheckStub::RangeCheckStub(CodeEmitInfo* info, LIR_Opr index, LIR_Opr array)
^~~~~~~~~~~~~~
In file included from /home/bellsoft/jdk/src/hotspot/cpu/arm/c1_CodeStubs_arm.cpp:27:0:
/home/bellsoft/jdk/src/hotspot/share/c1/c1_CodeStubs.hpp: In constructor ‘RangeCheckStub::RangeCheckStub(CodeEmitInfo*, LIR_Opr)’:
/home/bellsoft/jdk/src/hotspot/share/c1/c1_CodeStubs.hpp:151:17: warning: ‘RangeCheckStub::_throw_index_out_of_bounds_exception’ will be initialized after [-Wreorder]
bool _throw_index_out_of_bounds_exception;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/bellsoft/jdk/src/hotspot/share/c1/c1_CodeStubs.hpp:149:17: warning: ‘LIR_OprDesc* RangeCheckStub::_index’ [-Wreorder]
LIR_Opr _index;
^~~~~~
/home/bellsoft/jdk/src/hotspot/cpu/arm/c1_CodeStubs_arm.cpp:60:1: warning: when initialized here [-Wreorder]
RangeCheckStub::RangeCheckStub(CodeEmitInfo* info, LIR_Opr index)
^~~~~~~~~~~~~~
In file included from /home/bellsoft/jdk/src/hotspot/cpu/arm/assembler_arm.hpp:400:0,
from /home/bellsoft/jdk/src/hotspot/share/asm/assembler.hpp:454,
from /home/bellsoft/jdk/src/hotspot/share/precompiled/precompiled.hpp:31:
/home/bellsoft/jdk/src/hotspot/cpu/arm/assembler_arm_32.hpp: In function ‘void Assembler::vdupI(FloatRegister, Register, Assembler::VElem_Size, int, AsmCondition)’:
/home/bellsoft/jdk/src/hotspot/cpu/arm/assembler_arm_32.hpp:1099:9: warning: ‘b’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int b;
^
/home/bellsoft/jdk/src/hotspot/cpu/arm/assembler_arm_32.hpp:1100:9: warning: ‘e’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int e;
^
/home/bellsoft/jdk/src/hotspot/cpu/arm/assembler_arm_32.hpp: In member function ‘void Assembler::vmovI(FloatRegister, int, Assembler::VElem_Size, int)’:
/home/bellsoft/jdk/src/hotspot/cpu/arm/assembler_arm_32.hpp:1070:9: warning: ‘cmode’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int cmode;
^~~~~
/home/bellsoft/jdk/src/hotspot/cpu/arm/assembler_arm_32.hpp: In member function ‘void Assembler::vdupI(FloatRegister, Register, Assembler::VElem_Size, int, AsmCondition)’:
/home/bellsoft/jdk/src/hotspot/cpu/arm/assembler_arm_32.hpp:1099:9: warning: ‘b’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int b;
^
/home/bellsoft/jdk/src/hotspot/cpu/arm/assembler_arm_32.hpp:1100:9: warning: ‘e’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int e;
^
In file included from /home/bellsoft/jdk/src/hotspot/cpu/arm/c1_CodeStubs_arm.cpp:27:0:
/home/bellsoft/jdk/src/hotspot/share/c1/c1_CodeStubs.hpp: In constructor ‘RangeCheckStub::RangeCheckStub(CodeEmitInfo*, LIR_Opr, LIR_Opr)’:
/home/bellsoft/jdk/src/hotspot/share/c1/c1_CodeStubs.hpp:151:17: warning: ‘RangeCheckStub::_throw_index_out_of_bounds_exception’ will be initialized after [-Wreorder]
bool _throw_index_out_of_bounds_exception;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/bellsoft/jdk/src/hotspot/share/c1/c1_CodeStubs.hpp:149:17: warning: ‘LIR_OprDesc* RangeCheckStub::_index’ [-Wreorder]
LIR_Opr _index;
^~~~~~
/home/bellsoft/jdk/src/hotspot/cpu/arm/c1_CodeStubs_arm.cpp:54:1: warning: when initialized here [-Wreorder]
RangeCheckStub::RangeCheckStub(CodeEmitInfo* info, LIR_Opr index, LIR_Opr array)
^~~~~~~~~~~~~~
In file included from /home/bellsoft/jdk/src/hotspot/cpu/arm/c1_CodeStubs_arm.cpp:27:0:
/home/bellsoft/jdk/src/hotspot/share/c1/c1_CodeStubs.hpp: In constructor ‘RangeCheckStub::RangeCheckStub(CodeEmitInfo*, LIR_Opr)’:
/home/bellsoft/jdk/src/hotspot/share/c1/c1_CodeStubs.hpp:151:17: warning: ‘RangeCheckStub::_throw_index_out_of_bounds_exception’ will be initialized after [-Wreorder]
bool _throw_index_out_of_bounds_exception;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/bellsoft/jdk/src/hotspot/share/c1/c1_CodeStubs.hpp:149:17: warning: ‘LIR_OprDesc* RangeCheckStub::_index’ [-Wreorder]
LIR_Opr _index;
^~~~~~
/home/bellsoft/jdk/src/hotspot/cpu/arm/c1_CodeStubs_arm.cpp:60:1: warning: when initialized here [-Wreorder]
RangeCheckStub::RangeCheckStub(CodeEmitInfo* info, LIR_Opr index)
^~~~~~~~~~~~~~
- backported by
-
JDK-8271961 ARM: cleanup maybe-uninitialized and reorder compiler warnings
-
- Resolved
-
- relates to
-
JDK-8209193 Fix aarch64-linux compilation after -Wreorder changes
-
- Resolved
-
-
JDK-8213450 Cross Compile openjdk for arm fails build with c1_LIRGenerator_arm.cpp warnings
-
- Closed
-