> 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.
Hehe, that is precisely what I was thinking about too, except that I would be 
grepping for plugin switch :)

Perhaps we could print this info in human readable form into  gcc --verbose or 
gcc --version or gcc --help?
With --verbose it is the place we ask people to look into expansion of 
-march=native & friends, so it may make sense.

Honza
> 
> Richard.

Reply via email to