Is there any way I can explicitly use the transactional version of malloc/free provided by the compiler? Because I find that the compiler won't automatically apply these functions if I use '-g', even if they are used inside a transaction.
If you use the -fbuiltin (Linux) /Oi (Windows) compile flags along with -g then the compiler will continue to recognise the transactional versions of malloc,free etc.
HTH
Jim Cownie
(Intel Performance, Analysis and Threading Lab)