https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54063
--- Comment #23 from Segher Boessenkool <segher at gcc dot gnu.org> --- Trunk does lookup: .quad .L.lookup,.TOC.@tocbase,0 .previous .type lookup, @function .L.lookup: .LFB0: .cfi_startproc addis 9,2,.LANCHOR0@toc@ha ld 9,.LANCHOR0@toc@l(9) addis 8,2,.LANCHOR0@toc@ha addi 8,8,.LANCHOR0@toc@l cmpd 0,9,8 bne 0,.L3 b .L4 so no, not fixed.