diff options
author | Torvald Riegel <triegel@redhat.com> | 2011-11-15 12:16:13 +0000 |
---|---|---|
committer | Torvald Riegel <torvald@gcc.gnu.org> | 2011-11-15 12:16:13 +0000 |
commit | 69b765189a3dd5f235c2711d0908bad331ce40b7 (patch) | |
tree | 7baa283db79257b474598846b79f119e071d5cc1 /gcc/function.c | |
parent | 402356d1466804239212e0fec68d3753114d0cfe (diff) | |
download | gcc-69b765189a3dd5f235c2711d0908bad331ce40b7.zip gcc-69b765189a3dd5f235c2711d0908bad331ce40b7.tar.gz gcc-69b765189a3dd5f235c2711d0908bad331ce40b7.tar.bz2 |
Require parentheses when parsing transaction expressions.
gcc/
* c-parser.c (c_parser_transaction_expression): Require parentheses
when parsing transaction expressions.
gcc/cp/
* parser.c (cp_parser_transaction_expression): Require parentheses
when parsing transaction expressions.
gcc/testsuite/
* c-c++-common/tm/trxn-expr-3.c: New test.
From-SVN: r181383
Diffstat (limited to 'gcc/function.c')
0 files changed, 0 insertions, 0 deletions