From: Michael Matz <matz@suse.de>
To: Martin Jambor <mjambor@suse.cz>
Cc: gcc-patches@gcc.gnu.org
Subject: Re: RFC: explicitely mark out-of-scope deaths
Date: Fri, 27 May 2011 13:24:00 -0000 [thread overview]
Message-ID: <Pine.LNX.4.64.1105271402270.9668@wotan.suse.de> (raw)
In-Reply-To: <20110526212142.GA17137@virgil.arch.suse.de>
Hi,
On Thu, 26 May 2011, Martin Jambor wrote:
> I assume DSE does not remove the stores as that would defeat the purpose
> of the patch.
Right. (The volatileness currently prevents the removal).
> If after optimizations such as SRA, these special stores are the only
> statements accessing the variable, will the variable still remain in the
> function potentially causing an unnecessary stack frame setup?
No, they will be removed once the last real reference to the variable goes
away (that's the code I added in remove_unused_locals). No need for
special casing this in SRA itself.
Ciao,
Michael.
next prev parent reply other threads:[~2011-05-27 12:04 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-26 14:30 Michael Matz
2011-05-26 15:07 ` Jakub Jelinek
2011-05-26 15:17 ` Richard Guenther
2011-05-26 17:38 ` Steven Bosscher
2011-05-27 15:44 ` Michael Matz
2011-05-27 15:49 ` Jakub Jelinek
2011-05-27 16:45 ` Michael Matz
2011-05-26 23:49 ` Martin Jambor
2011-05-27 13:24 ` Michael Matz [this message]
2011-06-01 9:25 ` Richard Sandiford
2011-06-01 9:44 ` Richard Guenther
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=Pine.LNX.4.64.1105271402270.9668@wotan.suse.de \
--to=matz@suse.de \
--cc=gcc-patches@gcc.gnu.org \
--cc=mjambor@suse.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).