Re: [patch] PR middle-end/55401: uninstrument relevant path in TM clone

2012-11-29 Thread Richard Henderson
On 2012-11-28 17:05, Aldy Hernandez wrote: > Author: Aldy Hernandez > Date: Wed Nov 28 18:17:33 2012 -0600 > > PR middle-end/55401 > * trans-mem.c (get_tm_region_blocks): Exclude uninstrumented > blocks from vector if requested. > (collect_bb2reg): Pass new argument to >

[patch] PR middle-end/55401: uninstrument relevant path in TM clone

2012-11-28 Thread Aldy Hernandez
In this testcase: __attribute__((transaction_callable)) void q1() { ringo=666; __transaction_atomic { george=999; } } ...the clone for q1() ends up with instrumented code on both pathways: : _12 = tm_state.5_11 & 2; if (_12 != 0) goto ; else goto ; : _13 = 999;