This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: retry_ice mechanism doesn't work reliably with C++
- From: Geoff Keating <geoffk at geoffk dot org>
- To: Michael Matz <matz at suse dot de>
- Cc: gcc at gcc dot gnu dot org
- Date: 01 Mar 2004 11:48:27 -0800
- Subject: Re: retry_ice mechanism doesn't work reliably with C++
- References: <Pine.LNX.4.58.0403011531540.24101@wotan.suse.de>
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>