This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [varmap] Fix some inlining glitches
- From: Michael Matz <matz at suse dot de>
- To: Mark Mitchell <mark at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 5 Jun 2008 14:59:46 +0200 (CEST)
- Subject: Re: [varmap] Fix some inlining glitches
- References: <Pine.LNX.4.64.0805292153380.9055@wotan.suse.de> <4846D195.1090407@codesourcery.com>
Hi,
On Wed, 4 Jun 2008, Mark Mitchell wrote:
> Michael Matz wrote:
>
> > * tree-ssa-live.c (remove_unused_scope_block_p): Preserve
> > some more scopes.
>
> This may be a wrong-headed comment; feel free to ignore...
>
> I just wanted to check that this wouldn't change code depending on whether -g
> is present or not. (In particular, we want the same code for "-g -O0" and
> "-O0", or for "-g -O2" and "-O2".) I wasn't sure if DECL_NOGC_P would be set
> differently depending on debugging, but the comment:
>
> + /* Preserve block scopes of decls we want to preserve for
> + debugging purposes. */
>
> suggested that to me.
DECL_NOGC_P ist set independend of -g. But this particular thing needs to
be revisited anyway as trunk had some improvements in removing
unused scopes that aren't on the branch.
Ciao,
Michael.
(and thanks for the heads-up regarding the comments)