On Thu, Feb 19, 2015 at 01:48:58PM +0100, Jakub Jelinek wrote: > On Thu, Feb 19, 2015 at 01:41:05PM +0100, Richard Biener wrote: > > I hope we can get rid of this again (which needs re-writing of all > > targets va-arg gimplification hooks... - we are in need of some > > generic diamond/triangle CFG pattern builders anyway). > > We already have some in asan.c - create_cond_insert_point - perhaps > it isn't best named and could use some changes to be generally usable.
Yeah, create_cond_insert_point is used in ubsan.c many times, and there's nothing *san specific in it. Marek