This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Fix instantiation of transaction expressions.


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]