]> git.ipfire.org Git - thirdparty/gcc.git/commit
PR c++/83820 - excessive attribute arguments not detected.
authormpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 17 Jun 2019 18:26:07 +0000 (18:26 +0000)
committermpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 17 Jun 2019 18:26:07 +0000 (18:26 +0000)
commitb4b221d8eb97e2a1cc7409eb6d4162b7e7dd00b5
tree1c6bfeed0fb062867b62eece6c2d3cc9b4605b54
parent8a80c5c7319cd3c2d43457d7a3fbdd9fc2712e03
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@272395 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/gen-attrs-67.C [new file with mode: 0644]