https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61915
--- Comment #6 from Vladimir Makarov <vmakarov at gcc dot gnu.org> --- (In reply to Evandro Menezes from comment #5) > Created attachment 33249 [details] > Dhrystone, part 2 of 3 > > I firstly observed this issue when looking into Dhrystone built with fairly > standard options: > > -O2 -fno-short-enums -fno-inline -fno-inline-functions > -fno-inline-small-functions -fno-inline-functions-called-once > -fomit-frame-pointer -funroll-all-loops > > If I add -mno-lra, the code size in dhry_1.o is about 2% smaller. Evandro, thanks for reporting this. Sorry, I am busy with other thing these days. I'll start to work on this PR in September to try to make some progress for the next GCC release. May be a better remeaterialization in LRA I am working on now will help the PR too.