http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56330
--- Comment #5 from Dodji Seketeli <dodji at gcc dot gnu.org> 2013-02-15 19:46:44 UTC --- Created attachment 29477 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29477 Updated patch with cleanups explained in the ChangeLog Thanks! I have updated the patch to simplify the logic in instrument_mem_region_access somewhat, especially the part that does the statement iterator decrementing dance. I have also added more regression tests. What do you think?