This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [trans-mem] handle hasNoAbort
On Fri, Jul 17, 2009 at 10:10:14AM -0700, Richard Henderson wrote:
> On 07/17/2009 10:03 AM, Aldy Hernandez wrote:
>> * gimple-pretty-print.c (dump_gimple_tm_atomic_subcode): New.
>> (dump_gimple_tm_atomic): Dump subcodes.
>> * trans-mem.c (is_tm_abort): New.
>> (examine_call_tm): Use is_tm_abort.
>> (expand_call_tm): Set GTMA_HAVE_ABORT.
>
> Ok, though,
>
>> +/* { dg-final { scan-tree-dump-times "instrumentedCode" 1 "tmedge" } } */
>
> This will match "uninstrumentedCode" as well.
Nice catch. Fixed and committed.
/* { dg-final { scan-tree-dump-times " instrumentedCode" 1 "tmedge" } } */