This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/8856] [3.3/3.4 regression] g++ accepts invalid conversion-function-id
- 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: 15 Jan 2004 01:40:10 -0000
- Subject: [Bug c++/8856] [3.3/3.4 regression] g++ accepts invalid conversion-function-id
- References: <20021207033601.8856.loewis@informatik.hu-berlin.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-01-15 01:40 -------
Subject: Bug 8856
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: giovannibajo@gcc.gnu.org 2004-01-15 01:40:00
Modified files:
gcc/cp : ChangeLog parser.c
Log message:
PR c++/8856
* parser.c (cp_parser_template_name): Don't try to parse a
conversion-function-id, as it cannot be a template-name.
(cp_parser_simple_type_specifier): Check for invalid template-ids
even after a built-in type.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.3880&r2=1.3881
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/parser.c.diff?cvsroot=gcc&r1=1.154&r2=1.155
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8856