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

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
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

Reply via email to