http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53850
Patrick Marlier <patrick.marlier at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |aldyh at gcc dot gnu.org,
| |patrick.marlier at gmail
| |dot com
--- Comment #1 from Patrick Marlier <patrick.marlier at gmail dot com>
2012-08-20 20:27:18 UTC ---
expand_call_tm fails because the memset builtin has no node associated to the
decl.
The problem here is that between tmipa and tmmark passes, some stores are
replaced by a memset. However tmipa is supposed to transform the memset builtin
to TM-aware memset (_ITM_memsetW).
The solution I see is to postpone transformation of these builtins in tmmark
pass.