https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87373
--- Comment #9 from Murat Ursavaş <murat.ursavas at gmail dot com> --- Umesh, The reason is step-by-step debugging. I'd like to debug it first with -O0, than pack it with -Os for the release. Otherwise with a low resource MCU, things become messy really fast.