https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103274

Martin Storsjö <martin at martin dot st> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |martin at martin dot st

--- Comment #3 from Martin Storsjö <martin at martin dot st> ---
(In reply to Eric Botcazou from comment #1)
> > -freorder-blocks-and-partition sometimes causes a function to end right in a
> > (non-returning) call, but SEH needs at least one more instruction on x86_64.
> > Seen in GCC 10.3, 11.2 and git master. Maybe [1] did not cover all the 
> > cases?
> 
> SEH means "Structured Exception Handling" but there is no exception handling
> in this chunk of program since it's written in C and compiled without
> -fexceptions, so I'm not quite sure what you're expecting here.

Even if it doesn't have explicit exception handling, there's still unwind
information generated, and the needed "nop" instruction between the trailing
"call" instruction and ".seh_endproc" is missing.

Reply via email to