aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-nested.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2016-07-20 16:01:30 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2016-07-20 16:01:30 +0200
commit7419f4417a33ff9143317794aa985f7681d1e2a0 (patch)
tree1d243343f1193d9977b24d69c9e1935d177ad3d1 /gcc/tree-nested.c
parent109d2197c31b766daf9c7b138bc7eeaab12985df (diff)
downloadgcc-7419f4417a33ff9143317794aa985f7681d1e2a0.zip
gcc-7419f4417a33ff9143317794aa985f7681d1e2a0.tar.gz
gcc-7419f4417a33ff9143317794aa985f7681d1e2a0.tar.bz2
re PR c++/71909 (g++ accepts an unreachable function catch block that lacks a corresponding try)
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. From-SVN: r238521
Diffstat (limited to 'gcc/tree-nested.c')
0 files changed, 0 insertions, 0 deletions