This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]