This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/77363] [5/6 Regression] Missing debug information in DWARF


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]