This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Simplify -fwhole-program documentation
On Wed, 6 Mar 2013, Jan Hubicka wrote:
> >
> > 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?
Do you know one? Apart from 'gcc -flto ... -v 2>&1 | grep --
-fresolution'?
;)
I've installed the patch for now.
Richard.