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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Jun 25 17:08:02 2018
New Revision: 262050

URL: https://gcc.gnu.org/viewcvs?rev=262050&root=gcc&view=rev
Log:
        Backported from mainline
        2017-12-22  Jakub Jelinek  <ja...@redhat.com>

        PR debug/83550
        * c-decl.c (finish_struct): Set DECL_SOURCE_LOCATION on
        TYPE_STUB_DECL and call rest_of_type_compilation before processing
        incomplete vars rather than after it.

        * c-c++-common/dwarf2/pr83550.c: New test.

Added:
    branches/gcc-6-branch/gcc/testsuite/c-c++-common/dwarf2/pr83550.c
Modified:
    branches/gcc-6-branch/gcc/c/ChangeLog
    branches/gcc-6-branch/gcc/c/c-decl.c
    branches/gcc-6-branch/gcc/testsuite/ChangeLog

Reply via email to