Does anybody think
if (false) foo = pointer - NULL;
triggers UB in C, because pointer and NULL don't point into the same array object?
My read of 6.5.6 9) in C17 doesn't support that it is UB.
Debating that in the context of a - IMO spurious - clang warning.
Conversation
Afaict it'd basically break the world if it were UB.
1
1

