OSDN Git Service

PR c++/41185
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 Mar 2010 21:19:23 +0000 (21:19 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 00:39:39 +0000 (09:39 +0900)
commit200d31d8c67ce8685881064df936eeacfc270a79
tree54752e2d262552ed9d09742c5faea381254cc066
parent01f6494a62db8c5edd4f1b4126795bc1198b7ec5
PR c++/41185
PR c++/41786
* parser.c (cp_parser_direct_declarator): Don't allow VLAs in
function parameter context.  Don't print an error if parsing
tentatively.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157838 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/testsuite/ChangeLog