Fix for ICE with -g on testcase with incomplete types.
commite922069e4f3e5dfadb59f641db6786feff9c6047
authorJim Wilson <jim.wilson@linaro.org>
Wed, 28 Oct 2015 20:02:01 +0000 (28 20:02 +0000)
committerJim Wilson <wilson@gcc.gnu.org>
Wed, 28 Oct 2015 20:02:01 +0000 (28 13:02 -0700)
tree23d238e1d6b8f3b3e2be57ce8a27c84536c31705
parent08585fba891c73790a3a4354bc26f0fe02be4d9c
Fix for ICE with -g on testcase with incomplete types.

gcc/c/
PR debug/66068
* c-typeck.c (c_build_qualified_type): Clear C_TYPE_INCOMPLETE_VARS
after calling build_qualified_type.
gcc/testsuite/
PR debug/66068
* gcc.dg/debug/pr66068.c: New test.

From-SVN: r229505
gcc/c/ChangeLog
gcc/c/c-typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/debug/pr66068.c [new file with mode: 0644]