3 ms·
You shouldn't even need compiler builtins, just perform undefined behavior on a branch: if ((uintptr_t)ptr & alignment) { char *p = NULL; printf(
by saagarjha 7y ago
You shouldn't even need compiler builtins, just perform undefined behavior on a branch:
if ((uintptr_t)ptr & alignment) {
char *p = NULL;
printf("%c\n", *p);
}