https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81818
--- Comment #7 from Andrew Roberts <andrewm.roberts at sky dot com> --- I'll try the memory testing on both arm and aarch64. I've also tried -fopt-info-all-optall, I was hoping this would provide some info on what was happening, but it only seems to give any output under -O3.