Re: PR middle-end/51696: display indirect function calls properly for trans-mem

2012-01-03 Thread Richard Henderson
On 01/04/2012 08:19 AM, Aldy Hernandez wrote: > PR middle-end/51696 > * trans-mem.c (diagnose_tm_1): Display indirect calls with no name > correctly. Ok. r~

Re: PR middle-end/51696: display indirect function calls properly for trans-mem

2012-01-03 Thread Aldy Hernandez
On 01/03/12 14:01, Richard Henderson wrote: On 01/04/2012 04:18 AM, Aldy Hernandez wrote: PR middle-end/51696 * trans-mem.c (diagnose_tm_1): Display indirect calls with no name correctly. Ok. r~ Sorry for the noise, but I forgot to check that we actually have a DECL

Re: PR middle-end/51696: display indirect function calls properly for trans-mem

2012-01-03 Thread Richard Henderson
On 01/04/2012 04:18 AM, Aldy Hernandez wrote: > PR middle-end/51696 > * trans-mem.c (diagnose_tm_1): Display indirect calls with no name > correctly. Ok. r~

Re: PR middle-end/51696: display indirect function calls properly for trans-mem

2012-01-03 Thread Aldy Hernandez
On 01/03/12 11:04, Aldy Hernandez wrote: For the following testcase, we display indirect calls as memory addresses, which can confuse the user: struct list { void (*compare)(); } *listPtr; static void (*compare)(); __attribute__((transaction_safe)) static void func () { listPtr->compare(); /* ^^