https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68369
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |missed-optimization
Target| |i?86-*-*
Status|UNCONFIRMED |NEW
Last reconfirmed| |2015-11-16
Ever confirmed|0 |1
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
I believe on i?86 with -Os we have the frame pointer enabled by default because
usually that gives smaller code (for argument stack slot accesses). Try
-Os -fomit-frame-pointer.
This is a missed-optimization (when no frame is actually needed).