https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102534
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|RFE epilog is not reliably |RFE epilog is not reliably |a statement |a statement with | |optimization --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- For -O0 -g we get: call printf .loc 1 6 1 nop leave .cfi_def_cfa 7, 8 ret .cfi_endproc Oh you are doing this at -O2.