4 ms·
It is completely useless to allow compilers to assume false things about the code they generate.
by vyodaiken 5y ago
It is completely useless to allow compilers to assume false things about the code they generate.
- fooker 5y agoIt’s not useless. The assumption is not false if the program doesn’t have undefined behavior. The assumption allows the code to be a few times faster. To disallow this assumption would inhibit these optimizations.