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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to nsz from comment #0)
> x86 version of bug 92424
> 
> endbr64 is not right at the function label with
> -fcf-protection=full -fpatchable-function-entry=1
> 
> void f(){} is compiled to
> 
> f:
>       .section        __patchable_function_entries,"aw",@progbits
>       .quad   .LPFE1
>       .text
> .LPFE1:
>       nop
> .LFB0:
>       .cfi_startproc
>       endbr64
>       ret
>       .cfi_endproc
> .LFE0:
>       .size   f, .-f

Is -fasynchronous-unwind-tables compatible with -fpatchable-function-entry?

Reply via email to