Does anyone use -fprofile-use with C++?

Andrew Pinski pinskia@physics.uc.edu
Thu Apr 7 22:32:00 GMT 2005


On Apr 7, 2005, at 6:01 PM, Daniel Kegel wrote:

> Judging by http://gcc.gnu.org/PR20815, I get the feeling
> not many people are using the -fprofile-generate
> and -fprofile-use options yet, at least not with
> C++, since it appears that namespaces make those options
> fall over...  It'd be nice to get this fixed for gcc-4.0
> (assuming it's a real bug and not just user error).

anonymous names are always problems,  as I wrote in the bug
you can use -frandom-seed=somenumber and it should fix the problem,
I have not tested it.

-- Pinski



More information about the Gcc mailing list