Some CPUs perform addition in different ways, therefore in order for c to be efficient it left some behaviour undefined, which the compiler is required to document.
undefined behaviour should be avoided at all costs 99.99% of the time. There isn’t a predictable way the code will run.