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: [tuples] the intermittent bootstrap problem.


>  That is intermittent indeed.  I suppose you also tried running cc1 directly
> from the command line.

I did.
>
>  Yes, this would make it almost impossible to find a reduced testcase, but I
> don't see how this would be affected by running on makefile vs. commandline,
> unless you're hashing addresses (and even then...).  Or you can patch
> hashtab.c to force slot 0 independent of the hash.  That would be slow
> though. :-)

I might try something like that (or reducing the hash size at least).

One interesting problem I don't understand. Lets say we have a stmt "a
= b + c". We add it to the table and look for it *before* it is
modified. lookup_avail_expr will find it (as expected) and return its
LHS. Shouldn't we end up replacing "a = b + c" with the uninitialized
"a"? What prevents us from doing it? On trunk we don't call
lookup_avail_expr with the same stmt twice?

So hard to debug code I don't know how it is supposed to work :-(

>  Paolo
>

Cheers,
-- 
Rafael Avila de Espindola

Google Ireland Ltd.
Gordon House
Barrow Street
Dublin 4
Ireland

Registered in Dublin, Ireland
Registration Number: 368047


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