https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77363

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Tue May 30 07:18:37 2017
New Revision: 248602

URL: https://gcc.gnu.org/viewcvs?rev=248602&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-5-branch/gcc/testsuite/g++.dg/debug/dwarf2/pr77363.C
Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/dwarf2out.c
    branches/gcc-5-branch/gcc/testsuite/ChangeLog

Reply via email to