https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119614
--- Comment #18 from Sam James <sjames at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #17) > Tried compiling the pr119614.C test from my last patch with -O2 -r -flto=2 > -flto-partition=max but for some reason that still doesn't force each > function to a separate partition. Try g++ -flto -flto-partition=max -O2 -shared on that.