@barubary @mirabilos yes, I think that was more or less what I did, although I might have been on the ball enough to avoid leaving the if unbalanced:
# define since(condition) if (assert(condition), 0); else
But I didn't have to go as far as the alternative technique I invented much later, which would have looked something like this:
# define since(condition) \
if (1) { \
assert(condition); \
goto MAKE_LABEL; \
} else \
MAKE_LABEL:
where MAKE_LABEL in turn creates a label name by token-pasting on to __LINE__, so that you can do this more than once in a function without getting duplicate label errors.
(Doing it this way you wouldn't be allowed to write more than one 'since' on the same source line. Probably nobody cares, but it is a weakness of this technique in principle. The simpler approach with the comma operator is better, in cases where it works.)