This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Fix instantiation of transaction expressions.
- From: Richard Henderson <rth at redhat dot com>
- To: Torvald Riegel <triegel at redhat dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Aldy Hernandez <aldyh at redhat dot com>, Jason Merrill <jason at redhat dot com>
- Date: Mon, 21 Nov 2011 12:29:51 -0800
- Subject: Re: [patch] Fix instantiation of transaction expressions.
- References: <1321907100.12248.123.camel@triegel.csb>
On 11/21/2011 12:25 PM, Torvald Riegel wrote:
> gcc/cp/
> * pt.c (tsubst_copy_and_build): Handle TRANSACTION_EXPR.
Ok.
> +/* { dg-final { scan-tree-dump-times "ITM_RU4\\s*\\(&global" 2 "tmmark" } } */
This needs to cater to sizeof(int) != 4.
Why not just match "ITM_RU" and leave it at that?
r~