This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/33744] [4.1/4.2/4.3 regression] function-style cast and '>' not allowed in template argument
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Oct 2007 12:06:50 -0000
- Subject: [Bug c++/33744] [4.1/4.2/4.3 regression] function-style cast and '>' not allowed in template argument
- References: <bug-33744-28@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #8 from jakub at gcc dot gnu dot org 2007-10-26 12:06 -------
Subject: Bug 33744
Author: jakub
Date: Fri Oct 26 12:06:31 2007
New Revision: 129650
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129650
Log:
PR c++/33744
* parser.c (cp_parser_parenthesized_expression_list): Set
greater_than_is_operator_p to true in between the parens.
* g++.dg/template/arg6.C: New test.
Added:
branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/arg6.C
Modified:
branches/gcc-4_1-branch/gcc/cp/ChangeLog
branches/gcc-4_1-branch/gcc/cp/parser.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33744