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] Fix DECL_ABSTRACT_P/BLOCK_ABSTRACT handling in dwarf2out.c (PR middle-end/64937)


On Fri, Feb 06, 2015 at 09:44:40AM +0100, Richard Biener wrote:
> Looks good to me. I wonder if this will also help Aldyh...
> 
> I also wonder what it takes to make dwarf2out use DECL_ABSTRACT_P ||
> force_abstract with maintaining that new state and whether that would be
> both cheaper and cleaner?

I think that wouldn't be so easy, because we don't make DECL_ABSTRACT_P
all decls we see.  In particular we leave out e.g. externs, and handle
differently some non-localized vars. vs. local ones.  I think a global flag
couldn't handle this.

	Jakub


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