The patch is for diagnostics only, the crucial part are the debug assertions enabled by the "--debug" configure option.