re PR c/48517 (ICE in build_unary_op, at c-typeck.c:3786)
authorJakub Jelinek <jakub@gcc.gnu.org>
Tue, 12 Apr 2011 06:43:12 +0000 (08:43 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 12 Apr 2011 06:43:12 +0000 (08:43 +0200)
commite30ecc5d62d3fb4dcb02174702407799fb3f1c64
tree82fc95409c02251ff92e0134aaf36745e161820e
parentbae5cddff8b905bb49ed4e013e9756ebea13c099
re PR c/48517 (ICE in build_unary_op, at c-typeck.c:3786)

PR c/48517
* c-typeck.c (store_init_value): Set TREE_TYPE (decl) to
qualified type.

* gcc.c-torture/compile/pr48517.c: New test.

From-SVN: r172299
gcc/c-typeck.c
gcc/testsuite/gcc.c-torture/compile/pr48517.c [new file with mode: 0644]