This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13736] [3.4/3.5 Regression] Parser confused on compound casts
- From: "cvs-commit at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 29 Jan 2004 01:34:06 -0000
- Subject: [Bug c++/13736] [3.4/3.5 Regression] Parser confused on compound casts
- References: <20040119091055.13736.jan@etpmod.phys.tue.nl>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-01-29 01:34 -------
Subject: Bug 13736
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_4-branch
Changes by: mmitchel@gcc.gnu.org 2004-01-29 01:33:55
Modified files:
gcc/testsuite : ChangeLog
gcc/cp : ChangeLog parser.c
Added files:
gcc/testsuite/g++.dg/parse: cast2.C
Log message:
PR c++/13736
* parser.c (cp_parser_direct_declarator): Do not prevent
backtracking inside a parenthesized declarator.
(cp_parser_parameter_declaration): Fix typo in comment.
2004-01-28 Mark Mitchell <mark@codesourcery.com>
PR c++/13736
* g++.dg/parse/cast2.C: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.3389.2.26&r2=1.3389.2.27
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/parse/cast2.C.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=NONE&r2=1.1.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.3892.2.18&r2=1.3892.2.19
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/parser.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.157.2.4&r2=1.157.2.5
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13736