https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115673
--- Comment #7 from Uroš Bizjak <ubizjak at gmail dot com> --- (In reply to Richard Biener from comment #6) > So it likely expects f1@GOTPCREL(%rip) to be CSEd? > > f2: > .LFB2: > .cfi_startproc > subq $8, %rsp > .cfi_def_cfa_offset 16 > call *f1@GOTPCREL(%rip) This call is not indirect (through the register). > leaq f3(%rip), %rax > call *%rax > addq $8, %rsp > .cfi_def_cfa_offset 8 > jmp *f1@GOTPCREL(%rip) Neither is this sibcall indirect. '-mforce-indirect-call' Force all calls to functions to be indirect. This is useful when using Intel Processor Trace where it generates more precise timing information for function calls.