]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/c/c-typeck.c
re PR c/41842 (ICE on invalid variable length array declaration)
authorJakub Jelinek <jakub@redhat.com>
Tue, 27 Oct 2009 15:50:50 +0000 (16:50 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 27 Oct 2009 15:50:50 +0000 (16:50 +0100)
commit06302a02c05eeaeea9e8597dfc6ed3d0e0085357
tree522ccf534520423c5fa756e2c5fe5d52a6ed93a5
parentb57d8e6f0c9b54102f8c96798e652283ca603814
re PR c/41842 (ICE on invalid variable length array declaration)

PR c/41842
* c-typeck.c (convert_arguments): Return -1 if any of the arguments is
error_mark_node.

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

From-SVN: r153599
gcc/ChangeLog
gcc/c-typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr41842.c [new file with mode: 0644]