On Wed, Jan 21, 2015 at 12:17:51PM +0100, Bernd Edlinger wrote: > > test.c:3:6: internal compiler error: in expand_TSAN_FUNC_EXIT, at > > internal-fn.c:243 > > void step (int i) > > > It looks like your patches shot each other down.. > > How about this, maybe with a compile-time test of the step function in > c-c++common/tsan?
If you add a testcase for it, sure. It can be just compile time testcase, perhaps with some assembler match that no __tsan_ calls are made. Jakub