https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122430
--- Comment #3 from Xi Ruoyao <xry111 at gcc dot gnu.org> --- (In reply to Sam James from comment #2) > (In reply to Xi Ruoyao from comment #0) > > -flto-partition=max is needed for a minimal reproducer but in practice this > > breaks libXfont-1.5.4 with CFLAGS="-O2 -flto -fPIC" without any > > -flto-partition. > > (Just out of interest, how did that manifest?) A software named tinyx needs to interpose RegisterFPEFunctions from libXfont, but the RegisterFPEFunctions call in FontFileRegisterLocalFpeFunctions is optimized away.
