re PR debug/86452 (ICE in force_decl_die, at dwarf2out.c:25922 with -g1 and -flto)
authorRichard Biener <rguenther@suse.de>
Fri, 13 Jul 2018 06:42:31 +0000 (06:42 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 13 Jul 2018 06:42:31 +0000 (06:42 +0000)
commit77e61ab00f9d1731d94ad6595d86153afdb31604
treeadde20afa92bb63b633602bb87bc2e40194d66c7
parent061d40da00952fe7eabd8faae60e3cc4ac8f734a
re PR debug/86452 (ICE in force_decl_die, at dwarf2out.c:25922 with -g1 and -flto)

2018-07-13  Richard Biener  <rguenther@suse.de>

PR debug/86452
* dwarf2out.c (gen_type_die_with_usage): Use scope_die_for
instead of get_context_die.

From-SVN: r262624
gcc/ChangeLog
gcc/dwarf2out.c