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