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

--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Author: mpolacek
Date: Mon Jun 17 18:26:07 2019
New Revision: 272395

URL: https://gcc.gnu.org/viewcvs?rev=272395&root=gcc&view=rev
Log:
        PR c++/83820 - excessive attribute arguments not detected.
        * parser.c (cp_parser_std_attribute): Detect excessive arguments.

        * g++.dg/cpp0x/gen-attrs-67.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/gen-attrs-67.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to