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  <ja...@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

Reply via email to