[trans-mem] RFC Fix missing REG_TM notes

Patrick Marlier patrick.marlier@gmail.com
Mon Jan 9 21:04:00 GMT 2012


In trans-mem.c:make_tm_edge, it gets the slot for insertion but it 
doesn't set it. Fixing this makes cfgexpand.c: 
mark_transaction_restart_calls fails because sometimes the instruction 
is not found. In the attached patch, I just ignore if insn is NULL but 
do you have an idea why this happens?

On my side, I was able to fix the problem with genome but the patch is 
not clean at all and I need to find exactly where and why the problem 
was fixed.

Thanks!
--
Patrick Marlier.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tm-reg-note-fix.patch
Type: text/x-patch
Size: 1219 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc/attachments/20120109/82cb278d/attachment.bin>


More information about the Gcc mailing list