This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC] Coverage testing and random seed
- From: Jan Hubicka <jh at suse dot cz>
- To: Nathan Sidwell <nathan at codesourcery dot com>
- Cc: Jan Hubicka <jh at suse dot cz>, gcc-patches at gcc dot gnu dot org
- Date: Sun, 18 Jan 2004 22:40:32 +0100
- Subject: Re: [RFC] Coverage testing and random seed
- References: <20040117235533.GT3217@kam.mff.cuni.cz> <400AEBF5.809@codesourcery.com>
> 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
>
>