This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Add DSE to early passes
- From: Jan Hubicka <hubicka at ucw dot cz>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: Jan Hubicka <hubicka at ucw dot cz>, Richard Guenther <rguenther at suse dot de>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 22 Apr 2015 14:17:49 +0200
- Subject: Re: Add DSE to early passes
- Authentication-results: sourceware.org; auth=none
- References: <20150413100117 dot GA61490 at kam dot mff dot cuni dot cz> <CAMe9rOqmrsr_Wq=vAZtXC0Q_1JAVT5ofBz0=ENPSUDqFGL8fug at mail dot gmail dot com>
> > @@ -42,6 +42,6 @@ bool f(I a, I b, I c, I d) {
> > // This works only if everything is inlined into 'f'.
> >
> > // { dg-final { scan-tree-dump-times ";; Function" 1 "fre2" } }
> > -// { dg-final { scan-tree-dump-times "free" 19 "fre2" } }
> > +// { dg-final { scan-tree-dump-times "free" 18 "fre2" } }
> > // { dg-final { scan-tree-dump-times "unreachable" 11 "fre2" } }
> > // { dg-final { cleanup-tree-dump "fre2" } }
>
> I got
>
> FAIL: g++.dg/tree-ssa/pr61034.C -std=gnu++11 scan-tree-dump-times
> fre2 "free" 18
> FAIL: g++.dg/tree-ssa/pr61034.C -std=gnu++14 scan-tree-dump-times
> fre2 "free" 18
> FAIL: g++.dg/tree-ssa/pr61034.C -std=gnu++98 scan-tree-dump-times
> fre2 "free" 18
>
> on Linux/x86.
Hmm, I tested on pcc64, but now I see the same failure on x86-64.
Perhaps this testcase became target sensitive?
Richard, does the count really matter?
Honza