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

--- Comment #8 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Sat Jul  2 10:22:11 2016
New Revision: 237940

URL: https://gcc.gnu.org/viewcvs?rev=237940&root=gcc&view=rev
Log:
        Backported from mainline
        2016-06-29  Jakub Jelinek  <ja...@redhat.com>

        PR c/71685
        * c-typeck.c (c_build_qualified_type): Don't clear
        C_TYPE_INCOMPLETE_VARS for the main variant.

        * gcc.dg/pr71685.c: New test.

Added:
    branches/gcc-6-branch/gcc/testsuite/gcc.dg/pr71685.c
Modified:
    branches/gcc-6-branch/gcc/c/ChangeLog
    branches/gcc-6-branch/gcc/c/c-typeck.c
    branches/gcc-6-branch/gcc/testsuite/ChangeLog

Reply via email to