]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/c/c-typeck.c
re PR c/27718 (ICE with sizeof of incomplete type)
authorVolker Reichelt <reichelt@igpm.rwth-aachen.de>
Tue, 30 May 2006 13:33:17 +0000 (13:33 +0000)
committerVolker Reichelt <reichelt@gcc.gnu.org>
Tue, 30 May 2006 13:33:17 +0000 (13:33 +0000)
commit16464cc1bba0fd0befabcb90bad7d28b3e229c93
treee7c9695a52b0a71525c8ba2bc639cee7578958bc
parentd91d2db759502aceabdc93e0fb0f5c02370953aa
re PR c/27718 (ICE with sizeof of incomplete type)

PR c/27718
* c-typeck.c (c_expr_sizeof_type): Handle invalid types.

* gcc.dg/sizeof-1.c: New test.

From-SVN: r114234
gcc/ChangeLog
gcc/c-typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/sizeof-1.c [new file with mode: 0644]