re PR c++/58516 (ICE with __transaction_atomic)
commit550dfe7f28a031f5ffe59c423c7790d219414ff6
authorMarek Polacek <mpolacek@gcc.gnu.org>
Wed, 25 Sep 2013 07:48:47 +0000 (25 07:48 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Wed, 25 Sep 2013 07:48:47 +0000 (25 07:48 +0000)
tree4cf8e83b7c042a6b7a6eba0f1e6ae6fb83762c51
parent28d18db363050e2e8122d202cd59d131a3ffa167
re PR c++/58516 (ICE with __transaction_atomic)

PR c++/58516
cp/
* semantics.c (finish_transaction_stmt): Check for EXPR_P before
setting the expr location.

testsuite/
* g++.dg/tm/pr58516.C: New test.

From-SVN: r202883
gcc/cp/ChangeLog
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/tm/pr58516.C [new file with mode: 0644]