On Thu, 15 Dec 2011, Patrick Marlier wrote: > In PR51280, LTO does ICE because the object file uses TM builtin but the TM is > not enabled. > In the patch, it displays a error message if the builtin is not defined and > due to TM. > I moved is_tm_builtin() from calls.c to trans-mem.c. I splitted it into 2 > functions is_tm_builtin/is_tm_builtin_code. In is_tm_builtin_code, I added > some missing builtins (TM_START, TM_GETTMCLONE_SAFE, TM_MALLOC, TM_CALLOC, > TM_FREE). Finally, I declared them into tree.h to be usable in calls.c and > tree-streamer-in.c. > > Bootstrapped and LTO/TM regtested on Linux/i686. > (If ok, please commit it. Thanks.)
No - why should this matter? All of TM should be lowered to a point where only target specific code should be needed. Richard.