Describe the bug, including details regarding any error messages, version, and platform.
An implicit buffer-overflow bug in blow codes:
for (int x = 0; x < kValueSize; x++) {
v.emplace_back(100 + x, 100 + x);
}
for (auto _ : state) {
BasicDecimal128 result;
for (int x = 0; x < 100; x++) { // should be kValueSize
result += v[x];
}
benchmark::DoNotOptimize(result);
}
Component(s)
C++