[Bug c++/33744] [4.1/4.2/4.3 regression] function-style cast and '>' not allowed in template argument

jakub at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Oct 26 12:05:00 GMT 2007



------- Comment #7 from jakub at gcc dot gnu dot org  2007-10-26 12:05 -------
Subject: Bug 33744

Author: jakub
Date: Fri Oct 26 12:04:57 2007
New Revision: 129649

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129649
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_2-branch/gcc/testsuite/g++.dg/template/arg6.C
Modified:
    branches/gcc-4_2-branch/gcc/cp/ChangeLog
    branches/gcc-4_2-branch/gcc/cp/parser.c
    branches/gcc-4_2-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33744



More information about the Gcc-bugs mailing list