[Bug c++/66832] [concepts] parameters in requires clauses conflicting with function arguments

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jul 10 22:46:00 GMT 2015


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66832

--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Jul 10 22:45:41 2015
New Revision: 225704

URL: https://gcc.gnu.org/viewcvs?rev=225704&root=gcc&view=rev
Log:
        PR c++/66758
        PR c++/66832
        * gcc/cp/parser.c (cp_parser_requires_expression): Call grokparms here.
        (cp_parser_requirement_parameter_list): Not here.

Added:
    branches/c++-concepts/gcc/testsuite/g++.dg/concepts/req15.C
Modified:
    branches/c++-concepts/ChangeLog.concepts
    branches/c++-concepts/gcc/cp/parser.c



More information about the Gcc-bugs mailing list