[Bug c++/41786] [4.4/4.5 regression] misparsing an object declaration - parameter may not have variably modified type
--- Comment #4 from jason at gcc dot gnu dot org 2010-03-30 21:19 --- Subject: Bug 41786 Author: jason Date: Tue Mar 30 21:19:23 2010 New Revision: 157838 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=157838 Log: 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. Added: trunk/gcc/testsuite/g++.dg/parse/ambig5.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/parser.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/g++.dg/parse/varmod1.C -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41786
[Bug c++/41786] [4.4/4.5 regression] misparsing an object declaration - parameter may not have variably modified type
--- Comment #5 from jason at gcc dot gnu dot org 2010-03-30 21:21 --- Subject: Bug 41786 Author: jason Date: Tue Mar 30 21:20:58 2010 New Revision: 157839 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=157839 Log: 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. Added: branches/gcc-4_4-branch/gcc/testsuite/g++.dg/parse/ambig5.C Modified: branches/gcc-4_4-branch/gcc/cp/ChangeLog branches/gcc-4_4-branch/gcc/cp/parser.c branches/gcc-4_4-branch/gcc/testsuite/ChangeLog branches/gcc-4_4-branch/gcc/testsuite/g++.dg/parse/varmod1.C -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41786
[Bug c++/41786] [4.4/4.5 regression] misparsing an object declaration - parameter may not have variably modified type
--- Comment #6 from jason at gcc dot gnu dot org 2010-03-30 21:22 --- Fixed for 4.4.4 and 4.5.0. -- jason at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41786
[Bug c++/41786] [4.4/4.5 regression] misparsing an object declaration - parameter may not have variably modified type
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Known to fail||4.4.3 Known to work||4.3.4 Priority|P3 |P2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41786
[Bug c++/41786] [4.4/4.5 regression] misparsing an object declaration - parameter may not have variably modified type
--- Comment #3 from jason at gcc dot gnu dot org 2010-03-09 22:32 --- I agree with James Kanze's analysis. -- jason at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords||rejects-valid Last reconfirmed|-00-00 00:00:00 |2010-03-09 22:32:49 date|| Summary|misparsing an object|[4.4/4.5 regression] |declaration - parameter may |misparsing an object |not have variably modified |declaration - parameter may |type|not have variably modified ||type http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41786
[Bug c++/41786] [4.4/4.5 regression] misparsing an object declaration - parameter may not have variably modified type
-- jason at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org |dot org | Status|NEW |ASSIGNED Last reconfirmed|2010-03-09 22:32:49 |2010-03-09 22:33:00 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41786
[Bug c++/41786] [4.4/4.5 regression] misparsing an object declaration - parameter may not have variably modified type
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.4.4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41786