http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47492
Summary: problem with memset() inside transaction_safe function Product: gcc Version: trans-mem Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassig...@gcc.gnu.org ReportedBy: vasilis.karakos...@bsc.es CC: al...@redhat.com, javier.ar...@bsc.es, patrick.marl...@gmail.com Created attachment 23141 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23141 testcase When I call memset() function from an __attribute__((transaction_safe)) function, I get compilation error. testcase.c:10:2: error: unsafe function call 'memset' within 'transaction_safe' function According to Intel TM ABI, the memset() function is managed by the compiler and it should be automatically transformed to be transaction safe. I have attached an example.