Comment by spullara 3 years ago Does the compiler know? If so, can't they have a flag that doesn't allow UB? 1 comment spullara Reply pca006132 3 years ago Doesn't allow optimization enabled by this specific UB: Yes Does't allow UB: Hard, because you probably need runtime checks.
pca006132 3 years ago Doesn't allow optimization enabled by this specific UB: Yes Does't allow UB: Hard, because you probably need runtime checks.
Doesn't allow optimization enabled by this specific UB: Yes Does't allow UB: Hard, because you probably need runtime checks.