This is the mail archive of the gcc@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: retry_ice mechanism doesn't work reliably with C++


Michael Matz <matz@suse.de> writes:

> Hi Jakub,
> 
> we just noticed that sometimes the retry_ice doesn't find some ICEs
> reproducable with C++.  The problem being that it compares the assembler
> output of the different tries, and bails out if they are different.  For
> anon namespaces the mangled symbols are randomized making the output
> unequal, leading to the usual "not reproducible" warning.  I just wanted
> to note about this problem.  I think I'll remove the comparing of output
> and just leave comparing of stderr in the hammer branch.  That should be
> good enough to ensure reproducability.

You can use the -frandom-seed option to make GCC's output consistent.

-- 
- Geoffrey Keating <geoffk@geoffk.org>


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