gcc++ 5.1

Neale Ferguson neale at sinenomine.net
Wed Jun 3 19:54:46 UTC 2015


I think there may be a problem with the compiler. Building v8z and get:

../src/hydrogen-check-elimination.cc: In member function ‘void
v8::internal::HFlowEngine<State,
Effects>::AnalyzeDominatedBlocks(v8::internal::HBasicBlock*, State*) [with
State = v8::internal::HCheckTable; Effects =
v8::internal::HCheckMapsEffects]’:
../src/hydrogen-check-elimination.cc:668:44: error: array subscript is
above array bounds [-Werror=array-bounds]
       HCheckTableEntry* entry = &entries_[i];
                                            ^
../src/hydrogen-check-elimination.cc:668:44: error: array subscript is
above array bounds [-Werror=array-bounds]
../src/hydrogen-check-elimination.cc:668:44: error: array subscript is
above array bounds [-Werror=array-bounds]
../src/hydrogen-check-elimination.cc:668:44: error: array subscript is
above array bounds [-Werror=array-bounds]
../src/hydrogen-check-elimination.cc:668:44: error: array subscript is
above array bounds [-Werror=array-bounds]
       HCheckTableEntry* entry = &entries_[i];
                                            ^
../src/hydrogen-check-elimination.cc:668:44: error: array subscript is
above array bounds [-Werror=array-bounds]
../src/hydrogen-check-elimination.cc:668:44: error: array subscript is
above array bounds [-Werror=array-bounds]
../src/hydrogen-check-elimination.cc:668:44: error: array subscript is
above array bounds [-Werror=array-bounds]


i goes from 0 to size and the array size is non-zero, so I do not think
this is a valid error. It compiles cleanly under 4.4.7.

Neale



More information about the s390x mailing list