https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70271
--- Comment #2 from Matthias Hochsteger <matthias.hochsteger at tuwien dot ac.at> --- Looks like the following commit introduced this behavior: commit b309adc8ef90cd7c7ecc46124707a51a53cfb205 Author: rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Fri Sep 18 12:59:32 2015 +0000 2015-09-18 Richard Biener <rguent...@suse.de> * dwarf2out.c (append_entry_to_tmpl_value_parm_die_table): Assert we're in early phase. (schedule_generic_params_dies_gen): Likewise. (gen_remaining_tmpl_value_param_die_attribute): Do only as much work as possible, retaining unhandled cases. (gen_scheduled_generic_parms_dies): Set early-dwarf flag and clear out generic_type_instances at the end. (dwarf2out_finish): Move call to gen_scheduled_generic_parms_dies... (dwarf2out_early_finish): ... here. Do most of gen_remaining_tmpl_value_param_die_attribute here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227905 138bc75d-0d04-0410-961f-82ee72b054a4