https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70359
--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> --- All I wanted to say is that it is to be expected that on some code a newer GCC version ends up needing one or two more instructions, even at -Os, and what matters is not the size of a single function, but larger codebases. If the testcase here has been extracted from CSiBE and/or represents something that happens often, then it is of course desirable to fix that. So e.g. it would be interesting to find out what impact these above mentioned commits have on larger codebases. If they are in the end neutral or shrink code size, then one testcase going in the other direction is fine, if they have overal negative -Os code size effects, then it is something to work on.