[Bug c++/56419] [4.8 regression] transactions in for-loops disappear

aldyh at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Feb 26 12:41:00 GMT 2013


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



More information about the Gcc-bugs mailing list