[Bug c/47492] [trans-mem] Problem with memset() inside transaction_safe function

patrick.marlier at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Jan 27 15:19:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47492

--- Comment #1 from Patrick Marlier <patrick.marlier at gmail dot com> 2011-01-27 15:10:18 UTC ---
Created attachment 23143
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23143
draft patch

This patch makes it work but:
(trans-mem.c) 
examine_call_tm(): I don't know if it is require to test for BUILT_IN_TM_MEMSET
because it is never reached.
expand_call_tm(): it is required to mark the transaction having transactional
stores but should it be also done for MEMCPY/MEMMOVE?



More information about the Gcc-bugs mailing list