OSDN Git Service

* parser.c (cp_parser_direct_declarator): Always complain about
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 22 Feb 2005 21:43:55 +0000 (21:43 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 22 Feb 2005 21:43:55 +0000 (21:43 +0000)
commitd10f008b2c996f266b581bc8c4021a94a6b1bcc8
tree05b8ffe13e98f3d8142bddd8e3236b9f33c5ffc8
parentd4b2b23056acda2d8bf934d9178d5926743c4a2c
* parser.c (cp_parser_direct_declarator): Always complain about
non-constant array bounds when in a function scope.
* semantics.c (finish_id_expression): Do not mark dependent names
as non-constant.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95417 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/constant6.C [new file with mode: 0644]