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

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Tue Jan  7 01:02:06 2020
New Revision: 279935

URL: https://gcc.gnu.org/viewcvs?rev=279935&root=gcc&view=rev
Log:
PR c++/92739 - parsing requires clause with attributes.

gcc/cp/
        * parser.c (cp_parser_constraint_requires_parens): Exclude
        attributes as postfix expressions.

gcc/testsuite/
        * g++.dg/concepts-pr92739.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp2a/concepts-attrib1.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c

Reply via email to