https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67963
--- Comment #3 from Yulia Koval <julia.koval at intel dot com> --- Patch posted at: https://gcc.gnu.org/ml/gcc-patches/2015-10/msg01369.html The same test with this patch: objdump -d test.o test.o: file format elf32-i386 Disassembly of section .text: 00000000 <foo>: 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: a1 00 00 00 00 mov 0x0,%eax 8: 5d pop %ebp 9: c3 ret