Some applications may still try to add "-Os" option even if GCC doesn't configure with --enable-target-optspace. Sometimes, these poison parameters may cause APP binary crash. It is good if GCC could find this flaw in build time and let user aware of the potential issue.
http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?id=ce456306dad3fdf42494830011dacae213c48edf
Vefified against the commit.