This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/77363] [5/6/7 Regression] Missing debug information in DWARF
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 30 Aug 2016 06:47:10 +0000
- Subject: [Bug c++/77363] [5/6/7 Regression] Missing debug information in DWARF
- Auto-submitted: auto-generated
- References: <bug-77363-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77363
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue Aug 30 06:46:38 2016
New Revision: 239855
URL: https://gcc.gnu.org/viewcvs?rev=239855&root=gcc&view=rev
Log:
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.
Added:
trunk/gcc/testsuite/g++.dg/debug/dwarf2/pr77363.C
Modified:
trunk/gcc/ChangeLog
trunk/gcc/dwarf2out.c
trunk/gcc/testsuite/ChangeLog