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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Dec 22 18:04:18 2017
New Revision: 255981

URL: https://gcc.gnu.org/viewcvs?rev=255981&root=gcc&view=rev
Log:
        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:
    trunk/gcc/testsuite/c-c++-common/dwarf2/pr83550.c
Modified:
    trunk/gcc/c-family/ChangeLog
    trunk/gcc/c/ChangeLog
    trunk/gcc/c/c-decl.c
    trunk/gcc/cp/ChangeLog
    trunk/gcc/testsuite/ChangeLog

Reply via email to