OSDN Git Service

Require parentheses when parsing transaction expressions.
authortorvald <torvald@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 15 Nov 2011 12:16:13 +0000 (12:16 +0000)
committertorvald <torvald@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 15 Nov 2011 12:16:13 +0000 (12:16 +0000)
commitbdd07b44ffe70f2d6f3c76b1563e7cb4f2c42336
tree7baa283db79257b474598846b79f119e071d5cc1
parent9a4a7de4de1472638826f908d37367dbfcd47cdf
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181383 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-parser.c
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/tm/trxn-expr-3.c [new file with mode: 0644]