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: [PATCH] Combine location with block using block_locations


Hi,

On Wed, 12 Sep 2012, Richard Guenther wrote:

> >> It hides a bug.  If we replace anything in BLOCK_VARS then the risk 
> >> is that you generate an infinite chain in some BLOCK_VARS list and 
> >> thus get infinite loops somewhere in the compiler.
> >
> > That's what I said for using SET_PREVAIL.  But his hack would 
> > specifically not replace anything in TREE_CHAIN (and hence 
> > BLOCK_VARS), and indeed not check anything either.
> 
> Hm, but we shouldn't end up streaming any BLOCKs at this point (nor 
> local TYPE_DECLs).  Those are supposed to be in the local function 
> sections only where no fixup for prevailing decls happens.

That's true, something is fishy with the patch, will try to investigate.


Ciao,
Michael.


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