OSDN Git Service

Fix instantiation of transaction expressions.
authortorvald <torvald@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 21 Nov 2011 22:29:13 +0000 (22:29 +0000)
committertorvald <torvald@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 21 Nov 2011 22:29:13 +0000 (22:29 +0000)
commite1beed70f0a662b3c5162bb34b7f3f032f339f81
treeb1e5db9e9613722a5e7222a83a30547c2fd967cd
parent2d171408c1652f80f20f8e4bf898cec6357a160f
Fix instantiation of transaction expressions.

gcc/cp/
* pt.c (tsubst_copy_and_build): Handle TRANSACTION_EXPR.

gcc/testsuite/
* g++.dg/tm/template-2.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181601 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/tm/template-2.C [new file with mode: 0644]