> > This removes all encouragement to use -fwhole-program with -flto > from the documentation. As can be seen in PR56533 it can be > most confusing ... instead advise to rely on a linker plugin. > > Ok?
Seems resomable thing to do. However I guess a lot of users are still have non-linker-plugin enabled setup. Perhaps we can add a sentence how to figure out if your setup is plugin enabled and thus working well w/o -fwhole-program? Honza