This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [varmap] Fix some inlining glitches


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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]