This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/77363] [5/6 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: Thu, 01 Sep 2016 11:43:46 +0000
- Subject: [Bug c++/77363] [5/6 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 #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Sep 1 11:43:15 2016
New Revision: 239930
URL: https://gcc.gnu.org/viewcvs?rev=239930&root=gcc&view=rev
Log:
Backported from mainline
2016-08-30 Jakub Jelinek <jakub@redhat.com>
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:
branches/gcc-6-branch/gcc/testsuite/g++.dg/debug/dwarf2/pr77363.C
Modified:
branches/gcc-6-branch/gcc/ChangeLog
branches/gcc-6-branch/gcc/dwarf2out.c
branches/gcc-6-branch/gcc/testsuite/ChangeLog