This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] Coverage testing and random seed


> Jan Hubicka wrote:
> >Hi,
> >Current mainline fails to profile eon because of difference of name of
> >static constructor comming from random_seed.  I didn't find any better
> >fix than the hack bellow.  Does someone has better idea?  If not, I will
> >commit it to both mainline and release branch tomorrow.
> 
> Why is -frandom-seed not useable?

Because I really do not want -frandom-seed to be required for profilling.
(especially when the failure gives no clue about what is going wrong)
My hack of removing the random parts of filenames appears to work and
I've applied it to the tree already.

Alternate would be to give sorry message when random-seed is used with
profiling and it is not explicitly set, but I believe it is worse
sollution.

Honza
> 
> nathan
> -- 
> Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
> nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk
> 
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]