On 01/10/19 19:59, John Snow wrote: > > it looked quite like --enable-sanitizers was indeed the same as > -fsanitize=undefined; or at least was a superset of such. > > I suppose the argument you're making here is that we *only* want ubsan > for test-clang? > > (I guess so, since test-debug also stipulates that clang be used; but > enables debug.) > > In this case, is there a use for test-clang at all, actually?
Yes, test-clang checks that clang-specific warnings do not fire. Enabling ubsan isn't particularly useful in this respect, but it's okay for me to keep it. Paolo