PR c/71685
commit1af10ce61581da013e18c837cd28acd1633b6d05
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 28 Jun 2016 22:30:04 +0000 (28 22:30 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 28 Jun 2016 22:30:04 +0000 (28 22:30 +0000)
tree9ddf6cd1a227be492c1b734b48f3406bb3928f71
parent9c3ffbcb7d175da5b6f250e292051e9ad2f0f9b2
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@237830 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/c/ChangeLog
gcc/c/c-typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr71685.c [new file with mode: 0644]