On Aug 22, 2016, Richard Biener <richard.guent...@gmail.com> wrote: > Just throwing in a wrench from the side ... you should do this in > dwarf2out_early_finish as late there will be no frontend around anymore.
Thanks for the heads up, I've adjusted my local copy to do so. > Yeah, prune_unused_types is still done in dwarf2out_finish on trunk That doesn't matter much, the DW_TAG_friend pruning doesn't look at the types, only the class_types_with_friends users did, and those run much earlier (now at dwarf2out_early_finish too). -- Alexandre Oliva, freedom fighter http://FSFLA.org/~lxoliva/ You must be the change you wish to see in the world. -- Gandhi Be Free! -- http://FSFLA.org/ FSF Latin America board member Free Software Evangelist|Red Hat Brasil GNU Toolchain Engineer