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

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
We can add patterns to support

(call (mem:QI (zero_extend:DI (mem/u/c:SI (const:SI (unspec:SI [
                            (symbol_ref:SI ("bar") [flags 0x41]  <function_decl
0x7f19fd7bbbd0 bar>)
                        ] UNSPEC_GOTPCREL)) [1  S4 A8])) [0 bar S1 A8])
    (const_int 0 [0]))

It is "call *bar@GOTPCREL(%rip)"

Reply via email to