This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/34176] [4.3 Regression] SCCVN breaks gettext
- From: "dberlin at dberlin dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Nov 2007 23:02:27 -0000
- Subject: [Bug tree-optimization/34176] [4.3 Regression] SCCVN breaks gettext
- References: <bug-34176-10053@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #18 from dberlin at gcc dot gnu dot org 2007-11-22 23:02 -------
Subject: Re: [4.3 Regression] SCCVN breaks gettext
On 22 Nov 2007 22:51:12 -0000, matz at gcc dot gnu dot org
<gcc-bugzilla@gcc.gnu.org> wrote:
>
>
> ------- Comment #17 from matz at gcc dot gnu dot org 2007-11-22 22:51 -------
> We could also save the deletes by using a tick counter, but with that patch
> the hash tables will be mostly small anyway, so emptying them should be fast
> enough I hope. And of course we won't get as optimal results as the RPO
> algorithm from the paper, no idea if that's possible without having this
> bug.
>
As long as we fallback to querying the valid table, we should get as
optimal results (because by the time it is deleted the results will
have been entered in the valid table as the RPO algorithm would have.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34176