From: Richard Biener <rguenther@suse.de>
To: Jan Hubicka <hubicka@ucw.cz>
Cc: "H.J. Lu" <hjl.tools@gmail.com>, GCC Patches <gcc-patches@gcc.gnu.org>
Subject: Re: Add DSE to early passes
Date: Wed, 22 Apr 2015 12:27:00 -0000 [thread overview]
Message-ID: <alpine.LSU.2.11.1504221425230.20496@zhemvz.fhfr.qr> (raw)
In-Reply-To: <20150422121749.GB76372@kam.mff.cuni.cz>
On Wed, 22 Apr 2015, Jan Hubicka wrote:
> > > @@ -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?
Well, it verifies that (part) of the desired optimization happens.
I can't see what should be target dependent here though.
Richard.
prev parent reply other threads:[~2015-04-22 12:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-13 10:01 Jan Hubicka
2015-04-13 12:12 ` Richard Biener
2015-04-22 12:13 ` H.J. Lu
2015-04-22 12:17 ` Jan Hubicka
2015-04-22 12:27 ` Richard Biener [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.LSU.2.11.1504221425230.20496@zhemvz.fhfr.qr \
--to=rguenther@suse.de \
--cc=gcc-patches@gcc.gnu.org \
--cc=hjl.tools@gmail.com \
--cc=hubicka@ucw.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).