re PR c++/77363 (Missing debug information in DWARF)
authorJakub Jelinek <jakub@redhat.com>
Tue, 30 Aug 2016 06:46:38 +0000 (08:46 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 30 Aug 2016 06:46:38 +0000 (08:46 +0200)
commit3754bbfc36b1650ab47e22446af664ecab5bbf2d
treea0e7f278cae0d0c4dfde57bf365e80bd4fc462fd
parent26122e2d8a1aa5e8ea91f7df94513cde1e2de509
re PR c++/77363 (Missing debug information in DWARF)

PR debug/77363
* dwarf2out.c (modified_type_die): Use lookup_type_die (type)
instead of lookup_type_die (type_main_variant (type)) even for array
types.

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

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