re PR lto/81940 (internal compiler error: in dwarf2out_abstract_function, at dwarf2ou...
authorRichard Biener <rguenther@suse.de>
Wed, 23 Aug 2017 12:11:03 +0000 (12:11 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 23 Aug 2017 12:11:03 +0000 (12:11 +0000)
commit3767b2e4bebebeac612cc4c3210b43c31786a956
treed4c0fd318a7d0cff565706b1f9f95026d0f78052
parentc37691e5cd4c354951282777502d3f23e191b977
re PR lto/81940 (internal compiler error: in dwarf2out_abstract_function, at dwarf2out.c:21613)

2017-08-23  Richard Biener  <rguenther@suse.de>

PR lto/81940
* dwarf2out.c (dwarf2out_abstract_function): Handle LTO with
-g0 at compile-time.

* g++.dg/lto/pr81940_0.C: New testcase.

From-SVN: r251306
gcc/ChangeLog
gcc/dwarf2out.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/lto/pr81940_0.C [new file with mode: 0644]