retry_ice mechanism doesn't work reliably with C++
Joe Buck
Joe.Buck@synopsys.COM
Mon Mar 1 18:22:00 GMT 2004
On Mon, Mar 01, 2004 at 03:39:07PM +0100, Michael Matz wrote:
> 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.
And this (mangling anon namespace symbols instead of making them static)
is a feature that I would dearly like to get rid of, or at least use more
rarely. The reasons given for needing to make anonymous namespace symbols
global apply to rather theoretical cases, mainly involving the "export"
feature which we have not even implemented. It seems an overly cautious
approach that creates more problems than it solves.
More information about the Gcc
mailing list