https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80826
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> --- FWIW using -O1 -g -ftime-report on the original code with GCC 5.4.1 gives: TOTAL :1387.17 5.14 1462.36 2427702 kB And also prints the -fvar-tracking-assignments note.