https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103274
--- Comment #9 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-10 branch has been updated by Eric Botcazou <ebotca...@gcc.gnu.org>: https://gcc.gnu.org/g:ecc34ba16920957de21f89fc8b4c9efef7786f72 commit r10-10316-gecc34ba16920957de21f89fc8b4c9efef7786f72 Author: Eric Botcazou <ebotca...@adacore.com> Date: Tue Nov 30 10:17:09 2021 +0100 Fix -freorder-blocks-and-partition glitch with Windows SEH (continued) This fixes a thinko in the fix for the -freorder-blocks-and-partition glitch with SEH on 64-bit Windows: https://gcc.gnu.org/pipermail/gcc-patches/2021-February/565208.html Even if no exceptions are active, e.g. in C, we need to consider calls. gcc/ PR target/103274 * config/i386/i386.c (ix86_output_call_insn): Beef up comment about nops emitted with SEH. * config/i386/winnt.c (i386_pe_seh_unwind_emit): When switching to the cold section, emit a nop before the directive if the previous active instruction is a call.