r238526 - in /branches/gcc-5-branch/gcc: cp/Cha...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Wed Jul 20 14:16:00 GMT 2016
Author: jakub
Date: Wed Jul 20 14:16:40 2016
New Revision: 238526
URL: https://gcc.gnu.org/viewcvs?rev=238526&root=gcc&view=rev
Log:
PR c++/71909
* parser.c (cp_parser_save_member_function_body): Consume
__transaction_relaxed or __transaction_atomic with optional
attribute. Only skip catch with block if try keyword is seen.
* g++.dg/parse/pr71909.C: New test.
* g++.dg/tm/pr71909.C: New test.
Added:
branches/gcc-5-branch/gcc/testsuite/g++.dg/parse/pr71909.C
branches/gcc-5-branch/gcc/testsuite/g++.dg/tm/pr71909.C
Modified:
branches/gcc-5-branch/gcc/cp/ChangeLog
branches/gcc-5-branch/gcc/cp/parser.c
branches/gcc-5-branch/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list