https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81818
--- Comment #11 from Andrew Roberts <andrewm.roberts at sky dot com> --- Created attachment 41992 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41992&action=edit gcc-7.2.0 -fmem-report output for arm, aarch64, and x86-64 Output for gcc 7.2.0 with -fmem-report (as gcc-7.2.0-fmem-report.tar.bz2). g++ -Ox -fmem-report -c testmap.cpp where -Ox is one of: -O0, -O1, -O2, -O3, or -O1 -fgcse This is across: x64 (x86-64) , arm, aarch64-rpi3 (aarch64) Both Raspberry Pi 3 systems are identical, one has 32 bit OS, other has 64 bit OS (Arch Linux ARM) The files are named: gcc-7.2.0-[arch]-[opt].txt.