https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78180
--- Comment #8 from Barry Revzin ---
-D_GLIBCXX_USE_CXX11_ABI=0 doesn't matter. It's just that I'd compiled google
benchmark with 4.8, and then wanted to test this behavior with 5.4 and 6.2. It
has no impact on the generated assembly as far as I
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78180
--- Comment #7 from Andrew Pinski ---
By moving the array to be end of struct Rolling, GCC does the correct thing and
optimizing out the load of idx out of the loop.
That is:
template class Rolling {
uint32_t idx_;
const uint32_t size_;
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78180
Andrew Pinski changed:
What|Removed |Added
Component|middle-end |tree-optimization
--- Comment #6 from An