re PR c++/79129 (ICE with -fdebug-types-section starting with r240578)
authorJakub Jelinek <jakub@redhat.com>
Thu, 26 Jan 2017 21:45:57 +0000 (22:45 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 26 Jan 2017 21:45:57 +0000 (22:45 +0100)
commitb0670cc0eb260ce182c7eb2c0b25bcc0b59a0e68
tree7847f74b9e981fab439502e6718fdac6e5b14fce
parentf7c06c0f9955a6d12dd7eaef040de563fe279166
re PR c++/79129 (ICE with -fdebug-types-section starting with r240578)

PR debug/79129
* dwarf2out.c (generate_skeleton_bottom_up): For children with
comdat_type_p set, just clone them, but keep the children in the
original DIE.

* g++.dg/debug/dwarf2/pr79129.C: New test.

From-SVN: r244955
gcc/ChangeLog
gcc/dwarf2out.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/debug/dwarf2/pr79129.C [new file with mode: 0644]