https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82505
--- Comment #3 from David Barto <barto at cambridgesemantics dot com> --- I understand that it can't optimize much, my major concern is that the pointer version of the code is so much worse than the index version of the code.