This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/56419] [4.8 regression] transactions in for-loops disappear
- From: "aldyh at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 26 Feb 2013 12:40:36 +0000
- Subject: [Bug c++/56419] [4.8 regression] transactions in for-loops disappear
- Auto-submitted: auto-generated
- References: <bug-56419-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56419
--- Comment #4 from Aldy Hernandez <aldyh at gcc dot gnu.org> 2013-02-26 12:40:36 UTC ---
Author: aldyh
Date: Tue Feb 26 12:40:27 2013
New Revision: 196282
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=196282
Log:
PR c++/56419
* semantics.c (begin_transaction_stmt): Set TREE_SIDE_EFFECTS.
(build_transaction_expr): Same.
Added:
trunk/gcc/testsuite/g++.dg/tm/pr56419.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/semantics.c