https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91489
--- Comment #1 from Paul Gofman <gofmanp at gmail dot com> --- Created attachment 46739 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46739&action=edit Pop frame pointer in function label if it is not needed instead of prologue for "ms_hook_prologue" functions on i386 The attached patch fixes the issue for me. I am not sure if that is the best way to fix it though.